/* ==========================================================================
   HIVEX — "Gilded Graphite" design system
   One file, organised by section:
   01 Tokens · 02 Base · 03 Layout · 04 Type · 05 Buttons · 06 Forms
   07 Badges & chips · 08 Cards · 09 Navigation (header, mega, drawer, footer)
   10 Overlays (modal, toast, dropdown, palette, lightbox, tooltip)
   11 Data (tables, stats, charts, ring, checklist, empty, skeleton, stepper)
   12 Pages (home, catalog, factory, product, industries, auth, dashboard, errors)
   13 Motion & utilities
   Rule of the system: gold = value & action, chrome = structure.
   ========================================================================== */

/* 01 · TOKENS ------------------------------------------------------------- */
:root {
  /* metals & grounds */
  --graphite: #0A0D12;
  --slate: #111824;
  --navy: #1A2533;
  --panel: #18212E;
  --hair-d: rgba(255, 255, 255, .08);
  --hair-d2: rgba(255, 255, 255, .14);
  --porcelain: #F6F5F1;
  --porcelain-2: #EFEDE6;
  --paper: #FFFFFF;
  --hair: #E6E3DA;
  --hair-2: #D6D2C6;
  --ink: #11151B;
  --ink-2: #2A313B;
  --muted: #5B6370;
  --muted-2: #767E8A;
  --on-dark: #EEF0F2;
  --on-dark-2: #B4BBC6;
  --on-dark-3: #8D96A3;
  --gold: #F2B705;
  --gold-hi: #FFD84D;
  --gold-deep: #8A5A00;
  --gold-ink: #1C1503;
  --gold-soft: #FFF5D1;
  --gold-wash: rgba(242, 183, 5, .12);
  --chrome: #C9CED6;
  --success: #1F9D6B;
  --success-soft: #E3F5EC;
  --warning: #C77700;
  --warning-soft: #FDF1DE;
  --danger: #D2463A;
  --danger-soft: #FCE9E6;
  --info: #2F6FDE;
  --info-soft: #E6EEFC;

  --grad-gold: linear-gradient(180deg, #FFE36A 0%, #F6C21C 42%, #E3A400 100%);
  --grad-gold-x: linear-gradient(90deg, #B8790A 0%, #FFE04A 52%, #C98A0B 100%);
  --grad-chrome: linear-gradient(180deg, #FFFFFF 0%, #DDE1E6 55%, #A9B0BA 100%);
  --grad-dark: radial-gradient(1200px 600px at 85% -10%, rgba(242, 183, 5, .16), transparent 60%),
               radial-gradient(900px 500px at -10% 110%, rgba(47, 111, 222, .10), transparent 60%),
               linear-gradient(180deg, #0D121A 0%, #0A0D12 100%);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31Zm0 63 27 15.5v31M28 64 1 79.5v31' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");

  /* type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-h4: 1.2rem;
  --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  --fs-h2: clamp(1.8rem, 1.2rem + 2.1vw, 2.85rem);
  --fs-display-md: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
  --fs-display: clamp(2.5rem, 1.35rem + 4.2vw, 4.85rem);

  /* shape & depth */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(17, 21, 27, .06), 0 1px 1px rgba(17, 21, 27, .03);
  --sh-2: 0 6px 18px -8px rgba(17, 21, 27, .16), 0 2px 4px rgba(17, 21, 27, .04);
  --sh-3: 0 28px 56px -22px rgba(17, 21, 27, .30), 0 10px 20px -12px rgba(17, 21, 27, .14);
  --sh-gold: 0 10px 28px -12px rgba(227, 164, 0, .75);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
  --ring-dark: 0 0 0 2px var(--graphite), 0 0 0 4px var(--gold-hi);

  /* layout & motion */
  --container: 1320px;
  --gutter: clamp(16px, 3.6vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .22s;
  color-scheme: light;
}

/* 02 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--hair); margin: 24px 0; }
::selection { background: var(--gold-hi); color: var(--gold-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.layout-public :is(.site-header, .hero, .section--dark, .section--graphite, .site-footer, .hero-band, .drawer--dark, .rfq-card, .error-page) :focus-visible { outline-color: var(--gold-hi); }
[hidden] { display: none !important; }
main:focus { outline: none; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--gold-ink); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }

/* 03 · LAYOUT ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.section--porcelain { background: var(--porcelain); }
.section--paper { background: var(--paper); }
.section--dark, .section--graphite { background: var(--grad-dark); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section--graphite { background: var(--graphite); }
.section--dark::before, .section--graphite::before, .hero::before, .hero-band::before, .site-footer::before, .auth-brand::before, .error-page::before, .rfq-card::before {
  content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .045; pointer-events: none; z-index: -1; mix-blend-mode: overlay;
}
.section__glow { position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(242, 183, 5, .16), transparent); pointer-events: none; z-index: -1; }

.grid-cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cards--list { grid-template-columns: 1fr; }
@media (max-width: 1180px) { .grid-cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 920px) { .grid-cards--4, .grid-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-cards--4, .grid-cards--3 { grid-template-columns: 1fr; } }
.layout-dash .grid-cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

.section-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.section-head--split > div { display: grid; gap: 10px; max-width: 720px; min-width: 0; }
.section-head--center { text-align: center; justify-items: center; }
.section-head__sub { color: var(--muted); font-size: var(--fs-lg); max-width: 62ch; }
.section--dark .section-head__sub { color: var(--on-dark-2); }

/* 04 · TYPE --------------------------------------------------------------- */
.display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.display--md { font-size: var(--fs-display-md); letter-spacing: -.03em; line-height: 1.06; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.03em; line-height: 1.06; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.h4 { font-size: var(--fs-h4); letter-spacing: -.01em; }
.h2--light, .h3--light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 64ch; line-height: 1.55; }
.lead--light { color: var(--on-dark-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-gold-x); }
.eyebrow--gold { color: var(--gold-hi); }
.eyebrow .icon { flex: none; }
.eyebrow:has(.icon)::before { display: none; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; }
.text-gold { background: var(--grad-gold-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fineprint { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.prose { display: grid; gap: 14px; color: var(--ink-2); max-width: 72ch; font-size: 1.02rem; line-height: 1.7; }
.prose a { color: var(--gold-deep); }
.kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1;
  border-radius: 6px; border: 1px solid currentColor; opacity: .7;
}

/* 05 · BUTTONS ------------------------------------------------------------ */
.btn {
  --h: 44px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { flex: none; }
.btn--sm { --h: 36px; padding: 0 13px; font-size: .875rem; border-radius: 10px; gap: 6px; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--grad-gold); color: var(--gold-ink); border-color: rgba(138, 90, 0, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(138, 90, 0, .25), var(--sh-gold);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease-out);
}
.btn--gold:hover::after { left: 120%; }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(138, 90, 0, .25), 0 14px 32px -12px rgba(227, 164, 0, .9); }
.btn--dark { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.btn--dark:hover { background: var(--navy); border-color: var(--navy); }
.btn--outline { background: var(--paper); color: var(--ink); border-color: var(--hair-2); box-shadow: var(--sh-1); }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .24); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(17, 21, 27, .06); }
.btn--ghost-light { background: transparent; color: var(--on-dark); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn--danger:hover { background: #B8372C; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-loading { color: transparent !important; text-shadow: none; pointer-events: none; }
.btn.is-loading::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: rgba(17, 21, 27, .25) rgba(17, 21, 27, .25) var(--gold-ink) var(--gold-ink);
  animation: spin .7s linear infinite; z-index: 2;
}
.btn--dark.is-loading::before, .btn--danger.is-loading::before { border-color: rgba(255, 255, 255, .3) rgba(255, 255, 255, .3) #fff #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--ink-2);
  text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-btn:hover { background: rgba(17, 21, 27, .06); color: var(--ink); }
.icon-btn--light { color: var(--on-dark-2); }
.icon-btn--light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.icon-btn--outline { width: 44px; height: 44px; border-color: var(--hair-2); background: var(--paper); box-shadow: var(--sh-1); }
.icon-btn--outline:hover { border-color: var(--ink); background: var(--paper); }
.icon-btn--round { border-radius: 50%; border-color: var(--hair-2); background: var(--paper); width: 44px; height: 44px; }
.icon-btn--round:hover { border-color: var(--ink); background: var(--paper); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 700; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-deep); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon:last-child { transform: translateX(3px); }
.link-sm { font-size: var(--fs-sm); color: var(--gold-deep); font-weight: 600; }
.link-light { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-weight: 700; text-decoration: none; }
.link-light:hover { text-decoration: underline; }

/* 06 · FORMS -------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.req { color: var(--danger); font-weight: 700; }
.opt { color: var(--muted-2); font-weight: 500; font-size: var(--fs-xs); }
.help { font-size: .8125rem; color: var(--muted); line-height: 1.45; }
.help--section { margin-bottom: 14px; }
.help a { color: var(--gold-deep); font-weight: 600; }
.input, .textarea, .select select {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hair-2); border-radius: 12px;
  font-size: 1rem; line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(17, 21, 27, .04);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9AA0A9; }
.input:hover, .textarea:hover, .select select:hover { border-color: #BDB8AA; }
.input:focus, .textarea:focus, .select select:focus { border-color: #C99400; box-shadow: 0 0 0 4px rgba(242, 183, 5, .22); outline: none; }
.input:disabled { background: var(--porcelain); color: var(--muted); }
.input--sm { min-height: 40px; padding: 8px 12px; font-size: .9375rem; border-radius: 10px; }
.textarea { min-height: 120px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(210, 70, 58, .12) !important; }
.field-error { display: flex; align-items: flex-start; gap: 6px; color: #B23A2F; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.field-error .icon { margin-top: 1px; flex: none; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; margin-top: -7px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); border-radius: 1px;
}
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.input-icon > .input { padding-left: 44px; }
.input-affix { position: relative; display: block; }
.input-affix > span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-affix > .input { padding-left: 24px; }
.password-field { position: relative; }
.password-field .input { padding-right: 48px; }
.password-field__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 9px; }
.password-field__toggle:hover { color: var(--ink); background: rgba(17, 21, 27, .05); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 4px; }
.strength span { background: var(--hair); border-radius: 4px; transition: background-color var(--dur); }
.strength[data-score="1"] span:nth-child(-n+1) { background: var(--danger); }
.strength[data-score="2"] span:nth-child(-n+2) { background: var(--warning); }
.strength[data-score="3"] span:nth-child(-n+3) { background: #9DB83A; }
.strength[data-score="4"] span { background: var(--success); }

/* checkbox / radio / toggle */
.check, .radio { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: .9375rem; color: var(--ink-2); }
.check input, .radio input, .toggle input, .cchip input, .pchoice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B9B4A7; background: var(--paper); display: grid; place-items: center; color: transparent; transition: all var(--dur) var(--ease); }
.check__box .icon { stroke-width: 3; }
.check input:checked + .check__box { background: var(--graphite); border-color: var(--graphite); color: var(--gold-hi); }
.check input:focus-visible + .check__box { box-shadow: var(--ring); }
.check__label { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; line-height: 1.4; }
.check__label a { color: var(--gold-deep); font-weight: 600; }
.check__count { font-size: var(--fs-xs); color: var(--muted); background: var(--porcelain); border-radius: var(--r-pill); padding: 1px 8px; }
.radio__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #B9B4A7; background: var(--paper); display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.radio__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform var(--dur) var(--ease); }
.radio input:checked + .radio__dot { border-color: var(--graphite); background: var(--graphite); }
.radio input:checked + .radio__dot::after { transform: scale(1); }
.radio input:focus-visible + .radio__dot { box-shadow: var(--ring); }
.toggle { position: relative; display: flex; align-items: center; gap: 12px; min-height: 36px; cursor: pointer; font-size: .9375rem; color: var(--ink-2); }
.toggle__track { flex: none; width: 40px; height: 24px; border-radius: 24px; background: #D3CFC3; position: relative; transition: background-color var(--dur) var(--ease); }
.toggle__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--dur) var(--ease-out); }
.toggle input:checked + .toggle__track { background: var(--graphite); }
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(16px); background: var(--gold-hi); }
.toggle input:focus-visible + .toggle__track { box-shadow: var(--ring); }
.toggle__label { display: inline-flex; align-items: center; gap: 7px; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip { position: relative; cursor: pointer; }
.cchip span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--hair-2); background: var(--paper); font-size: .875rem; color: var(--ink-2); transition: all var(--dur) var(--ease); }
.cchip:hover span { border-color: var(--ink); }
.cchip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.cchip input:focus-visible + span { box-shadow: var(--ring); }
.pills-choice { display: flex; flex-wrap: wrap; gap: 6px; }
.pchoice { position: relative; cursor: pointer; }
.pchoice span { display: inline-grid; place-items: center; min-width: 52px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--hair-2); background: var(--paper); font-family: var(--font-mono); font-size: .8rem; font-weight: 500; transition: all var(--dur) var(--ease); }
.pchoice:hover span { border-color: var(--ink); }
.pchoice input:checked + span { background: var(--graphite); color: var(--gold-hi); border-color: var(--graphite); }
.pchoice input:focus-visible + span { box-shadow: var(--ring); }
.range-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-pair__sep { color: var(--muted); }

.form-section { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--paper); }
.form-section__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: 12px; padding: 0 4px; }
.form-section__title .icon { color: var(--gold-deep); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }

/* tag input */
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 46px; padding: 6px 8px; border: 1px solid var(--hair-2); border-radius: 12px; background: var(--paper); cursor: text; transition: border-color var(--dur), box-shadow var(--dur); }
.tag-input:focus-within { border-color: #C99400; box-shadow: 0 0 0 4px rgba(242, 183, 5, .22); }
.tag-input__tag { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 11px; border-radius: 8px; background: var(--porcelain-2); font-size: .875rem; font-weight: 500; }
.tag-input__tag button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; background: none; border-radius: 6px; color: var(--muted); }
.tag-input__tag button:hover { background: rgba(17, 21, 27, .08); color: var(--ink); }
.tag-input__field { flex: 1; min-width: 120px; border: 0; outline: none; padding: 6px; background: transparent; font-size: .95rem; }

/* dropzone */
.dropzone { display: grid; gap: 10px; }
.dropzone__area {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 28px 20px; border: 1.5px dashed #C7C1B2; border-radius: var(--r-lg); background: repeating-linear-gradient(135deg, rgba(17, 21, 27, .012) 0 8px, transparent 8px 16px), var(--paper);
  cursor: pointer; transition: border-color var(--dur), background-color var(--dur), transform var(--dur);
}
.dropzone__area:hover, .dropzone.is-over .dropzone__area { border-color: var(--gold); background-color: #FFFCF1; }
.dropzone.is-over .dropzone__area { transform: scale(1.01); }
.dropzone__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-deep); margin-bottom: 4px; }
.dropzone__title { font-weight: 700; }
.dropzone__title u { color: var(--gold-deep); text-underline-offset: 3px; }
.dropzone__hint { font-size: .8125rem; color: var(--muted); }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.js .dropzone__input { pointer-events: none; }
.dropzone__previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.dropzone__previews:empty { display: none; }
.dz-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--porcelain-2); border: 1px solid var(--hair); }
.dz-item img { width: 100%; height: 100%; object-fit: cover; }
.dz-item__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-item__remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(10, 13, 18, .72); color: #fff; }
.dz-item__remove:hover { background: var(--danger); }
.dz-item__bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .5); overflow: hidden; }
.dz-item__bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .15s linear; }
.dz-item.is-error { outline: 2px solid var(--danger); }
.dz-item.is-error::after { content: attr(data-error); position: absolute; inset: auto 0 0 0; padding: 6px; font-size: 11px; background: var(--danger); color: #fff; }
.dropzone--square .dropzone__previews { grid-template-columns: 120px; }
.dropzone--wide .dropzone__previews { grid-template-columns: 1fr; }
.dropzone--wide .dz-item { aspect-ratio: 21 / 6; }

/* 07 · BADGES, CHIPS, PILLS ---------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .005em; white-space: nowrap; line-height: 1;
  border: 1px solid transparent;
}
.badge .icon { flex: none; }
.badge--verified { background: var(--gold-soft); color: var(--gold-deep); border-color: rgba(138, 90, 0, .22); }
.badge--audited { background: linear-gradient(180deg, #1D2735, #0F151E); color: var(--gold-hi); border-color: rgba(242, 183, 5, .35); }
.badge--docs { background: #EEF0F3; color: #3D4652; border-color: #D9DDE3; }
.badge--immex { background: var(--info-soft); color: #1E4FA8; border-color: rgba(47, 111, 222, .22); }
.badge--network { background: linear-gradient(120deg, #0E141D, #233044); color: #FFE27A; border-color: rgba(242, 183, 5, .3); }
.badge--unclaimed { background: transparent; color: var(--muted); border: 1px dashed #BDB8AA; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 11px;
  border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--hair-2); color: var(--ink-2);
}
.chip--glass { background: rgba(255, 255, 255, .06); border-color: var(--hair-d2); color: var(--on-dark); backdrop-filter: blur(6px); }
.chip--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.chip--glass .icon { color: var(--gold-hi); }
.chip--soft { background: var(--porcelain); border-color: var(--hair); color: var(--ink-2); font-weight: 500; }
.chip--removable { padding-right: 8px; transition: border-color var(--dur); }
.chip--removable:hover { border-color: var(--ink); }
.chip--removable .icon { color: var(--muted); }
.chip--ind:hover { border-color: var(--ink); }
.chip--ind .icon { color: var(--gold-deep); }
.chip--role { min-height: 22px; padding: 2px 9px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border: 0; }
.chip--buyer { background: var(--info-soft); color: #1E4FA8; }
.chip--seller { background: var(--gold-soft); color: var(--gold-deep); }
.chip--admin { background: var(--graphite); color: var(--gold-hi); }
.chip--phase { background: var(--graphite); color: var(--gold-hi); border-color: var(--graphite); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.chip--pending { background: var(--warning-soft); color: #8A5300; border-color: rgba(199, 119, 0, .25); }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.pill--term { font-family: var(--font-mono); font-weight: 500; background: var(--graphite); color: var(--gold-hi); letter-spacing: .04em; cursor: help; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; line-height: 1; }
.count-dot--gold { background: var(--grad-gold); }
.status {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; white-space: nowrap; background: #EEF0F3; color: #3D4652;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--published, .status--approved, .status--accepted, .status--awarded, .status--active, .status--handled { background: var(--success-soft); color: #13744E; }
.status--pending, .status--in_progress, .status--changes_requested, .status--quoted, .status--sent { background: var(--warning-soft); color: #8A5300; }
.status--open, .status--new { background: var(--info-soft); color: #1E4FA8; }
.status--rejected, .status--suspended, .status--declined { background: var(--danger-soft); color: #A1342A; }
.status--draft, .status--closed, .status--withdrawn { background: #EEF0F3; color: #4B5563; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 12px; border-radius: 10px; background: var(--porcelain); border: 1px solid var(--hair); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.tags li .icon { color: var(--success); }
.tags--sm li { min-height: 26px; padding: 3px 9px; font-size: .78rem; border-radius: 8px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks li .icon { flex: none; margin-top: 3px; color: var(--success); stroke-width: 2.5; }
.checks--light li { color: var(--on-dark-2); }
.checks--light li .icon { color: var(--gold-hi); }
.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.5; background: var(--porcelain); border: 1px solid var(--hair); color: var(--ink-2); }
.note .icon { flex: none; margin-top: 2px; }
.note a { color: inherit; font-weight: 700; }
.note--info { background: var(--info-soft); border-color: rgba(47, 111, 222, .2); color: #1C3F82; }
.note--warning { background: var(--warning-soft); border-color: rgba(199, 119, 0, .25); color: #7A4A00; }
.note--success { background: var(--success-soft); border-color: rgba(31, 157, 107, .25); color: #0F5E40; }
.note--gold { background: var(--gold-soft); border-color: rgba(138, 90, 0, .2); color: #6B4600; }

/* flags, logo tiles, avatars, art */
.flag { width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(17, 21, 27, .12); }
.logo-tile {
  --s: 56px; flex: none; width: var(--s); height: var(--s); display: grid; place-items: center; padding: calc(var(--s) * .12);
  background: var(--paper); border: 1px solid var(--hair); border-radius: calc(var(--s) * .24); box-shadow: var(--sh-1); overflow: hidden;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile--xs { --s: 28px; border-radius: 7px; padding: 3px; }
.logo-tile--sm { --s: 40px; }
.logo-tile--md { --s: 56px; }
.logo-tile--lg { --s: 72px; }
.logo-tile--xl { --s: 116px; border-width: 3px; border-color: var(--paper); box-shadow: var(--sh-3); }
.logo-tile--mono {
  background: radial-gradient(circle at 30% 20%, #2A3646, #0F151E 70%); border-color: rgba(242, 183, 5, .28);
  color: var(--gold-hi); font-family: var(--font-display); font-weight: 700; font-size: calc(var(--s) * .36); letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .4); line-height: 1;
}
.avatar { --s: 36px; flex: none; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #2A3646, #111824); color: var(--gold-hi); font-family: var(--font-display); font-weight: 700; font-size: calc(var(--s) * .38); box-shadow: inset 0 0 0 1px rgba(242, 183, 5, .35); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { --s: 28px; }
.avatar--sm { --s: 34px; }
.avatar--md { --s: 44px; }
.art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.art__hex { position: absolute; inset: -20%; background-image: var(--hex); background-size: 46px auto; opacity: .07; transform: rotate(-8deg); z-index: -1; }
.art__icon { width: 34%; height: auto; max-width: 96px; min-width: 40px; stroke-width: 1.15; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); transition: transform .6s var(--ease-out); }
.art--gold { background: radial-gradient(80% 70% at 75% 15%, rgba(242, 183, 5, .38), transparent 60%), linear-gradient(160deg, #1D2836, #0A0D12); color: var(--gold-hi); }
.art--chrome { background: radial-gradient(70% 60% at 20% 10%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(160deg, #353D49, #12161C); color: #DDE1E6; }
.art--navy { background: radial-gradient(70% 70% at 80% 80%, rgba(47, 111, 222, .30), transparent 60%), linear-gradient(160deg, #1A2533, #0B111A); color: #C9D6EA; }
.art--bronze { background: radial-gradient(70% 70% at 25% 20%, rgba(255, 196, 92, .30), transparent 60%), linear-gradient(160deg, #3A2914, #120C06); color: #FFD27A; }
.art--slate { background: radial-gradient(70% 70% at 70% 30%, rgba(242, 183, 5, .18), transparent 60%), linear-gradient(160deg, #26303D, #10151C); color: var(--gold); }

/* seal on media */
.seal {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border-radius: var(--r-pill);
  background: rgba(10, 13, 18, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 12px; font-weight: 700; border: 1px solid rgba(242, 183, 5, .4);
}
.seal .icon { color: var(--gold-hi); }
.seal--sm { width: 30px; height: 30px; padding: 0; justify-content: center; }

/* save heart */
.save-form { display: contents; }
.save-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(17, 21, 27, .08); background: rgba(255, 255, 255, .92); color: var(--ink-2);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3); backdrop-filter: blur(6px);
  transition: transform .2s var(--ease-out), color var(--dur), background-color var(--dur);
}
.save-btn:hover { transform: scale(1.08); color: var(--danger); }
.save-btn.is-saved { color: #fff; background: var(--danger); border-color: var(--danger); }
.save-btn.is-saved .icon { fill: currentColor; }
.save-btn.is-pop { animation: pop .35s var(--ease-out); }
.save-btn--full { width: auto; height: 52px; border-radius: 14px; padding: 0 18px; background: var(--paper); box-shadow: var(--sh-1); border-color: var(--hair-2); color: var(--ink); backdrop-filter: none; display: inline-flex; }
.save-btn--full:hover { transform: none; border-color: var(--ink); color: var(--ink); }
.save-btn--full.is-saved { background: var(--danger-soft); color: #A1342A; border-color: rgba(210, 70, 58, .35); }
.supplier-card .save-btn--full, .pp__actions .save-btn--full { height: 52px; }
.supplier-card .save-btn--full { width: 100%; height: 44px; }

/* 08 · CARDS -------------------------------------------------------------- */
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.panel { padding: clamp(18px, 2vw, 24px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.panel__sub { color: var(--muted); font-size: .875rem; margin-top: 2px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* factory card */
.fcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: #D9D3C2; }
.fcard:focus-within { box-shadow: var(--sh-3); border-color: var(--gold); }
.fcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.fcard__media > img, .fcard__media > .art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.fcard__media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(10, 13, 18, .35)); pointer-events: none; }
.fcard:hover .fcard__media > img, .fcard:hover .art__icon { transform: scale(1.06); }
.fcard__save { position: absolute; right: 12px; top: 12px; z-index: 3; }
.fcard__body { display: grid; gap: 14px; padding: 0 18px 16px; flex: 1; align-content: start; }
.fcard__id { display: flex; gap: 12px; align-items: flex-end; margin-top: -26px; position: relative; z-index: 2; }
.fcard__titles { min-width: 0; display: grid; gap: 3px; padding-bottom: 2px; }
.fcard__name { font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.fcard__name a { text-decoration: none; }
.fcard__name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.fcard__loc { display: flex; align-items: center; gap: 7px; font-size: .8125rem; color: var(--muted); min-width: 0; }
.fcard__loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard__tagline { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.fcard__facts { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 1px solid var(--hair); border-radius: 12px; background: var(--porcelain); }
.fcard__facts > div { padding: 8px 10px; display: grid; gap: 1px; min-width: 0; }
.fcard__facts > div + div { border-left: 1px solid var(--hair); }
.fcard__facts dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }
.fcard__facts dd { font-size: .84rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--hair); }
.fcard__claim { font-size: .75rem; color: var(--muted); }
.fcard__cta { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--gold-deep); }
.fcard__cta .icon { transition: transform var(--dur) var(--ease); }
.fcard:hover .fcard__cta .icon { transform: translateX(4px); }
.fcard--list { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; grid-template-rows: 1fr auto; }
.fcard--list .fcard__media { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; }
.fcard--list .fcard__id { margin-top: 0; align-items: center; }
.fcard--list .fcard__body { padding-top: 18px; }
.fcard--list .fcard__facts { max-width: 520px; }
@media (max-width: 700px) {
  .fcard--list { grid-template-columns: 1fr; grid-template-rows: auto; }
  .fcard--list .fcard__media { grid-row: auto; aspect-ratio: 16 / 9; }
  .fcard--list .fcard__id { margin-top: -26px; align-items: flex-end; }
  .fcard--list .fcard__body { padding-top: 0; }
}

/* product card */
.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: #D9D3C2; }
.pcard:focus-within { border-color: var(--gold); box-shadow: var(--sh-3); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--porcelain-2); overflow: hidden; }
.pcard__media > img, .pcard__media > .art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pcard:hover .pcard__media > img, .pcard:hover .art__icon { transform: scale(1.06); }
.pcard__save { position: absolute; right: 12px; top: 12px; z-index: 3; }
.pcard__body { display: grid; gap: 10px; padding: 16px 16px 14px; flex: 1; align-content: start; }
.pcard__title { font-family: var(--font-body); font-size: .98rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__title a { text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.pcard__price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.pcard__price small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); letter-spacing: 0; }
.pcard__price--ask { font-size: 1.02rem; color: var(--gold-deep); }
.pcard__terms { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8125rem; }
.pcard__terms li:first-child { display: flex; gap: 6px; color: var(--muted); }
.pcard__terms strong { color: var(--ink); font-weight: 600; }
.pcard__supplier { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 1px solid var(--hair); background: #FBFAF7; font-size: .8125rem; min-width: 0; }
.pcard__sname { flex: 1; min-width: 0; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__country { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 600; }

/* stat tile */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stats-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1280px) { .stats-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats-grid { grid-template-columns: 1fr; } }
.stat {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 18px; min-width: 0;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  text-decoration: none; color: inherit; transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  overflow: hidden;
}
.stat--link:hover { border-color: #CFC8B6; box-shadow: var(--sh-2); transform: translateY(-2px); }
.stat--gold { background: radial-gradient(120% 90% at 100% 0%, rgba(242, 183, 5, .14), transparent 55%), var(--paper); border-color: rgba(201, 148, 0, .35); }
.stat--gold::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad-gold-x); }
.stat__head { display: flex; align-items: center; gap: 10px; }
.stat__icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--porcelain); color: var(--ink-2); flex: none; }
.stat--gold .stat__icon { background: var(--graphite); color: var(--gold-hi); }
.stat__label { font-size: .8125rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.stat__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat__trend { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.stat__trend--up { background: var(--success-soft); color: #13744E; }
.stat__trend--down { background: var(--danger-soft); color: #A1342A; }
.stat__note { font-size: .78rem; color: var(--muted); }
.sparkline { width: 100%; height: 36px; overflow: visible; }
.sparkline__area { fill: rgba(242, 183, 5, .14); }
.sparkline__line { stroke: #D9A000; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sparkline__dot { fill: var(--gold); stroke: #fff; stroke-width: 1.5; }

/* 09 · NAVIGATION --------------------------------------------------------- */
/* announcement */
.announce { background: linear-gradient(90deg, #121A26, #0A0D12 55%, #1A1606); color: var(--on-dark-2); font-size: .8125rem; border-bottom: 1px solid var(--hair-d); }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-block: 6px; text-align: center; flex-wrap: wrap; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 183, 5, .18); animation: pulse 2.4s ease-in-out infinite; flex: none; }
.announce__link { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-hi); font-weight: 700; text-decoration: none; }
.announce__link:hover { text-decoration: underline; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 13, 18, .82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--hair-d); color: var(--on-dark);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 183, 5, .45), transparent); opacity: .6; pointer-events: none; }
.site-header__bar { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px;
  color: var(--on-dark-2); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color var(--dur), background-color var(--dur);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-gold-x); }
.nav__item--mega .nav__link { padding-right: 4px; }
.nav__caret { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -2px; border: 0; border-radius: 8px; background: none; color: var(--on-dark-3); transition: transform var(--dur), color var(--dur); }
.nav__caret:hover, .nav__caret[aria-expanded="true"] { color: var(--gold-hi); }
.nav__caret[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 13px; border-radius: 11px;
  border: 1px solid var(--hair-d2); background: rgba(255, 255, 255, .04); color: var(--on-dark-2); font-size: .875rem;
  transition: border-color var(--dur), background-color var(--dur), color var(--dur);
}
.search-trigger:hover { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .08); }
.search-trigger .kbd { font-size: 10px; height: 20px; }
.search-trigger--light { border-color: var(--hair-2); background: var(--paper); color: var(--muted); box-shadow: var(--sh-1); min-width: 0; flex: 1; max-width: 460px; justify-content: flex-start; }
.search-trigger--light:hover { color: var(--ink); border-color: #BDB8AA; background: var(--paper); }
.search-trigger--light .kbd { margin-left: auto; }
.search-trigger__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 10px; gap: 2px; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 32px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: all var(--dur); }
.lang-switch--dark { border: 1px solid var(--hair-d); }
.lang-switch--dark a { color: var(--on-dark-3); }
.lang-switch--dark a:hover { color: #fff; }
.lang-switch--dark a.is-active { background: rgba(255, 255, 255, .1); color: var(--gold-hi); }
.lang-switch--light { border: 1px solid var(--hair-2); background: var(--paper); }
.lang-switch--light a { color: var(--muted); }
.lang-switch--light a:hover { color: var(--ink); }
.lang-switch--light a.is-active { background: var(--graphite); color: var(--gold-hi); }
.lang-switch--full { display: flex; gap: 8px; padding: 8px 10px; color: var(--on-dark-3); }
.lang-switch--full a { flex: 1; height: 38px; font-size: 13px; letter-spacing: 0; }
.burger { display: none; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 59;
  background: linear-gradient(180deg, rgba(14, 19, 27, .98), rgba(10, 13, 18, .99)); border-bottom: 1px solid var(--hair-d2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  animation: megaIn .22s var(--ease-out);
}
.mega__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 28px var(--gutter) 32px; display: grid; grid-template-columns: 230px 1fr 280px; gap: 32px; }
.mega__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 10px; }
.mega__label--sub { margin-top: 18px; }
.mega__hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--on-dark-3); opacity: .8; margin-left: 6px; }
.mega__col--links > a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; margin: 0 -10px; border-radius: 10px; color: var(--on-dark); font-weight: 600; font-size: .925rem; text-decoration: none; }
.mega__col--links > a .icon { color: var(--gold); }
.mega__col--links > a:hover { background: rgba(255, 255, 255, .06); }
.mega__countries { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.mega__countries a { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; margin-left: -8px; border-radius: 8px; color: var(--on-dark-2); font-size: .875rem; text-decoration: none; }
.mega__countries a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 14px; }
.mega__grid a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--on-dark); font-size: .9rem; text-decoration: none; min-width: 0; }
.mega__grid a .icon { color: var(--on-dark-3); flex: none; transition: color var(--dur); }
.mega__grid a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega__grid a small { font-size: 11px; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.mega__grid a:hover { background: rgba(255, 255, 255, .06); }
.mega__grid a:hover .icon { color: var(--gold-hi); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gold-hi); font-weight: 700; font-size: .9rem; text-decoration: none; }
.mega__all:hover { text-decoration: underline; }
.mega__promo { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 22px; background: radial-gradient(120% 90% at 100% 0%, rgba(242, 183, 5, .25), transparent 60%), linear-gradient(160deg, #1A2533, #0E141D); border: 1px solid rgba(242, 183, 5, .25); display: grid; gap: 10px; align-content: start; }
.mega__promo::after { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 40px auto; opacity: .05; pointer-events: none; }
.mega__promo-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; line-height: 1.25; letter-spacing: -.01em; }
.mega__promo-text { font-size: .875rem; color: var(--on-dark-2); }
.mega__promo .btn { justify-self: start; margin-top: 6px; position: relative; z-index: 1; }

/* dropdowns (user menu, bell) */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 80; min-width: 240px; padding: 6px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--sh-3);
  animation: dropIn .18s var(--ease-out); transform-origin: top right;
}
.dropdown__menu--right { left: auto; right: 0; }
.dropdown__menu--wide { width: min(380px, calc(100vw - 24px)); left: auto; right: 0; padding: 0; }
.dropdown__item { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; text-align: left; }
.dropdown__item .icon { color: var(--muted); }
.dropdown__item:hover, .dropdown__item:focus-visible { background: var(--porcelain); color: var(--ink); }
.dropdown__item--danger:hover { background: var(--danger-soft); color: #A1342A; }
.dropdown__item--danger:hover .icon { color: #A1342A; }
.dropdown__form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--hair); }
.user-menu__btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 6px 0 3px; border-radius: 22px; border: 1px solid transparent; background: none; }
.user-menu--dark .user-menu__btn { color: var(--on-dark-2); }
.user-menu--dark .user-menu__btn:hover { background: rgba(255, 255, 255, .06); }
.user-menu--light .user-menu__btn { color: var(--muted); border-color: var(--hair-2); background: var(--paper); }
.user-menu__who { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--hair); }
.user-menu__who > div { display: grid; gap: 2px; min-width: 0; }
.user-menu__who strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu__who span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu__who .chip { justify-self: start; margin-top: 4px; }
.bell { position: relative; }
.bell__btn { position: relative; }
.bell__count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px var(--graphite); }
.layout-dash .bell__count { box-shadow: 0 0 0 2px var(--paper); }
.bell__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.bell__head strong { font-family: var(--font-display); font-size: 1rem; }
.bell__list { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }
.bell__empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: .9rem; }
.bell__item { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; }
.bell__item:hover { background: var(--porcelain); }
.bell__item::before { content: ""; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: transparent; }
.bell__item.is-unread::before { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.bell__item strong { display: block; font-size: .875rem; line-height: 1.35; }
.bell__item p { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.bell__item time { display: block; font-size: .72rem; color: var(--muted-2); margin-top: 4px; }
.bell__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-size: .85rem; font-weight: 700; color: var(--gold-deep); text-decoration: none; }
.bell__all:hover { background: var(--porcelain); border-radius: 0 0 16px 16px; }

/* drawers (mobile nav, filters on mobile, dashboard sidebar on mobile) */
.drawer[hidden] { display: none !important; }
.drawer { position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 9, 13, .62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(380px, 88vw); display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--sh-3); transition: transform .32s var(--ease-out); overflow-y: auto; overscroll-behavior: contain; }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer--dark .drawer__panel { background: linear-gradient(180deg, #0F151E, #0A0D12); color: var(--on-dark); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hair-d); }
.drawer__body { display: grid; gap: 18px; padding: 18px; align-content: start; }
.drawer__actions { display: grid; gap: 10px; }
.search-field { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair-d2); background: rgba(255, 255, 255, .05); color: var(--on-dark-2); font-size: .95rem; text-align: left; }
.mnav { display: grid; }
.mnav a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 6px; border-bottom: 1px solid var(--hair-d); color: var(--on-dark); font-weight: 600; text-decoration: none; }
.mnav a .icon { color: var(--gold); }
.mnav a:hover { color: var(--gold-hi); }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .8125rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.crumbs a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; padding: 2px 2px; border-radius: 4px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40ch; }
.crumbs__sep { opacity: .5; }
.crumbs--dark { color: var(--on-dark-3); }
.crumbs--dark ol { color: var(--on-dark-3); }
.crumbs--dark a:hover { color: #fff; }
.crumbs--dark [aria-current] { color: var(--on-dark); }

/* pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination__pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination__num, .pagination__step, .pagination__gap { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 11px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.pagination__num { border: 1px solid var(--hair-2); background: var(--paper); }
.pagination__num:hover { border-color: var(--ink); }
.pagination__num.is-current { background: var(--graphite); color: var(--gold-hi); border-color: var(--graphite); }
.pagination__step { display: inline-flex; gap: 6px; border: 1px solid var(--hair-2); background: var(--paper); }
.pagination__step:hover { border-color: var(--ink); }
.pagination__step.is-disabled { opacity: .45; }
.pagination__gap { min-width: 20px; color: var(--muted); }
@media (max-width: 520px) { .pagination__step span { display: none; } }

/* tabs */
.tabs { display: grid; gap: 28px; }
.tabs__list { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--porcelain-2); border: 1px solid var(--hair); justify-self: start; max-width: 100%; overflow-x: auto; }
.tabs--center .tabs__list { justify-self: center; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 700; font-size: .925rem; white-space: nowrap; transition: all var(--dur); }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--sh-2); }
.tabs__tab.is-active .icon { color: var(--gold-deep); }
.tabs__panel { animation: fadeUp .35s var(--ease-out); }
.tabs__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* accordion */
.accordion { display: grid; gap: 10px; }
.accordion__item { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-md); transition: border-color var(--dur), box-shadow var(--dur); }
.accordion__item[open] { border-color: #D9D3C2; box-shadow: var(--sh-2); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { flex: none; color: var(--gold-deep); transition: transform .3s var(--ease-out); }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); }
.accordion__body { padding: 0 20px 20px; color: var(--ink-2); line-height: 1.7; max-width: 72ch; }

/* sticky sub-navigation (factory page) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link { position: relative; display: inline-flex; align-items: center; height: 52px; padding: 0 14px; font-weight: 700; font-size: .9rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.subnav__link:hover { color: var(--ink); }
.subnav__link.is-active { color: var(--ink); }
.subnav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--grad-gold-x); border-radius: 2px; }

/* footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer__glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(242, 183, 5, .14), transparent); z-index: -1; pointer-events: none; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.site-footer__brand { display: grid; gap: 16px; align-content: start; max-width: 420px; }
.site-footer__brand img { width: 160px; height: auto; }
.site-footer__brand p { font-size: .9rem; line-height: 1.65; }
.site-footer__contact { display: grid; gap: 8px; font-size: .875rem; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .icon { flex: none; margin-top: 3px; color: var(--gold); }
.site-footer__contact a { text-decoration: none; color: var(--on-dark); }
.site-footer__contact a:hover { color: var(--gold-hi); text-decoration: underline; }
.site-footer__col { display: grid; gap: 10px; align-content: start; }
.site-footer__head { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 4px; }
.site-footer__col a { color: var(--on-dark-2); text-decoration: none; font-size: .925rem; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer__commit { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 28px; padding: 18px 0; border-top: 1px solid var(--hair-d); border-bottom: 1px solid var(--hair-d); }
.site-footer__commit span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--hair-d); font-size: .8rem; color: var(--on-dark-2); }
.site-footer__commit .icon { color: var(--gold); stroke-width: 2.5; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--on-dark-3); }
.site-footer__legal { display: flex; gap: 18px; }
.site-footer__legal a { color: var(--on-dark-2); text-decoration: none; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__top { grid-template-columns: 1fr; } }

/* responsive header */
@media (max-width: 1180px) {
  .nav__link[href$="/services"] { display: none; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .search-trigger__text, .search-trigger .kbd { display: none; }
  .search-trigger { width: 40px; padding: 0; justify-content: center; }
  .site-header .lang-switch { display: none; }
  .drawer .lang-switch, .site-footer .lang-switch { display: inline-flex; }
  .brand img { height: 30px; }
}
@media (max-width: 420px) { .hide-xs { display: none !important; } }

/* 10 · OVERLAYS ----------------------------------------------------------- */
/* modal */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 9, 13, .62); backdrop-filter: blur(4px); animation: fade .2s var(--ease); }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; background: var(--paper); border-radius: var(--r-xl); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); animation: modalIn .28s var(--ease-out); display: grid; gap: 12px; }
.modal__panel--sm { width: min(440px, 100%); text-align: center; justify-items: center; }
.modal__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-deep); margin-bottom: 4px; }
.modal__icon--danger { background: var(--danger-soft); color: var(--danger); }
.modal__title { font-size: 1.3rem; }
.modal__text { color: var(--muted); }
.modal__actions { display: flex; gap: 10px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }

/* toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  padding: 14px 12px 14px 16px; border-radius: 16px; background: rgba(14, 19, 27, .96); color: var(--on-dark);
  border: 1px solid var(--hair-d2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); backdrop-filter: blur(10px);
  animation: toastIn .35s var(--ease-out); position: relative; overflow: hidden;
}
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: currentColor; opacity: .0; }
.toast.is-leaving { animation: toastOut .25s var(--ease) forwards; }
.toast__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.toast--success .toast__icon { color: #4ADE9B; background: rgba(31, 157, 107, .18); }
.toast--error .toast__icon { color: #FF8A7D; background: rgba(210, 70, 58, .2); }
.toast--warning .toast__icon { color: #FFC266; background: rgba(199, 119, 0, .2); }
.toast--info .toast__icon { color: var(--gold-hi); background: var(--gold-wash); }
.toast__msg { font-size: .9rem; line-height: 1.45; padding-top: 3px; }
.toast__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--on-dark-3); }
.toast__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 560px) { .toasts { right: 16px; left: 16px; bottom: 16px; width: auto; } }

/* tooltip */
.tooltip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); z-index: 30;
  width: max-content; max-width: 280px; padding: 10px 12px; border-radius: 10px; background: var(--graphite); color: var(--on-dark);
  font-size: .8rem; font-weight: 500; line-height: 1.45; box-shadow: var(--sh-3); pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease-out), visibility .18s;
}
.tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--graphite); }
:hover > .tooltip, :focus-within > .tooltip, :focus > .tooltip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.chart-tip { position: fixed; z-index: 160; padding: 6px 9px; border-radius: 8px; background: var(--graphite); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; box-shadow: var(--sh-2); }

/* suggestions dropdown (hero search, search page) */
.suggest { position: relative; }
.suggest__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; max-height: min(460px, 60vh); overflow-y: auto;
  padding: 8px; background: var(--paper); color: var(--ink); border-radius: 18px; border: 1px solid var(--hair); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .55);
  animation: dropIn .18s var(--ease-out); text-align: left;
}
.sg-group + .sg-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hair); }
.sg-label { padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: inherit; min-width: 0; }
.sg-item:hover, .sg-item.is-active { background: var(--porcelain); }
.sg-item.is-active { box-shadow: inset 2px 0 0 var(--gold); }
.sg-thumb { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: var(--graphite); color: var(--gold-hi); font-family: var(--font-display); font-weight: 700; font-size: 13px; border: 1px solid var(--hair); }
.sg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg-thumb--logo { background: var(--paper); padding: 4px; }
.sg-thumb--logo img { object-fit: contain; }
.sg-text { min-width: 0; display: grid; gap: 1px; }
.sg-text strong { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-text strong mark { background: none; color: var(--gold-deep); font-weight: 800; }
.sg-text span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-verified { flex: none; margin-left: auto; color: var(--gold-deep); }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--porcelain); font-weight: 700; font-size: .875rem; color: var(--ink); text-decoration: none; }
.sg-all:hover, .sg-all.is-active { background: var(--graphite); color: var(--gold-hi); }
.sg-empty { padding: 18px 12px; color: var(--muted); font-size: .9rem; text-align: center; }

/* command palette */
.cmdk { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(6, 9, 13, .66); backdrop-filter: blur(6px); animation: fade .18s var(--ease); }
.cmdk__panel { position: relative; width: min(700px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; border: 1px solid var(--hair); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(242, 183, 5, .12); overflow: hidden; animation: modalIn .24s var(--ease-out); }
.cmdk__bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 64px; border-bottom: 1px solid var(--hair); color: var(--muted); }
.cmdk__bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 1.08rem; color: var(--ink); }
.cmdk__bar input::-webkit-search-cancel-button { display: none; }
.cmdk__list { overflow-y: auto; padding: 8px; flex: 1; overscroll-behavior: contain; }
.cmdk__foot { display: flex; align-items: center; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--hair); background: var(--porcelain); font-size: .75rem; color: var(--muted); flex-wrap: wrap; }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 4px; }
.cmdk__foot .kbd { height: 20px; min-width: 20px; font-size: 10px; }
.cmdk__brand { margin-left: auto; font-weight: 700; color: var(--ink-2); gap: 6px !important; }
.cmdk__brand img { width: 28px; height: auto; }
.sg-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--porcelain); color: var(--ink-2); border: 1px solid var(--hair); }
.sg-item.is-active .sg-icon { background: var(--graphite); color: var(--gold-hi); border-color: var(--graphite); }
@media (max-width: 560px) { .cmdk { padding-top: 8px; } .cmdk__panel { max-height: calc(100vh - 16px); } .cmdk__foot span:not(.cmdk__brand) { display: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 56px 72px; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(4, 6, 9, .94); animation: fade .2s; }
.lightbox__figure { position: relative; margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; animation: modalIn .25s var(--ease-out); }
.lightbox__img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.lightbox__cap { color: var(--on-dark-2); font-size: .875rem; text-align: center; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hair-d2); background: rgba(255, 255, 255, .06); color: #fff; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn--close { top: 16px; right: 16px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__btn--prev, .lightbox.is-single .lightbox__btn--next { display: none; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 16px; transform: none; } }

/* 11 · DATA DISPLAY -------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; border-radius: 12px; }
.table { width: 100%; font-size: .9rem; }
.table th { position: sticky; top: 0; z-index: 1; text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); background: var(--porcelain); border-bottom: 1px solid var(--hair); white-space: nowrap; }
.table th:first-child { border-top-left-radius: 10px; }
.table th:last-child { border-top-right-radius: 10px; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--hair); vertical-align: middle; color: var(--ink-2); }
.table tbody tr { transition: background-color var(--dur); }
.table tbody tr:hover { background: #FBFAF6; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.table__primary { display: block; font-weight: 700; color: var(--ink); text-decoration: none; }
a.table__primary:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.table__sub { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.cell-flag { display: inline-flex; align-items: center; gap: 8px; }
.cell-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-user > span:last-child { min-width: 0; }
@media (max-width: 760px) {
  .table--responsive thead { display: none; }
  .table--responsive, .table--responsive tbody, .table--responsive tr, .table--responsive td { display: block; width: 100%; }
  .table--responsive tr { padding: 12px 0; border-bottom: 1px solid var(--hair); }
  .table--responsive tbody tr:last-child { border-bottom: 0; }
  .table--responsive td { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 10px; padding: 5px 0; border: 0; text-align: left !important; }
  .table--responsive td::before { content: attr(data-label); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding-top: 3px; }
  .table--responsive td:not([data-label])::before { content: ""; }
}
.spec-table { width: 100%; font-size: .925rem; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; padding-right: 16px; font-weight: 600; color: var(--muted); }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* charts */
.chart-wrap { position: relative; width: 100%; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: var(--hair); stroke-width: 1; stroke-dasharray: 3 4; }
.chart__axis { fill: var(--muted-2); font-size: 11px; font-family: var(--font-body); }
.chart__bar { fill: #E7B21A; transition: fill var(--dur), opacity var(--dur); cursor: pointer; }
.chart__bar:hover, .chart__bar.is-hover { fill: var(--graphite); }
.chart__bar:last-of-type { fill: var(--gold); }

/* progress ring */
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--porcelain-2); stroke-width: 9; }
.ring__value { fill: none; stroke: #E3A900; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out); }

/* checklist */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.checklist a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.checklist a:hover { background: var(--porcelain); }
.checklist__box { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; border: 1.5px dashed #BDB8AA; color: var(--muted); }
.checklist .is-done .checklist__box { background: var(--success); border: 0; color: #fff; }
.checklist .is-done .checklist__box .icon { stroke-width: 3; }
.checklist .is-done .checklist__text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91, 99, 112, .5); }
.checklist__go { margin-left: auto; color: var(--gold-deep); opacity: 0; transition: opacity var(--dur), transform var(--dur); }
.checklist a:hover .checklist__go { opacity: 1; transform: translateX(2px); }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(28px, 5vw, 56px) 20px; }
.empty--card { background: var(--paper); border: 1px dashed var(--hair-2); border-radius: var(--r-lg); }
.empty__art { position: relative; width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 6px; }
.empty__hex { position: absolute; inset: 0; background: linear-gradient(160deg, #1D2836, #0A0D12); clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); box-shadow: inset 0 0 0 1px rgba(242, 183, 5, .3); }
.empty__hex::after { content: ""; position: absolute; inset: 3px; clip-path: inherit; background: radial-gradient(circle at 50% 30%, rgba(242, 183, 5, .25), transparent 70%); }
.empty__icon { position: relative; color: var(--gold-hi); }
.empty__title { font-size: 1.15rem; }
.empty__text { color: var(--muted); max-width: 46ch; font-size: .925rem; }
.empty__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* skeleton */
.skeleton { position: relative; overflow: hidden; background: var(--porcelain-2); border-radius: 10px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.3s infinite; }
.results.is-loading { position: relative; }
.results.is-loading .grid-cards { opacity: .45; filter: saturate(.6); transition: opacity .2s; pointer-events: none; }
.results.is-loading::after { content: ""; position: absolute; top: 72px; left: 50%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 3px solid var(--hair-2); border-top-color: var(--gold); animation: spin .7s linear infinite; }

/* stepper */
.stepper { display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.stepper li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: var(--r-pill); background: var(--porcelain); border: 1px solid var(--hair); font-size: .8125rem; font-weight: 700; color: var(--muted); }
.stepper li .num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 1px solid var(--hair-2); font-size: 12px; }
.stepper li.is-current { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.stepper li.is-current .num { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

/* timeline */
.timeline { display: grid; gap: 0; margin-top: 14px; }
.timeline li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--hair); }
.timeline__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--graphite); color: var(--gold-hi); font-size: 13px; font-weight: 800; }
.timeline strong { display: block; font-size: .925rem; margin-top: 5px; }
.timeline p { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* feeds, queues, lists */
.feed { display: grid; }
.feed__item { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.feed__item:last-child { border-bottom: 0; }
.feed__dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--hair-2); }
.feed__item.is-unread .feed__dot { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.feed__title { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; line-height: 1.35; }
a.feed__title:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.feed__text { font-size: .825rem; color: var(--muted); margin-top: 2px; }
.feed__time { font-size: .75rem; color: var(--muted-2); }
.feed--compact .feed__item { padding: 8px 0; }
.queue { display: grid; gap: 4px; }
.queue__item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: inherit; }
.queue__item:hover { background: var(--porcelain); }
.queue__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--porcelain); color: var(--ink-2); }
.queue__icon--company { background: var(--info-soft); color: #1E4FA8; }
.queue__icon--product { background: var(--gold-soft); color: var(--gold-deep); }
.queue__icon--verification { background: var(--success-soft); color: #13744E; }
.queue__icon--claim { background: var(--warning-soft); color: #8A5300; }
.queue__icon--contact { background: #EEE9FB; color: #5B3FB0; }
.queue__body { display: grid; min-width: 0; }
.queue__body strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue__body span { font-size: .78rem; color: var(--muted); }
.queue__time { font-size: .75rem; color: var(--muted-2); white-space: nowrap; }
.mini-list { display: grid; }
.mini-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list__thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.mini-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-list li > div { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.mini-list li > div a { font-weight: 700; font-size: .875rem; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mini-list li > div a:hover { text-decoration: underline; }
.mini-list__num { font-family: var(--font-display); font-weight: 700; text-align: right; }
.mini-list__num small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--muted); }
.notif-list { overflow: hidden; }
.notif { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.notif:last-child { border-bottom: 0; }
.notif.is-unread { background: linear-gradient(90deg, rgba(242, 183, 5, .07), transparent 40%); }
.notif__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--porcelain); color: var(--ink-2); }
.notif__icon--quote { background: var(--success-soft); color: #13744E; }
.notif__icon--message { background: var(--info-soft); color: #1E4FA8; }
.notif__icon--rfq { background: var(--gold-soft); color: var(--gold-deep); }
.notif__icon--welcome { background: var(--graphite); color: var(--gold-hi); }
.notif__title { font-weight: 700; }
.notif__title a { text-decoration: none; }
.notif__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.notif.is-unread .notif__title::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.notif__text { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.notif__time { font-size: .78rem; color: var(--muted-2); white-space: nowrap; }

/* 12 · PAGES -------------------------------------------------------------- */
/* ---------- home: hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--graphite); padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 44px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__glow { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 78% 30%, rgba(242, 183, 5, .20), transparent 60%),
  radial-gradient(40% 50% at 95% 90%, rgba(255, 216, 77, .08), transparent 60%),
  radial-gradient(50% 60% at 0% 100%, rgba(47, 111, 222, .14), transparent 60%),
  linear-gradient(180deg, #0E141D 0%, #0A0D12 70%); }
.hero__grid { position: absolute; inset: 0; background-image: var(--hex); background-size: 64px auto; opacity: .035; mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 14px 6px 10px; border-radius: var(--r-pill); border: 1px solid rgba(242, 183, 5, .3); background: rgba(242, 183, 5, .08); color: var(--gold-hi); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.hero__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 183, 5, .6); animation: ping 2.2s var(--ease) infinite; }
.hero__title { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.0; background: linear-gradient(180deg, #FFFFFF 30%, #C9CED6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; max-width: 14ch; animation: fadeUp .7s var(--ease-out) both; }
.hero__sub { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: var(--on-dark-2); max-width: 56ch; line-height: 1.55; animation: fadeUp .7s .08s var(--ease-out) both; }
.hero-search { display: grid; gap: 12px; margin-top: 4px; animation: fadeUp .7s .16s var(--ease-out) both; max-width: 680px; }
.hero-search__tabs { display: inline-flex; gap: 4px; justify-self: start; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hair-d); }
.hero-search__tabs button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--on-dark-3); font-weight: 700; font-size: .85rem; transition: all var(--dur); }
.hero-search__tabs button:hover { color: #fff; }
.hero-search__tabs button.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-search__tabs button.is-active .icon { color: var(--gold-hi); }
.hero-search__bar { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 18px; border-radius: 18px; background: var(--paper); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 6px rgba(242, 183, 5, .08); }
.hero-search__bar:focus-within { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 2px var(--gold), 0 0 0 7px rgba(242, 183, 5, .18); }
.hero-search__icon { color: var(--muted-2); flex: none; }
.hero-search__bar input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; background: none; font-size: 1.05rem; color: var(--ink); }
.hero-search__bar input::placeholder { color: #8E959F; }
.hero-search__bar input::-webkit-search-cancel-button { display: none; }
.hero-search__go { flex: none; }
.hero-search__popular { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--on-dark-3); font-size: .85rem; }
.hero__visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero-mark { position: relative; width: min(520px, 100%); aspect-ratio: 504 / 326; }
.hero-mark__halo { position: absolute; inset: -18% -10%; background: radial-gradient(closest-side, rgba(242, 183, 5, .22), transparent 70%); filter: blur(8px); animation: breathe 6s ease-in-out infinite; }
.hero-mark__svg { position: relative; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: float 9s ease-in-out infinite; }
.hero-mark__svg .hx-wings { transform-box: fill-box; transform-origin: 0% 100%; animation: wingSweep 1.6s .15s var(--ease-out) both; }
.hero-mark__svg .hx-wings path:nth-child(1) { transform-box: fill-box; transform-origin: 0% 100%; animation: wingBeat 7s 2s ease-in-out infinite; }
.hero-mark__svg .hx-chrome { animation: chromeSweep 1.2s var(--ease-out) both; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; max-width: 290px;
  background: rgba(20, 27, 38, .72); border: 1px solid var(--hair-d2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); color: var(--on-dark);
  animation: cardIn .8s var(--ease-out) both, float 8s ease-in-out infinite;
}
.float-card > div { display: grid; gap: 2px; min-width: 0; }
.float-card strong { font-size: .875rem; font-weight: 700; line-height: 1.25; }
.float-card span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--on-dark-2); line-height: 1.35; }
.float-card .badges { position: absolute; top: -12px; right: 12px; }
.float-card__icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--chrome); }
.float-card__icon--gold { background: var(--grad-gold); color: var(--gold-ink); }
.float-card--a { left: -2%; top: 6%; animation-delay: .6s, 0s; }
.float-card--b { right: -2%; top: 46%; animation-delay: .8s, -3s; }
.float-card--c { left: 8%; bottom: 2%; animation-delay: 1s, -5s; }
/* trust strip */
.trust { position: relative; margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: 16px 36px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--hair-d2); backdrop-filter: blur(10px); }
.trust__label { display: inline-flex; align-items: center; gap: 8px; max-width: 180px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); line-height: 1.35; }
.trust__label .icon { color: var(--gold); flex: none; }
.trust__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trust__facts > div { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--hair-d); }
.trust__facts dd { order: -1; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.05; background: var(--grad-gold-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust__facts dt { font-size: .78rem; color: var(--on-dark-2); }
.trust__countries { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 16px; }
.trust__countries li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-dark-2); }
.trust__countries strong { margin-left: auto; color: var(--on-dark); font-weight: 700; padding-left: 8px; }
@media (max-width: 1180px) { .trust { grid-template-columns: 1fr; } .trust__label { max-width: none; } .trust__countries { grid-template-columns: repeat(4, auto); justify-content: start; } }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { position: absolute; right: -60px; top: 10px; width: 380px; min-height: 0; opacity: .22; pointer-events: none; z-index: -1; }
  .float-card { display: none; }
  .hero__title { max-width: 16ch; }
}
@media (max-width: 640px) {
  .trust__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .trust__countries { grid-template-columns: repeat(2, auto); }
  .hero-search__bar { flex-wrap: wrap; padding: 8px; gap: 6px; }
  .hero-search__icon { margin-left: 8px; }
  .hero-search__bar input { height: 46px; flex-basis: calc(100% - 40px); }
  .hero-search__go { width: 100%; }
  .hero__visual { width: 280px; right: -80px; }
}

/* ---------- home: industry rail */
.rail { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.rail__track { display: flex; gap: 16px; padding-inline: var(--edge); width: max-content; }
.rail-controls { display: flex; align-items: center; gap: 8px; }
.itile { width: 232px; flex: none; scroll-snap-align: start; }
.itile a { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.itile__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--sh-1); border: 1px solid var(--hair); }
.itile__media > img, .itile__media > .art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.itile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 13, 18, .45)); }
.itile__icon { position: absolute; left: 12px; bottom: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(10, 13, 18, .7); color: var(--gold-hi); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); }
.itile a:hover .itile__media > img, .itile a:hover .art__icon { transform: scale(1.07); }
.itile a:hover .itile__name { color: var(--gold-deep); }
.itile__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; transition: color var(--dur); }
.itile__meta { font-size: .8rem; color: var(--muted); margin-top: -6px; }
.itile__meta strong { color: var(--ink); }

/* ---------- home: how it works steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: var(--r-lg); background: var(--porcelain); border: 1px solid var(--hair); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -18px; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px); }
.step__num { position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #D2CDBF; }
.step__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); box-shadow: 0 10px 24px -12px rgba(10, 13, 18, .8); }
.step__title { font-size: 1.08rem; margin-top: 6px; }
.step__text { color: var(--muted); font-size: .925rem; line-height: 1.6; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- home: nearshoring comparison */
.nearshore { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.nearshore__copy { display: grid; gap: 18px; justify-items: start; }
.nearshore__note { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--on-dark-3); max-width: 52ch; line-height: 1.5; }
.nearshore__note .icon { flex: none; margin-top: 2px; color: var(--gold); }
.compare { border-radius: var(--r-xl); border: 1px solid var(--hair-d2); background: rgba(255, 255, 255, .03); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.3fr 1.4fr; }
.compare__row > span { padding: 15px 18px; font-size: .9rem; border-top: 1px solid var(--hair-d); display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.compare__row--head > span { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); padding-block: 16px; align-items: center; }
.compare__row > span:first-child { font-weight: 700; color: var(--on-dark); }
.compare__them { color: var(--on-dark-3); }
.compare__us { background: linear-gradient(90deg, rgba(242, 183, 5, .10), rgba(242, 183, 5, .03)); color: #fff; }
.compare__us .icon { flex: none; color: var(--gold-hi); margin-top: 2px; stroke-width: 2.5; }
.compare__row--head .compare__us { color: var(--gold-hi); }
@media (max-width: 960px) { .nearshore { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; border-top: 1px solid var(--hair-d); }
  .compare__row > span:not(:first-child) { border-top: 0; padding-top: 6px; font-size: .84rem; }
  .compare__row--head > span:first-child { display: none; }
  .compare__row--head > span:not(:first-child) { padding-top: 16px; }
}

/* ---------- home: services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--hair); box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #D9D3C2; }
.service__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-deep); border: 1px solid rgba(201, 148, 0, .25); }
.service__title { font-size: 1.1rem; margin-top: 4px; }
.service__text { color: var(--muted); font-size: .925rem; }
.service__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--gold-deep); font-weight: 700; font-size: .875rem; text-decoration: none; }
.service__link:hover { text-decoration: underline; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- home: network band */
.network-band { padding-block: clamp(44px, 5vw, 64px); }
.network-band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.network-band__head > div { display: grid; gap: 8px; }
.network { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.network__brand { display: grid; justify-items: center; gap: 8px; padding: 18px 12px; border-radius: var(--r-lg); border: 1px solid var(--hair-d); background: rgba(255, 255, 255, .025); text-align: center; text-decoration: none; color: var(--on-dark); transition: border-color var(--dur), background-color var(--dur), transform .35s var(--ease-out); height: 100%; }
.network__brand:hover { border-color: rgba(242, 183, 5, .45); background: rgba(242, 183, 5, .05); transform: translateY(-3px); }
.network__logo { width: 72px; height: 72px; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 10px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
.network__logo img { width: 100%; height: 100%; object-fit: contain; }
.network__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.network__ind { font-size: .75rem; color: var(--on-dark-3); }
@media (max-width: 1080px) { .network { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .network { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- home: dual CTA */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dual__card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-xl); }
.dual__card--buyer { background: var(--porcelain); border: 1px solid var(--hair); }
.dual__card--factory { background: radial-gradient(90% 90% at 100% 0%, rgba(242, 183, 5, .22), transparent 60%), linear-gradient(160deg, #1A2533, #0A0D12); color: var(--on-dark); border: 1px solid rgba(242, 183, 5, .25); }
.dual__hex { position: absolute; inset: 0; background-image: var(--hex); background-size: 52px auto; opacity: .05; z-index: -1; }
.dual__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.dual__icon--gold { background: var(--grad-gold); color: var(--gold-ink); }
.dual__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) { .dual { grid-template-columns: 1fr; } }

/* ---------- home: FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap__head { display: grid; gap: 14px; justify-items: start; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap__head { position: static; } }

/* ---------- dark page bands (catalog headers, content stubs) */
.hero-band { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--grad-dark); padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4.5vw, 52px); border-bottom: 1px solid var(--hair-d); }
.hero-band__glow { position: absolute; right: -10%; top: -60%; width: 60vw; height: 140%; background: radial-gradient(closest-side, rgba(242, 183, 5, .16), transparent); z-index: -1; pointer-events: none; }
.hero-band__inner { display: grid; gap: 16px; }
.hero-band__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 20px 40px; align-items: end; }
.hero-band__row > div { display: grid; gap: 10px; min-width: 0; }
.hero-band .display { color: #fff; }
.hero-band--compact { padding-bottom: clamp(28px, 4vw, 44px); }
.band-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .7); color: var(--muted-2); min-width: 0; }
.band-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: none; font-size: 1rem; color: var(--ink); }
.band-search:focus-within { box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .7), 0 0 0 3px rgba(242, 183, 5, .55); }
.band-search--wide { max-width: 760px; }
.band-stats { display: flex; gap: 32px; justify-content: flex-end; }
.band-stats > div { display: grid; }
.band-stats dd { order: -1; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; background: var(--grad-gold-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-stats dt { font-size: .8rem; color: var(--on-dark-2); }
.band-filter { position: relative; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 0 14px; height: 46px; border-radius: 12px; border: 1px solid var(--hair-d2); background: rgba(255, 255, 255, .05); color: var(--on-dark-3); }
.band-filter input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: #fff; }
.band-filter input::placeholder { color: var(--on-dark-3); }
.band-filter:focus-within { border-color: var(--gold); }
@media (max-width: 900px) { .hero-band__row { grid-template-columns: 1fr; } .band-stats { justify-content: flex-start; } }
@media (max-width: 480px) { .band-search .btn { padding: 0 12px; } }

/* ---------- catalog */
.section--catalog { padding-top: clamp(24px, 3vw, 36px); }
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters__panel { display: grid; gap: 0; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.filters__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; }
.filters__title .icon { color: var(--gold-deep); }
.filters__close { display: none; }
.filters__group { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.filters__group--toggles { gap: 2px; }
.filters__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.filters__label small { font-weight: 600; letter-spacing: .04em; }
.filters__actions { display: grid; gap: 8px; padding-top: 16px; }
.toolbar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar__filters { display: none; }
.toolbar__count { font-size: .9rem; color: var(--muted); }
.toolbar__count strong { color: var(--ink); font-weight: 700; }
.toolbar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.toolbar__sort { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--hair-2); background: var(--paper); color: var(--muted); box-shadow: var(--sh-1); }
.toolbar__sort select { appearance: none; border: 0; background: none; font-weight: 700; font-size: .875rem; color: var(--ink); padding-right: 16px; cursor: pointer; outline: none; }
.toolbar__sort::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.toolbar__sort:focus-within { border-color: #C99400; box-shadow: 0 0 0 3px rgba(242, 183, 5, .22); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; border: 1px solid var(--hair-2); background: var(--paper); box-shadow: var(--sh-1); }
.seg__btn { display: grid; place-items: center; width: 34px; height: 32px; border-radius: 8px; color: var(--muted); }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-active { background: var(--graphite); color: var(--gold-hi); }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.catalog-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hair); background: var(--paper); font-size: .85rem; color: var(--muted); }
.catalog-note .icon { flex: none; margin-top: 2px; color: var(--gold-deep); }
.catalog-note a { color: var(--gold-deep); font-weight: 700; }
@media (min-width: 1025px) {
  .filters.drawer { position: sticky; top: calc(var(--header-h) + 20px); inset: auto; visibility: visible; pointer-events: auto; z-index: 1; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--hair); box-shadow: var(--sh-1); scrollbar-width: thin; }
  .filters .drawer__backdrop { display: none; }
  .filters .drawer__panel { position: static; transform: none; width: auto; box-shadow: none; background: none; overflow: visible; padding: 18px 20px 20px; transition: none; }
}
@media (max-width: 1024px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .toolbar__filters { display: inline-flex; }
  .filters__close { display: grid; }
  .filters .drawer__panel { padding: 18px 20px 24px; }
}
@media (max-width: 560px) { .toolbar__right { margin-left: 0; width: 100%; } .toolbar__sort { flex: 1; } .toolbar__count { order: 3; width: 100%; } }

/* ---------- factory page */
.preview-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: var(--warning-soft); color: #7A4A00; font-size: .875rem; font-weight: 600; border-bottom: 1px solid rgba(199, 119, 0, .25); text-align: center; }
.fp-cover { position: relative; height: clamp(220px, 30vw, 380px); background: var(--navy); overflow: hidden; isolation: isolate; }
.fp-cover__img, .fp-cover__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fp-cover__art .art__icon { width: 14%; max-width: 120px; transform: translateX(26vw); opacity: .9; }
.fp-cover__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, .62) 0%, rgba(10, 13, 18, .1) 40%, rgba(10, 13, 18, .55) 100%); }
.fp-cover__crumbs { padding-top: 18px; }
.fp-cover__note { position: absolute; right: 16px; bottom: 14px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(10, 13, 18, .6); color: var(--on-dark-2); font-size: 11px; backdrop-filter: blur(6px); }
.fp-head { background: var(--paper); border-bottom: 1px solid var(--hair); padding-bottom: 24px; }
.fp-head__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: end; }
.fp-head__logo { margin-top: -58px; position: relative; z-index: 2; align-self: start; }
.fp-head__id { display: grid; gap: 8px; padding-top: 18px; min-width: 0; }
.fp-head__name { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing: -.03em; }
.fp-head__tagline { font-size: 1.05rem; color: var(--ink-2); max-width: 70ch; }
.fp-head__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .875rem; color: var(--muted); }
.fp-head__meta > * { display: inline-flex; align-items: center; gap: 7px; }
.fp-head__meta a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.fp-head__meta a:hover { text-decoration: underline; }
.fp-head__meta .icon { color: var(--gold-deep); }
.fp-head__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; max-width: 520px; }
.claim-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 16px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px dashed #CDBB88; background: linear-gradient(90deg, #FFF9E6, #FFFDF6); }
.claim-bar__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.claim-bar strong { font-size: .95rem; }
.claim-bar p { font-size: .85rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 22px; border: 1px solid var(--hair); border-radius: 16px; background: var(--porcelain); overflow: hidden; }
.facts__item { display: grid; gap: 4px; padding: 14px 16px; border-right: 1px solid var(--hair); margin-right: -1px; min-width: 0; }
.facts__item dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.facts__item dt .icon { color: var(--gold-deep); }
.facts__item dd { font-weight: 600; font-size: .925rem; color: var(--ink); line-height: 1.35; }
.fp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.fp-main { display: grid; gap: 20px; min-width: 0; }
.fp-sec { padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 72px); min-width: 0; }
section.fp-sec:not(.card) { padding: 8px 0 0; }
.fp-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fp-sec__title { font-size: 1.25rem; letter-spacing: -.02em; }
.fp-industries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--hair); }
.fp-industries__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-right: 4px; }
.certs { display: grid; gap: 10px; }
.certs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--porcelain); border: 1px solid var(--hair); }
.certs li > div { display: grid; gap: 2px; }
.certs strong { font-size: .925rem; }
.certs span { font-size: .82rem; color: var(--muted); }
.certs__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--hair); color: var(--gold-deep); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--porcelain-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.locbox { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; }
.locbox__map { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background:
  radial-gradient(circle at 50% 50%, rgba(242, 183, 5, .18), transparent 50%),
  radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px) 0 0 / 14px 14px,
  linear-gradient(160deg, #1A2533, #0A0D12); display: grid; place-items: center; }
.locbox__pin { position: relative; z-index: 1; color: var(--gold-hi); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.locbox__ring { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(242, 183, 5, .6); animation: ringOut 2.6s ease-out infinite; }
.locbox__list { display: grid; gap: 0; }
.locbox__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: .925rem; }
.locbox__list > div:last-child { border-bottom: 0; }
.locbox__list dt { color: var(--muted); }
.locbox__list dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.locbox__list a { color: var(--gold-deep); }
@media (max-width: 640px) { .locbox { grid-template-columns: 1fr; } .locbox__map { aspect-ratio: 16 / 7; } }
.fp-aside { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 16px; }
.rfq-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); color: var(--on-dark); background: radial-gradient(100% 80% at 100% 0%, rgba(242, 183, 5, .22), transparent 60%), linear-gradient(165deg, #1A2533, #0A0D12); border: 1px solid rgba(242, 183, 5, .25); box-shadow: var(--sh-3); }
.rfq-card__title { font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.rfq-card__steps { display: grid; gap: 10px; counter-reset: r; margin-bottom: 4px; }
.rfq-card__steps li { position: relative; padding-left: 34px; font-size: .875rem; color: var(--on-dark-2); line-height: 1.45; counter-increment: r; }
.rfq-card__steps li::before { content: counter(r); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 183, 5, .14); color: var(--gold-hi); font-size: 12px; font-weight: 800; border: 1px solid rgba(242, 183, 5, .35); }
.rfq-card__fine { font-size: .78rem; color: var(--on-dark-3); line-height: 1.5; }
.verify-card, .assist-card { padding: 20px; }
.verify-card { display: grid; gap: 14px; }
.verify-card__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.verify-card__title .icon { color: var(--gold-deep); }
.verify-steps { display: grid; gap: 12px; }
.verify-steps li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; opacity: .62; }
.verify-steps li.is-done { opacity: 1; }
.verify-steps li > div { display: grid; gap: 1px; }
.verify-steps strong { font-size: .875rem; }
.verify-steps span { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.verify-steps__dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed #BDB8AA; color: var(--muted); }
.verify-steps .is-done .verify-steps__dot { background: var(--graphite); border: 0; color: var(--gold-hi); }
.assist-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.assist-card > div { display: grid; gap: 4px; justify-items: start; }
.assist-card strong { font-size: .95rem; }
.assist-card p { font-size: .85rem; color: var(--muted); }
.assist-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-deep); }
@media (max-width: 1080px) {
  .fp-head__grid { grid-template-columns: auto minmax(0, 1fr); }
  .fp-head__actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .fp-body { grid-template-columns: 1fr; }
  .fp-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .fp-head__grid { grid-template-columns: 1fr; }
  .fp-head__logo { margin-top: -52px; }
  .fp-head__logo .logo-tile--xl { --s: 92px; }
  .fp-head__id { padding-top: 0; }
  .fp-head__actions .btn--lg { flex: 1 1 100%; }
  .claim-bar { grid-template-columns: auto 1fr; }
  .claim-bar .btn, .claim-bar .chip { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- product page */
.section--product { padding-top: 20px; }
.section--product .crumbs { margin-bottom: 18px; }
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.pp__gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.pp__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--paper); border: 1px solid var(--hair); box-shadow: var(--sh-2); }
.pp__main-link, .pp__main-link img, .pp__art { display: block; width: 100%; height: 100%; }
.pp__main-link img { object-fit: cover; transition: transform .8s var(--ease-out); }
.pp__main-link:hover img { transform: scale(1.03); }
.pp__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(10, 13, 18, .7); color: #fff; font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px); }
.pp__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pp__thumbs a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--porcelain-2); }
.pp__thumbs a.is-active { border-color: var(--gold); }
.pp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp__info { display: grid; gap: 18px; min-width: 0; }
.pp__supplier-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: .9rem; color: var(--ink-2); text-decoration: none; justify-self: start; }
.pp__supplier-line:hover > span:first-of-type { text-decoration: underline; }
.pp__title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; }
.pp__summary { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.pp__price-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--hair); box-shadow: var(--sh-1); }
.pp__price-box > div:first-child { display: grid; gap: 2px; }
.pp__price-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.pp__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; }
.pp__price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pp__price-note { font-size: .8rem; color: var(--muted); }
.incoterm { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 16px; border-radius: 14px; background: var(--graphite); color: var(--on-dark-2); cursor: help; }
.incoterm__code { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; color: var(--gold-hi); letter-spacing: .06em; }
.incoterm__label { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.incoterm .tooltip { left: auto; right: 0; transform: translateY(4px); }
.incoterm .tooltip::after { left: auto; right: 24px; }
.incoterm:hover .tooltip, .incoterm:focus .tooltip { transform: none; }
.pp__terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.pp__terms > div { display: grid; gap: 3px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.pp__terms > div:nth-child(odd) { border-right: 1px solid var(--hair); }
.pp__terms > div:nth-last-child(-n+2) { border-bottom: 0; }
.pp__terms dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.pp__terms dt .icon { color: var(--gold-deep); }
.pp__terms dd { font-weight: 600; font-size: .95rem; }
.pp__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pp__actions .icon-btn--outline { width: 52px; height: 52px; border-radius: 14px; }
.pp__assure { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--hair); }
.pp__assure li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.pp__assure .icon { color: var(--success); }
.pp-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.pp-detail__main { display: grid; gap: 20px; min-width: 0; }
.pp-detail__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.supplier-card { display: grid; gap: 14px; padding: 22px; }
.supplier-card__id { display: flex; gap: 14px; align-items: center; }
.supplier-card__id > div { display: grid; gap: 3px; min-width: 0; }
.supplier-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.supplier-card__name:hover { text-decoration: underline; }
.supplier-card__loc { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); }
.supplier-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hair); border-radius: 12px; background: var(--porcelain); }
.supplier-card__facts > div { padding: 10px; display: grid; gap: 2px; min-width: 0; }
.supplier-card__facts > div + div { border-left: 1px solid var(--hair); }
.supplier-card__facts dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }
.supplier-card__facts dd { font-size: .85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.supplier-card__actions { display: grid; gap: 8px; }
@media (max-width: 980px) {
  .pp { grid-template-columns: 1fr; }
  .pp__gallery { position: static; }
  .pp-detail { grid-template-columns: 1fr; }
  .pp-detail__aside { position: static; }
}
@media (max-width: 520px) {
  .pp__actions .btn--lg { flex: 1 1 100%; }
  .pp__terms { grid-template-columns: 1fr; }
  .pp__terms > div:nth-child(odd) { border-right: 0; }
  .pp__terms > div:nth-last-child(2) { border-bottom: 1px solid var(--hair); }
}

/* ---------- industries */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 18px; }
.icard__link { display: grid; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.icard__link:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: #D9D3C2; }
.icard__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--navy); }
.icard__media > img, .icard__media > .art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.icard__link:hover .icard__media > img, .icard__link:hover .art__icon { transform: scale(1.06); }
.icard__body { position: relative; display: grid; gap: 3px; padding: 26px 18px 16px; }
.icard__icon { position: absolute; top: -22px; left: 16px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); border: 3px solid var(--paper); }
.icard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.icard__alt { font-size: .8rem; color: var(--muted-2); font-style: italic; }
.icard__stats { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: .78rem; color: var(--muted); }
.icard__stats strong { color: var(--ink); font-size: .9rem; }
.list-filter-empty { padding: 28px; text-align: center; color: var(--muted); }
.ind-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); padding: clamp(36px, 5vw, 64px) 0; background: var(--graphite); }
.ind-hero__media { position: absolute; inset: 0; z-index: -1; }
.ind-hero__media img, .ind-hero__art { width: 100%; height: 100%; object-fit: cover; }
.ind-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 18, .95) 0%, rgba(10, 13, 18, .8) 45%, rgba(10, 13, 18, .45) 100%); }
.ind-hero__inner { display: grid; gap: 16px; justify-items: start; }
.ind-hero__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-gold); color: var(--gold-ink); margin-top: 8px; }
.ind-hero .display { color: #fff; }
.ind-hero__stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.ind-hero__stats > div { display: grid; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hair-d2); backdrop-filter: blur(8px); min-width: 150px; }
.ind-hero__stats dd { order: -1; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.03em; color: var(--gold-hi); line-height: 1.1; }
.ind-hero__stats dt { font-size: .78rem; color: var(--on-dark-2); }
.ind-hero__note { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--on-dark-3); }
.ind-hero__note .icon { color: var(--gold); flex: none; }
.ind-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ind-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; margin-top: 16px; }
.ind-links a { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--hair); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: border-color var(--dur), transform var(--dur); }
.ind-links a:hover { border-color: var(--ink); transform: translateY(-1px); }
.ind-links a .icon { color: var(--gold-deep); flex: none; }
.ind-links a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ind-links small { color: var(--muted); font-size: .78rem; }
.ind-links__all { justify-content: center; background: var(--graphite) !important; color: var(--gold-hi) !important; border-color: var(--graphite) !important; }
.ind-links__all .icon { color: var(--gold-hi) !important; }

/* ---------- search */
.search-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.search-jump a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--hair-d2); color: var(--on-dark); text-decoration: none; font-size: .85rem; font-weight: 600; }
.search-jump a:hover { background: rgba(255, 255, 255, .08); }
.search-jump .num { color: var(--gold-hi); }
.search-results { display: grid; gap: 44px; }
.search-block { display: grid; gap: 4px; scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- claim */
.claim { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.claim__main { padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.claim__company { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.claim__company > div { display: grid; gap: 3px; }
.claim__company strong { font-family: var(--font-display); font-size: 1.15rem; }
.claim__company span { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--muted); }
.claim__aside { display: grid; gap: 12px; }
.claim__aside .card { padding: 22px; }
@media (max-width: 960px) { .claim { grid-template-columns: 1fr; } }

/* ---------- auth */
.layout-auth { background: var(--porcelain); }
.auth { display: grid; grid-template-columns: minmax(380px, 42%) 1fr; min-height: 100vh; }
.auth-brand { position: sticky; top: 0; height: 100vh; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); color: var(--on-dark); background: var(--grad-dark); }
.auth-brand__glow { position: absolute; left: -20%; bottom: -30%; width: 120%; height: 80%; background: radial-gradient(closest-side, rgba(242, 183, 5, .2), transparent); z-index: -1; }
.auth-brand__hex { position: absolute; inset: 0; background-image: var(--hex); background-size: 60px auto; opacity: .04; z-index: -1; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.auth-brand__logo img { width: 170px; height: auto; }
.auth-brand__body { display: grid; gap: 18px; max-width: 460px; }
.auth-brand__title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; background: linear-gradient(180deg, #fff 30%, #C9CED6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-brand__list { display: grid; gap: 16px; margin-top: 8px; }
.auth-brand__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.auth-brand__list li > div { display: grid; gap: 2px; }
.auth-brand__list strong { color: #fff; font-size: .95rem; }
.auth-brand__list span { color: var(--on-dark-2); font-size: .85rem; line-height: 1.5; }
.auth-brand__tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 183, 5, .14); color: var(--gold-hi); border: 1px solid rgba(242, 183, 5, .35); }
.auth-brand__tick .icon { stroke-width: 2.6; }
.auth-brand__foot { display: grid; gap: 14px; }
.auth-brand__mark { width: 220px; height: auto; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.auth-brand__foot p { font-size: .78rem; color: var(--on-dark-3); max-width: 46ch; line-height: 1.5; }
.auth-main { display: flex; flex-direction: column; min-width: 0; }
.auth-main__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); }
.auth-main__back { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.auth-main__back:hover { color: var(--ink); }
.auth-main__logo { display: none; }
.auth-main__logo img { height: 28px; width: auto; }
.auth-main__body { flex: 1; display: grid; place-items: center; padding: 12px clamp(16px, 4vw, 40px) 32px; }
.auth-main__legal { padding: 0 clamp(16px, 4vw, 40px) 24px; text-align: center; font-size: .78rem; color: var(--muted); }
.auth-main__legal a { color: var(--ink-2); }
.auth-card { width: 100%; max-width: 460px; display: grid; gap: 18px; }
.auth-card--wide { max-width: 680px; }
.auth-card__title { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); letter-spacing: -.03em; }
.auth-card__sub { color: var(--muted); margin-top: -8px; }
.auth-card__back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.auth-card__back:hover { color: var(--ink); }
.auth-card > .chip { justify-self: start; }
.auth-card__divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.auth-card__divider::before, .auth-card__divider::after { content: ""; flex: 1; height: 1px; background: var(--hair-2); }
.auth-card__alt { display: grid; gap: 10px; }
.auth-card__foot { text-align: center; font-size: .875rem; color: var(--muted); }
.auth-card__foot a { color: var(--gold-deep); font-weight: 700; }
.demo-box { border: 1px dashed #CDBB88; border-radius: 14px; background: #FFFCF2; }
.demo-box summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; font-weight: 700; font-size: .875rem; color: var(--gold-deep); list-style: none; }
.demo-box summary::-webkit-details-marker { display: none; }
.demo-box__body { display: grid; gap: 8px; padding: 0 14px 14px; }
.demo-box__body p { font-size: .82rem; color: var(--muted); }
.demo-box__acct { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hair-2); background: var(--paper); min-width: 0; }
.demo-box__acct:hover { border-color: var(--ink); }
.demo-box__acct strong { font-size: .85rem; }
.demo-box__acct span { font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-xl); border: 1px solid var(--hair); background: var(--paper); text-decoration: none; color: inherit; box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--gold); }
.role-card--factory { background: radial-gradient(100% 80% at 100% 0%, rgba(242, 183, 5, .2), transparent 60%), linear-gradient(165deg, #1A2533, #0A0D12); color: var(--on-dark); border-color: rgba(242, 183, 5, .3); }
.role-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.role-card--factory .role-card__icon { background: var(--grad-gold); color: var(--gold-ink); }
.role-card__kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }
.role-card--factory .role-card__kicker { color: var(--gold-hi); }
.role-card__title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.role-card__list { display: grid; gap: 8px; margin: 4px 0 10px; }
.role-card__list li { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--muted); }
.role-card--factory .role-card__list li { color: var(--on-dark-2); }
.role-card__list .icon { flex: none; margin-top: 3px; color: var(--success); stroke-width: 2.6; }
.role-card--factory .role-card__list .icon { color: var(--gold-hi); }
.role-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-deep); margin-top: auto; }
.role-card--factory .role-card__cta { color: var(--gold-hi); }
@media (max-width: 1000px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-main__logo { display: block; }
  .auth-main__back span, .auth-main__back { font-size: .8rem; }
}
@media (max-width: 600px) { .role-choice { grid-template-columns: 1fr; } .auth-main__back { display: none; } }

/* ---------- dashboard */
.layout-dash { background: var(--porcelain); }
.dash { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.dash-side.drawer { position: sticky; top: 0; height: 100vh; inset: auto; visibility: visible; pointer-events: auto; z-index: 50; }
.dash-side .drawer__backdrop { display: none; }
.dash-side__panel { position: relative !important; inset: auto !important; transform: none !important; width: 100% !important; height: 100%; display: flex; flex-direction: column; background: var(--slate) !important; color: var(--on-dark); box-shadow: none !important; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.dash-side__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(242, 183, 5, .5), transparent); }
.area-admin .dash-side__panel::before { height: 3px; background: var(--grad-gold-x); }
.dash-side__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 14px; }
.dash-side__logo img { width: 128px; height: auto; }
.dash-side__close { display: none; }
.dash-side__ctx { display: grid; gap: 12px; padding: 4px 16px 16px; border-bottom: 1px solid var(--hair-d); }
.dash-side__role { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .06); color: var(--on-dark-2); border: 1px solid var(--hair-d); }
.dash-side__role--admin { background: var(--grad-gold); color: var(--gold-ink); border-color: transparent; }
.dash-side__role--seller .icon, .dash-side__role--buyer .icon { color: var(--gold); }
.dash-side__company { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--hair-d); text-decoration: none; color: inherit; min-width: 0; }
a.dash-side__company:hover { border-color: rgba(242, 183, 5, .35); }
.dash-side__company > span:last-child { display: grid; gap: 4px; min-width: 0; }
.dash-side__company strong { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-side__company small { font-size: 11px; color: var(--on-dark-3); justify-self: start; }
.dash-side__company .status { height: 20px; font-size: 10.5px; }
.dash-nav { display: grid; gap: 2px; padding: 12px 12px; flex: 1; align-content: start; }
.dash-nav__section { padding: 14px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.dash-nav__link { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 11px; color: var(--on-dark-2); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color var(--dur), color var(--dur); }
.dash-nav__link .icon { color: var(--on-dark-3); flex: none; transition: color var(--dur); }
.dash-nav__link span:not(.dash-nav__badge) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-nav__link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.dash-nav__link:hover .icon { color: var(--on-dark); }
.dash-nav__link.is-active { background: linear-gradient(90deg, rgba(242, 183, 5, .16), rgba(242, 183, 5, .04)); color: #fff; }
.dash-nav__link.is-active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.dash-nav__link.is-active .icon { color: var(--gold-hi); }
.dash-nav__badge { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; }
.dash-side__foot { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--hair-d); }
.dash-side__help { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; color: var(--on-dark-2); font-size: .85rem; font-weight: 600; text-decoration: none; background: rgba(242, 183, 5, .06); border: 1px solid rgba(242, 183, 5, .18); }
.dash-side__help .icon { color: var(--gold-hi); }
.dash-side__user { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 4px 4px 8px; }
.dash-side__user > div { display: grid; min-width: 0; }
.dash-side__user strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--on-dark); }
.dash-side__user span { font-size: .72rem; color: var(--on-dark-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-main { display: flex; flex-direction: column; min-width: 0; }
.dash-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 clamp(16px, 2.6vw, 32px); background: rgba(246, 245, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.dash-top__burger, .dash-top__logo { display: none; }
.dash-top__logo img { width: 40px; height: auto; }
.dash-top__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dash-content { flex: 1; width: 100%; max-width: 1440px; padding: clamp(20px, 2.8vw, 34px) clamp(16px, 2.6vw, 32px) 40px; display: grid; gap: 20px; align-content: start; }
.dash-foot { display: flex; gap: 18px; flex-wrap: wrap; padding: 18px clamp(16px, 2.6vw, 32px); border-top: 1px solid var(--hair); font-size: .78rem; color: var(--muted); }
.dash-foot a { color: var(--muted); }
.dash-grid { display: grid; gap: 20px; align-items: start; }
.dash-grid--2-1 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.dash-grid--1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-section { display: grid; gap: 16px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.page-head > div:first-child { display: grid; gap: 6px; min-width: 0; }
.page-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); letter-spacing: -.03em; }
.page-sub { color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.onboard { display: grid; grid-template-columns: 148px 1fr; gap: 28px; align-items: center; padding: 24px clamp(20px, 2.6vw, 30px); background: radial-gradient(70% 120% at 0% 0%, rgba(242, 183, 5, .10), transparent 60%), var(--paper); }
.onboard__ring { position: relative; width: 140px; height: 140px; }
.ring__label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; }
.ring__label small { font-size: .9rem; margin-left: 1px; color: var(--muted); }
.onboard__body { display: grid; gap: 12px; min-width: 0; }
.onboard--done .ring__value { stroke: var(--success); }
.assure-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: linear-gradient(90deg, #FFFBEE, var(--paper)); }
.assure-strip__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.assure-strip p { color: var(--muted); font-size: .9rem; }
.nocompany { justify-items: start; padding: 32px; }
.nocompany__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--graphite); color: var(--gold-hi); }
.nocompany p { color: var(--muted); max-width: 60ch; }
.dbfacts { grid-template-columns: minmax(0, 1fr) auto; align-items: center; background: radial-gradient(80% 140% at 100% 0%, rgba(242, 183, 5, .12), transparent 60%), var(--paper); }
.dbfacts__list { display: flex; gap: 28px; flex-wrap: wrap; }
.dbfacts__list > div { display: grid; }
.dbfacts__list dd { order: -1; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.03em; }
.dbfacts__list dt { font-size: .78rem; color: var(--muted); }
.stub { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); overflow: hidden; position: relative; }
.stub__art { position: relative; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(242, 183, 5, .25), transparent 60%), linear-gradient(160deg, #1A2533, #0A0D12); }
.stub__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--hex); background-size: 36px auto; opacity: .06; }
.stub__art img { width: 64%; height: auto; position: relative; z-index: 1; animation: float 7s ease-in-out infinite; }
.stub__body { display: grid; gap: 12px; justify-items: start; }
.stub__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.stub__text { color: var(--ink-2); font-size: 1.02rem; max-width: 62ch; }
.stub__meta { color: var(--muted); font-size: .875rem; max-width: 62ch; }
.stub__contact { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.stub__contact li { display: inline-flex; align-items: center; gap: 8px; }
.stub__contact .icon { color: var(--gold-deep); }
.stub__contact a { color: var(--ink); }
.stub__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 720px) { .stub { grid-template-columns: 1fr; } .stub__art { width: 140px; } }
@media (max-width: 1180px) { .dash-grid--2-1, .dash-grid--1-1 { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side.drawer { position: fixed; inset: 0; height: auto; visibility: hidden; pointer-events: none; z-index: 95; }
  .dash-side.drawer.is-open { visibility: visible; pointer-events: auto; }
  .dash-side .drawer__backdrop { display: block; }
  .dash-side__panel { position: absolute !important; top: 0 !important; bottom: 0 !important; left: 0 !important; width: min(300px, 86vw) !important; transform: translateX(-100%) !important; transition: transform .32s var(--ease-out); }
  .dash-side.is-open .dash-side__panel { transform: none !important; }
  .dash-side__close { display: grid; }
  .dash-top__burger, .dash-top__logo { display: grid; }
}
@media (max-width: 640px) {
  .dash-top { gap: 8px; }
  .dash-top .search-trigger--light { flex: none; width: 40px; padding: 0; justify-content: center; }
  .dash-top .search-trigger__text, .dash-top .kbd { display: none; }
  .onboard { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .onboard__body { justify-items: stretch; text-align: left; }
  .assure-strip { grid-template-columns: auto 1fr; }
  .assure-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .dbfacts { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .dash-top .lang-switch { display: none; } }

/* ---------- error pages */
.error-page { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--grad-dark); padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.error-page__glow { position: absolute; left: 50%; top: 30%; width: 700px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(242, 183, 5, .18), transparent); z-index: -1; }
.error-page__inner { display: grid; justify-items: center; gap: 16px; position: relative; }
.error-page__code { position: absolute; top: -70px; left: 50%; transform: translateX(-50%); z-index: -1; font-family: var(--font-display); font-weight: 700; font-size: clamp(9rem, 26vw, 20rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 183, 5, .22); letter-spacing: -.05em; user-select: none; }
.error-page__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-gold); color: var(--gold-ink); box-shadow: var(--sh-gold); }
.error-page .display { color: #fff; max-width: 20ch; }
.error-page .lead { margin-inline: auto; }
.error-page__detail { font-family: var(--font-mono); font-size: .8rem; color: #FFB4AA; background: rgba(210, 70, 58, .12); padding: 8px 12px; border-radius: 8px; max-width: 80ch; overflow-wrap: anywhere; }
.error-page__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.error-page__search { width: min(560px, 100%); margin-top: 18px; }

/* 13 · MOTION & UTILITIES ------------------------------------------------- */
.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; }
/* scroll reveal: only elements below the fold get .reveal (set by app.js); a safety timer reveals all */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
@keyframes pop { 40% { transform: scale(1.25); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(242, 183, 5, 0); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 183, 5, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(242, 183, 5, 0); } }
@keyframes ringOut { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes breathe { 50% { opacity: .65; transform: scale(1.04); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes wingSweep { 0% { opacity: 0; transform: rotate(-24deg) translate(-8%, 6%); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes wingBeat { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-4deg); } 94% { transform: rotate(1.5deg); } }
@keyframes chromeSweep { from { clip-path: inset(0 0 0 100%); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .site-footer, .announce, .toasts, .dash-side, .dash-top, .subnav { display: none !important; }
  body { background: #fff; }
}

/* QA fix: dashboard page headers must never push past the viewport on phones */
.page-head > div:first-child { flex: 1 1 280px; }
@media (max-width: 720px) {
  .page-head { display: grid; grid-template-columns: minmax(0, 1fr); }
  .page-head > * { min-width: 0; max-width: 100%; }
  .page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
}
.dash-content { grid-template-columns: minmax(0, 1fr); }
.dash-content > * { min-width: 0; }
@media (max-width: 760px) { .table--responsive td { grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); overflow-wrap: anywhere; } }
/* Header: keep the primary nav on one line on laptop widths (links stay in the mobile drawer + footer) */
@media (max-width: 1340px) { .nav > a.nav__link:nth-last-of-type(-n+2) { display: none; } }
@media (max-width: 1180px) { .nav > a.nav__link:nth-last-of-type(-n+3) { display: none; } }
:root{--hivex-editorial-release:20261015}
.hero__visual .editorial-hero{position:absolute;inset:1rem 0 5rem;margin:0;overflow:hidden;border-radius:12px;border:1px solid rgba(242,183,5,.3);background:#111820}
.editorial-hero__image{width:100%;height:100%;object-fit:cover;display:block}
.editorial-hero figcaption{position:absolute;bottom:0;left:0;right:0;padding:.6rem .8rem;background:rgba(10,13,18,.92);color:#d7dee9;font-size:.7rem;line-height:1.35}
.itile__media,.icard__media{position:relative}
.editorial-image-label{position:absolute;bottom:0;left:0;right:0;padding:5px 8px;background:rgba(10,13,18,.9);color:#e5e9ee;font-size:9px;line-height:1.3;z-index:2}
.editorial-image-note{display:inline-block;background:#0d121a;color:#e5e9ee;padding:5px 9px;font-size:11px;border:1px solid #5d6570}
