/* ==========================================================================
   Prayag Enterprises — core stylesheet
   Tokens → base → layout → components → sections → pages
   Brand colours sampled from the official logo:
   blue #248FF7 · red #E43B40 · black #090909
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f4f6f9;          /* off-white, slight blue bias */
  --studio: #eef1f5;        /* product-photo backdrop */
  --line: #e1e6ec;
  --line-strong: #c9d1db;
  --ink: #11151b;
  --ink-2: #353d48;
  --muted: #5d6774;
  --blue: #248ff7;          /* logo blue: marks, rules, large type */
  --blue-ink: #0a63c9;      /* AA-contrast blue for text + buttons */
  --blue-ink-hover: #0852a8;
  --blue-wash: #e9f3fe;
  --red: #e43b40;           /* logo red: small accents only */
  --on-blue: #ffffff;
  --success: #1b7f4b;
  --danger: #c4282d;
  --shadow: 0 1px 0 rgba(17, 21, 27, .06), 0 8px 24px -12px rgba(17, 21, 27, .18);

  /* footer is always dark */
  --f-bg: #0c1015;
  --f-line: #232a33;
  --f-ink: #eef1f5;
  --f-muted: #97a1ad;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-eyebrow: .78rem;
  --fs-small: .875rem;
  --fs-body: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lede: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.08rem + .7vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.45rem + 3.4vw, 4.25rem);

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --col-gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1217;
    --bg-2: #141a21;
    --studio: #1a2129;
    --line: #242c36;
    --line-strong: #34404d;
    --ink: #eef1f5;
    --ink-2: #c7ced8;
    --muted: #919cab;
    --blue-ink: #5aaeff;
    --blue-ink-hover: #86c4ff;
    --blue-wash: #13263b;
    --on-blue: #06121f;
    --success: #4cc38a;
    --danger: #ff6b6f;
    --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 10px 28px -12px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1217;
  --bg-2: #141a21;
  --studio: #1a2129;
  --line: #242c36;
  --line-strong: #34404d;
  --ink: #eef1f5;
  --ink-2: #c7ced8;
  --muted: #919cab;
  --blue-ink: #5aaeff;
  --blue-ink-hover: #86c4ff;
  --blue-wash: #13263b;
  --on-blue: #06121f;
  --success: #4cc38a;
  --danger: #ff6b6f;
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 10px 28px -12px rgba(0, 0, 0, .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -.032em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--bg-2); }
.section + .section:not(.section--alt):not(.band) { border-top: 1px solid var(--line); }
.band { background: var(--bg-2); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: var(--fs-eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.eyebrow--plain::before { display: none; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.prose { color: var(--ink-2); max-width: 64ch; display: grid; gap: 1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.muted { color: var(--muted); }
.code {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .02em;
  color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: var(--radius); white-space: nowrap;
}

/* Editable content marker: visible, deliberate, easy to find before launch */
.edit {
  font-family: var(--mono); font-size: .86em; letter-spacing: 0;
  color: var(--blue-ink); background: var(--blue-wash);
  border-bottom: 1px dashed var(--blue-ink); padding: 0 4px; white-space: normal; overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- buttons & links ---------- */
.btn {
  --btn-bg: var(--blue-ink); --btn-fg: var(--on-blue); --btn-bd: var(--blue-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); font-weight: 600; font-size: .9375rem; letter-spacing: -.005em;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--blue-ink-hover); --btn-bd: var(--blue-ink-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn .arrow, .link-arrow .arrow { transition: transform .25s var(--ease); flex: none; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--blue-ink);
  padding-block: 6px;
}
.link-arrow:hover { color: var(--blue-ink-hover); }
.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.link-underline:hover { background-size: 100% 1px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: color-mix(in srgb, var(--bg) 0%, transparent);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open, .site-header--solid {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(17, 21, 27, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand-logo { display: block; flex: none; }
.brand-logo img { height: 40px; width: auto; }
.logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  display: block; padding: 10px 12px; font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--ink); }
.header-cta { flex: none; }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: var(--bg); z-index: 99; overflow-y: auto;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-menu nav { padding-block: 8px 32px; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em;
}
.mobile-menu a.m-link[aria-current="page"] { color: var(--blue-ink); }
.mobile-menu .m-foot { display: grid; gap: 16px; padding-top: 28px; }
.mobile-menu .m-foot .btn { width: 100%; }

/* ---------- image placeholder (honest, swappable) ---------- */
.ph {
  position: relative; margin: 0; width: 100%; max-width: 100%;
  aspect-ratio: var(--r, 4 / 3);
  background:
    radial-gradient(120% 90% at 50% 38%, color-mix(in srgb, var(--bg) 70%, var(--studio)) 0%, var(--studio) 62%);
  overflow: hidden; isolation: isolate;
}
.ph::before, .ph::after { /* crop marks */
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--line-strong); border-style: solid; border-width: 0;
}
.ph::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.ph::after { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.ph-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: clamp(16px, 3vw, 28px);
}
.ph-tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); padding: 4px 8px; background: var(--bg);
}
.ph-rec { font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.ph-file { font-family: var(--mono); font-size: .6875rem; color: var(--muted); opacity: .8; word-break: break-all; }
.ph--compact .ph-rec, .ph--compact .ph-file { display: none; }
.ph--compact .ph-tag { font-size: .625rem; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.ph.has-img::before, .ph.has-img::after { display: none; }

/* ---------- section intro (label rail + body) ---------- */
.intro { row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.intro-label { grid-column: 1 / 4; align-self: start; padding-top: 10px; }
.intro-body { grid-column: 4 / 13; display: grid; gap: 20px; }
.intro-body--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: end; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero .grid { align-items: center; row-gap: 48px; }
.hero-copy { grid-column: 1 / 7; display: grid; gap: 28px; align-content: center; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy h1 em { font-style: normal; color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; margin-top: 8px;
  border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted);
}
.hero-meta li { display: flex; align-items: baseline; gap: 10px; }
.hero-meta b { font-family: var(--mono); font-weight: 500; font-size: .75rem; color: var(--ink); letter-spacing: .06em; }
.hero-visual { grid-column: 7 / 13; position: relative; }
.hero-visual .ph { --r: 5 / 5.4; }
.product-label {
  position: absolute; left: clamp(-40px, -3vw, -16px); bottom: clamp(20px, 4vw, 44px);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 18px 20px; min-width: 260px; max-width: 320px; display: grid; gap: 10px;
}
.product-label dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .8125rem; }
.product-label dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.product-label dd { margin: 0; color: var(--ink); font-weight: 500; }
.product-label .pl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.product-label .pl-head span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-label .pl-head i { width: 8px; height: 8px; background: var(--red); display: block; }

/* ---------- trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 28px; }
.trust .grid { align-items: center; row-gap: 20px; }
.trust-title { grid-column: 1 / 4; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.trust-title small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.trust-list { grid-column: 4 / 13; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.trust-list a {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; color: var(--muted);
  opacity: 1; transition: color .25s var(--ease), opacity .25s var(--ease);
  white-space: nowrap;
}
.trust-list a:hover { color: var(--ink); opacity: 1; }

/* ---------- about (home) ---------- */
.about .grid { row-gap: 40px; align-items: start; }
.about-media { grid-column: 1 / 6; position: relative; }
.about-media .ph { --r: 4 / 5; }
.about-media figcaption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.about-copy { grid-column: 7 / 13; display: grid; gap: 24px; padding-top: clamp(0px, 3vw, 40px); }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 12px; }
.about-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.about-facts div:nth-child(odd) { padding-right: 16px; }
.about-facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.about-facts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 0; font-weight: 600; }

/* ---------- brands showcase ---------- */
.brand-feature { row-gap: 32px; align-items: stretch; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.brand-feature .bf-media { grid-column: 1 / 8; }
.brand-feature .bf-media .ph { --r: 16 / 11; height: 100%; }
.brand-feature .bf-body { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.brand-name { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.brand-cats { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.brand-lines { border-top: 1px solid var(--line); }
.brand-lines li { border-bottom: 1px solid var(--line); }
.brand-lines a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 0; transition: color .2s var(--ease), padding .25s var(--ease);
}
.brand-lines a:hover { color: var(--blue-ink); padding-left: 6px; }
.brand-lines .bl-name { font-weight: 600; }
.brand-lines .bl-cat { font-size: .8125rem; color: var(--muted); }
.brand-why { font-size: .9375rem; color: var(--ink-2); padding-left: 16px; border-left: 2px solid var(--blue); }

.brand-pair { row-gap: 48px; padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.brand-pair .bp-main { grid-column: 1 / 7; display: grid; gap: 20px; align-content: start; }
.brand-pair .bp-main .ph { --r: 3 / 2; }
.brand-pair .bp-side { grid-column: 8 / 13; display: grid; gap: 0; align-content: start; }
.brand-compact { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.brand-compact:first-child { border-top: 0; padding-top: 0; }
.brand-compact .ph { --r: 1 / 1; }
.brand-compact .bc-body { display: grid; gap: 8px; align-content: start; }
.brand-compact h3 { font-size: 1.25rem; }

.wires { row-gap: 32px; padding-top: clamp(48px, 6vw, 88px); align-items: start; }
.wires-head { grid-column: 1 / 5; display: grid; gap: 16px; }
.wires-head .ph { --r: 4 / 3; margin-top: 8px; }
.wires-table-wrap { grid-column: 5 / 13; overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.spec-table caption { text-align: left; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.spec-table tbody th { font-weight: 700; white-space: nowrap; }
.spec-table td.t-link { text-align: right; padding-right: 0; white-space: nowrap; }
.spec-table tbody tr { transition: background-color .2s var(--ease); }
.spec-table tbody tr:hover { background: var(--bg-2); }

/* ---------- product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.p-card { background: var(--bg); display: flex; flex-direction: column; position: relative; transition: background-color .25s var(--ease); }
.p-card .ph { --r: 1 / 1; transition: filter .4s var(--ease); }
.p-card:hover .ph { filter: brightness(.98) contrast(1.02); }
.p-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-meta .p-brand { color: var(--ink); }
.p-card h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.015em; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.p-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.p-actions a { position: relative; z-index: 2; font-size: .875rem; font-weight: 600; }
.p-actions .enq { color: var(--muted); }
.p-actions .enq:hover { color: var(--ink); }
.p-card:hover h3 a { color: var(--blue-ink); }

/* ---------- industries (home rows) ---------- */
.ind-rows { border-top: 1px solid var(--ink); }
.ind-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 16px;
  padding-block: 28px; border-bottom: 1px solid var(--line); align-items: start;
  transition: background-color .25s var(--ease);
}
.ind-row h3 { grid-column: 1 / 4; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.ind-row .ir-desc { grid-column: 4 / 8; color: var(--ink-2); font-size: .9375rem; }
.ind-row .ir-products { grid-column: 8 / 11; font-size: .875rem; color: var(--muted); display: grid; gap: 4px; }
.ind-row .ir-products li::before { content: "— "; color: var(--line-strong); }
.ind-row .ph { grid-column: 11 / 13; --r: 4 / 3; }

/* ---------- why prayag ---------- */
.why .grid { row-gap: 48px; }
.why-statement { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); }
.why-list { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.why-item { padding-block: 28px 32px; border-top: 1px solid var(--line-strong); display: grid; gap: 12px; align-content: start; }
.why-item .n { font-family: var(--mono); font-size: .8125rem; color: var(--blue-ink); letter-spacing: .04em; }
.why-item h3 { font-size: 1.25rem; }
.why-item p { font-size: .9375rem; color: var(--ink-2); }

/* ---------- applications ---------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.app { display: grid; gap: 16px; align-content: start; }
.app .ph { --r: 4 / 3; }
.app h3 { font-size: 1.25rem; }
.app p { font-size: .9375rem; color: var(--ink-2); }
.bom { border-top: 1px solid var(--line); font-size: .875rem; }
.bom li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bom .bom-role { font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.bom a { font-weight: 600; }
.bom a:hover { color: var(--blue-ink); }
.app-note { margin-top: 32px; font-size: .8125rem; color: var(--muted); max-width: 72ch; }

/* ---------- enquiry ---------- */
.enquiry .grid { row-gap: 48px; align-items: start; }
.enq-copy { grid-column: 1 / 6; display: grid; gap: 24px; }
.contact-list { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.contact-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .cl-k { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list .cl-v { font-weight: 600; overflow-wrap: anywhere; }
.enq-form-wrap { grid-column: 7 / 13; background: var(--bg); border: 1px solid var(--line); padding: clamp(20px, 3.5vw, 40px); }
.section--alt .enq-form-wrap { box-shadow: var(--shadow); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); margin-left: 2px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err { font-size: .8125rem; color: var(--danger); min-height: 0; }
.field .err:empty { display: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.form-foot small { font-size: .8125rem; color: var(--muted); max-width: 40ch; }

.toast {
  position: fixed; z-index: 300; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  max-width: min(420px, calc(100vw - 32px));
  background: var(--ink); color: var(--bg); padding: 16px 18px 16px 16px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  transform: translateY(12px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.toast.is-visible { transform: none; opacity: 1; }
.toast .t-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--success); display: grid; place-items: center; margin-top: 1px; }
.toast strong { display: block; font-size: .9375rem; }
.toast p { font-size: .875rem; opacity: .8; margin-top: 2px; }
.toast button { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; width: 32px; height: 32px; margin: -6px -6px 0 0; font-size: 1.25rem; line-height: 1; }
.toast button:hover { opacity: 1; }

/* ---------- CTA strip ---------- */
.cta-strip { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.cta-strip .grid { align-items: center; row-gap: 24px; }
.cta-strip h2 { grid-column: 1 / 9; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); }
.cta-strip .cta-actions { grid-column: 9 / 13; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- footer ---------- */
.site-footer { background: var(--f-bg); color: var(--f-ink); padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer a { color: var(--f-muted); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--f-ink); }
.f-top { row-gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--f-line); }
.f-brand { grid-column: 1 / 5; display: grid; gap: 20px; align-content: start; }
.f-brand img { height: 48px; width: auto; }
.f-brand p { color: var(--f-muted); font-size: .9375rem; max-width: 36ch; }
.f-cols { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.f-col h2 { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--f-ink); margin-bottom: 16px; }
.f-col ul { display: grid; gap: 10px; font-size: .9375rem; }
.f-col .f-plain { color: var(--f-muted); overflow-wrap: anywhere; }
.site-footer .edit { color: #9ccdff; background: #13263b; border-bottom-color: #9ccdff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .8125rem; color: var(--f-muted); }
.f-bottom ul { display: flex; gap: 24px; }

/* ---------- inner page header ---------- */
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head .grid { row-gap: 24px; align-items: end; }
.page-head .ph-title { grid-column: 1 / 8; display: grid; gap: 20px; }
.page-head .ph-aside { grid-column: 8 / 13; color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- catalogue ---------- */
.catalog { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 32px; }
.cat-side h2 { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cat-list button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .2s var(--ease);
}
.cat-list button span:last-child { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.cat-list button:hover { color: var(--ink); }
.cat-list button[aria-pressed="true"] { color: var(--blue-ink); font-weight: 700; }
.cat-list button[aria-pressed="true"] span:last-child { color: var(--blue-ink); }
.brand-checks { display: grid; gap: 2px; }
.brand-checks label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.brand-checks input { width: 16px; height: 16px; accent-color: var(--blue-ink); }
.cat-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.cat-toolbar .count { font-size: .875rem; color: var(--muted); }
.search {
  position: relative; flex: 1 1 260px; max-width: 360px;
}
.search input {
  width: 100%; min-height: 44px; padding: 10px 14px 10px 40px; border: 1px solid var(--line-strong);
  background: var(--bg); border-radius: var(--radius); font-size: .9375rem;
}
.search input:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cat-chips { display: none; }
.catalog .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { padding: 48px 24px; text-align: left; background: var(--bg); color: var(--ink-2); grid-column: 1 / -1; }

/* ---------- product detail ---------- */
.pd { row-gap: 40px; align-items: start; }
.pd-gallery { grid-column: 1 / 8; display: grid; gap: 12px; }
.pd-gallery .ph-main { --r: 1 / 1; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-thumbs button { padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .2s var(--ease); }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--blue-ink); }
.pd-thumbs .ph { --r: 1 / 1; }
.pd-thumbs .ph-inner { justify-content: center; align-items: center; padding: 6px; }
.pd-thumbs .ph-tag { font-size: .5625rem; align-self: center; padding: 3px 5px; }
.pd-info { grid-column: 8 / 13; display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.pd-brand { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.pd-brand a { color: var(--ink); }
.pd-brand a:hover { color: var(--blue-ink); }
.pd-info h1 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); letter-spacing: -.03em; line-height: 1.08; }
.kv { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); border-top: 1px solid var(--line); font-size: .9375rem; margin: 0; }
.kv dt, .kv dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { color: var(--muted); font-size: .8125rem; padding-right: 16px; padding-top: 14px; }
.kv dd { font-weight: 500; }
.pd-avail { background: var(--bg-2); padding: 16px 18px; font-size: .875rem; color: var(--ink-2); display: grid; gap: 4px; border-left: 2px solid var(--blue); }
.pd-avail strong { color: var(--ink); font-size: .9375rem; }
.pd-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-sections { margin-top: clamp(56px, 7vw, 96px); }
.pd-block { padding-block: 40px; border-top: 1px solid var(--line); }
.pd-block .grid { row-gap: 16px; }
.pd-block h2 { grid-column: 1 / 4; font-size: 1.25rem; letter-spacing: -.015em; }
.pd-block .pd-block-body { grid-column: 4 / 11; display: grid; gap: 16px; color: var(--ink-2); }
.pd-block .bullets { display: grid; gap: 10px; }
.pd-block .bullets li { padding-left: 20px; position: relative; }
.pd-block .bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink-2); }
.pd-source { font-size: .8125rem; color: var(--muted); }
.pd-source a { color: var(--blue-ink); }
.pd-source a:hover { text-decoration: underline; }

/* ---------- brands page ---------- */
.brand-index { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.brand-index a { color: var(--ink-2); font-weight: 500; padding-block: 6px; }
.brand-index a:hover { color: var(--blue-ink); }
.brand-block { padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.brand-block .grid { row-gap: 32px; align-items: start; }
.brand-block .bb-head { grid-column: 1 / 5; display: grid; gap: 16px; align-content: start; }
.brand-block .bb-mark {
  display: flex; align-items: center; min-height: 72px; padding: 0 20px; border: 1px dashed var(--line-strong);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--muted);
}
.brand-block .bb-mark small { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.brand-block .bb-body { grid-column: 6 / 13; display: grid; gap: 28px; }
.brand-block .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-block:nth-of-type(even) .bb-head { grid-column: 9 / 13; grid-row: 1; }
.brand-block:nth-of-type(even) .bb-body { grid-column: 1 / 8; grid-row: 1; }

/* ---------- industries page ---------- */
.ind-block { padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.ind-block .grid { row-gap: 32px; align-items: center; }
.ind-block .ib-media { grid-column: 1 / 7; }
.ind-block .ib-media .ph { --r: 3 / 2; }
.ind-block .ib-body { grid-column: 8 / 13; display: grid; gap: 20px; }
.ind-block:nth-of-type(even) .ib-media { grid-column: 7 / 13; grid-row: 1; }
.ind-block:nth-of-type(even) .ib-body { grid-column: 1 / 6; grid-row: 1; }
.ind-block .needs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ind-block .needs li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: .9375rem; }
.ind-block .needs li span:last-child { color: var(--muted); font-size: .8125rem; text-align: right; }

/* ---------- resources ---------- */
.res-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.res-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: .9375rem; }
.res-toc h2 { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.res-toc a { display: block; padding: 8px 0 8px 14px; border-left: 1px solid var(--line); color: var(--ink-2); }
.res-toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.guide { padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); display: grid; gap: 20px; max-width: 880px; }
.guide:last-child { border-bottom: 0; margin-bottom: 0; }
.guide .table-wrap { overflow-x: auto; }
.guide .spec-table { min-width: 520px; }
.guide .spec-table td, .guide .spec-table th { font-size: .9375rem; }
.checklist { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: c; }
.checklist li { padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.checklist li::before { counter-increment: c; content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--mono); font-size: .75rem; color: var(--blue-ink); }
.checklist strong { color: var(--ink); }

/* ---------- about page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { padding: 28px var(--col-gap) 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: var(--col-gap); border-left: 1px solid var(--line); }
.step .n { font-family: var(--mono); font-size: .75rem; color: var(--blue-ink); letter-spacing: .06em; }
.step h3 { font-size: 1.1875rem; }
.step p { font-size: .9375rem; color: var(--ink-2); }
.supply-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); border-top: 1px solid var(--line); }
.supply-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.supply-list a { font-weight: 600; }
.supply-list a:hover { color: var(--blue-ink); }
.supply-list span { font-size: .8125rem; color: var(--muted); text-align: right; }

/* ---------- legal ---------- */
.legal { max-width: 760px; display: grid; gap: 20px; }
.legal h2 { font-size: 1.5rem; margin-top: 24px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.note {
  background: var(--blue-wash); border-left: 2px solid var(--blue-ink); padding: 14px 18px; font-size: .9375rem; color: var(--ink-2);
}

/* ---------- motion ---------- */
.js .reveal { transform: translateY(14px); transition: transform .8s var(--ease), opacity .8s var(--ease); opacity: .35; }
.js .reveal.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { transform: none; opacity: 1; }
}
.wires-table-wrap, .table-wrap { position: relative; }

/* hero: keep placeholder note clear of the product label */
.hero-visual .ph-inner { justify-content: flex-start; align-items: flex-end; text-align: right; }
.hero-visual .ph-tag { align-self: flex-end; }
@media (max-width: 600px) { .hero-visual .ph-inner { align-items: flex-start; text-align: left; } .hero-visual .ph-tag { align-self: flex-start; } }
/* small placeholders: centred tag only */
.ph--compact .ph-inner { justify-content: center; align-items: center; }
.ph--compact .ph-tag { align-self: center; text-align: center; }

/* official product images: manufacturer shots are on white, so present them on white */
.ph.has-img { background: #fff; }
.ph.has-img .ph-inner { display: none; }
.ph.has-img img { padding: 10%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.ph--compact.has-img img { padding: 8%; }
.p-card:hover .ph.has-img img, .brand-feature:hover .ph.has-img img { transform: scale(1.03); }
.hero-visual .ph.has-img img { padding: 12% 10% 22%; }
.hero-visual .ph.has-img { border: 1px solid var(--line); }
.pd-gallery .ph.has-img { border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .p-card:hover .ph.has-img img { transform: none; } }

/* ======================================================================
   v3: hero slider, photography, brand logos
   ====================================================================== */
[hidden] { display: none !important; }

/* photographs fill their frame */
.ph.photo.has-img { background: var(--studio); }
.ph.photo.has-img img { padding: 0; object-fit: cover; mix-blend-mode: normal; transform: scale(1.001); transition: transform 1.2s var(--ease); }
.ind-row:hover .ph.photo img, .ind-block:hover .ph.photo img, .app:hover .ph.photo img { transform: scale(1.04); }
.ph.photo:not(.has-img) .ph-inner { display: flex; }
.about-media figcaption { font-size: .75rem; }

/* page banner under inner-page titles */
.page-banner { margin-top: clamp(32px, 4vw, 56px); }
.page-banner .ph { --r: 21 / 7; }

/* why prayag photo */
.why-statement .ph { margin-top: 8px; }

/* brand logos */
.b-logo { display: inline-flex; align-items: center; height: 28px; max-width: 140px; }
.b-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.b-logo > span { font-weight: 700; letter-spacing: -.01em; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.b-logo--sm { height: 20px; max-width: 110px; }
.b-logo--sm > span { font-size: .8125rem; }
.b-logo--lg { height: 36px; max-width: 200px; }
.b-logo--xl { height: 44px; max-width: 220px; }
.b-logo--xl > span { font-size: 1.25rem; }
.trust-list a { display: inline-flex; align-items: center; padding: 6px 0; }
.trust-list .b-logo { height: 30px; max-width: 128px; opacity: 1; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.trust-list a:hover .b-logo, .trust-list a:focus-visible .b-logo { filter: none; opacity: 1; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.brand-block .bb-mark { border: 1px solid var(--line); background: #fff; min-height: 96px; justify-content: center; padding: 20px 24px; }
.brand-block .bb-mark .b-logo > span { color: #11151b; }
.pd-brand { align-items: center; }
/* logos are drawn for white backgrounds: give them a white chip in dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-feature .b-logo, :root:not([data-theme="light"]) .brand-pair .b-logo,
  :root:not([data-theme="light"]) .logo-row .b-logo, :root:not([data-theme="light"]) .pd-brand .b-logo,
  :root:not([data-theme="light"]) .product-label .b-logo { background: #fff; padding: 4px 8px; box-sizing: content-box; }
}
:root[data-theme="dark"] .brand-feature .b-logo, :root[data-theme="dark"] .brand-pair .b-logo,
:root[data-theme="dark"] .logo-row .b-logo, :root[data-theme="dark"] .pd-brand .b-logo,
:root[data-theme="dark"] .product-label .b-logo { background: #fff; padding: 4px 8px; box-sizing: content-box; }

/* hero slider */
.hero-visual { display: grid; gap: 16px; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.slide .ph.has-img img { transform: scale(.97); transition: transform 1.4s var(--ease); }
.slide.is-active .ph.has-img img { transform: none; }
.product-label .pl-head { align-items: center; }
.product-label .pl-head span:last-child { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; color: var(--muted); }
.slider-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.slider-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.slider-dots button { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slider-dots button::before { content: ""; position: absolute; left: 0; right: 4px; top: 11px; height: 2px; background: var(--line-strong); }
.slider-dots button::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--blue-ink); }
.slider-dots button[aria-selected="true"]::after { width: calc(100% - 4px); transition: width var(--slide-ms, 6s) linear; }
.slider-dots.is-paused button[aria-selected="true"]::after, .slider-dots.no-auto button[aria-selected="true"]::after { transition: none; width: calc(100% - 4px); }
.slider-arrows { display: flex; gap: 8px; }
.s-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); border-radius: var(--radius); cursor: pointer; transition: border-color .2s var(--ease); }
.s-btn:hover { border-color: var(--ink); }
.s-btn .arrow { transition: transform .25s var(--ease); }
.s-btn:hover .arrow { transform: translateX(3px); }
@media (max-width: 600px) {
  .slider-dots button { width: 28px; }
}
.b-logo { max-width: 100%; }
.b-logo > span { white-space: normal; line-height: 1.15; }
.b-logo:has(> span:not([hidden])) { height: auto; min-height: 20px; }

/* ======================================================================
   v4: product posters, logo marquee, brand tiles
   ====================================================================== */

/* --- poster (always a light, printed-banner look; colours set explicitly) --- */
.poster {
  --ink-p: #11151b;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1; max-width: 100%;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 36px);
  color: var(--ink-p);
  background:
    radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--tint) 55%, #fff) 0%, transparent 70%),
    linear-gradient(135deg, #ffffff 0%, #ffffff 38%, color-mix(in srgb, var(--tint) 16%, #fff) 72%, color-mix(in srgb, var(--tint) 34%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--tint) 20%, #e1e6ec);
}
.poster::after { /* soft floor shadow under the product */
  content: ""; position: absolute; z-index: 0; right: 8%; bottom: 13%; width: 52%; height: 7%;
  background: radial-gradient(closest-side, rgba(17, 21, 27, .22), transparent); filter: blur(4px);
}
.poster-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.poster-logo { background: #fff; padding: 8px 12px; box-shadow: 0 1px 0 rgba(17,21,27,.05), 0 6px 18px -10px rgba(17,21,27,.35); display: inline-flex; }
.poster-logo .b-logo { height: 30px; max-width: 150px; }
.poster-logo .b-logo > span { color: #11151b; font-size: 1.125rem; }
.poster-count { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; color: rgba(17,21,27,.55); }
.poster-copy { position: relative; z-index: 2; align-self: start; display: grid; gap: 14px; max-width: 52%; padding-top: clamp(20px, 4vw, 44px); }
.poster-cat { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(17,21,27,.6); display: inline-flex; align-items: center; gap: 8px; }
.poster-cat::before { content: ""; width: 14px; height: 3px; background: var(--tint); }
.poster-title { color: #11151b; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.375rem); line-height: 1.05; letter-spacing: -.03em; text-transform: none; }
.poster-pts { display: grid; gap: 6px; font-size: .875rem; color: rgba(17,21,27,.78); }
.poster-pts li { padding-left: 16px; position: relative; }
.poster-pts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--tint); }
.poster-cta {
  justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #11151b; font-weight: 700; font-size: .9375rem; padding: 12px 18px; min-height: 44px;
  border-radius: 6px; box-shadow: 0 10px 24px -14px rgba(17,21,27,.55); border-left: 4px solid var(--tint);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.poster-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(17,21,27,.6); }
.poster-cta .arrow { transition: transform .25s var(--ease); }
.poster-cta:hover .arrow { transform: translateX(4px); }
.poster-img { position: absolute; z-index: 1; right: 2%; bottom: 12%; width: 56%; height: 62%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.poster-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: translateY(8px) scale(.96); opacity: .0; transition: transform 1.1s var(--ease), opacity .8s var(--ease); }
.slide.is-active .poster-img img { transform: none; opacity: 1; }
.poster-foot {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0 calc(clamp(20px, 3vw, 36px) * -1) calc(clamp(20px, 3vw, 36px) * -1);
  padding: 12px clamp(20px, 3vw, 36px); background: rgba(255,255,255,.82); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(17,21,27,.08); font-size: .8125rem; font-weight: 600; color: #11151b;
}
.poster-foot .code { background: #fff; color: #353d48; border-color: #e1e6ec; }
.poster-foot:hover span:first-child { text-decoration: underline; }
.slide .poster-copy > * { transform: translateY(10px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.slide.is-active .poster-copy > * { transform: none; opacity: 1; }
.slide.is-active .poster-copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .poster-copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .poster-copy > *:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .slide .poster-copy > *, .poster-img img { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* --- logo marquee --- */
.trust { padding-block: 28px 32px; }
.trust-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 20px; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 12px; width: max-content; animation: marquee 60s linear infinite; padding-block: 4px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track li { flex: none; }
.marquee-track a {
  display: flex; align-items: center; justify-content: center; width: 168px; height: 76px; padding: 14px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.marquee-track a:hover, .marquee-track a:focus-visible { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.m-logo { height: 34px; max-width: 124px; opacity: 1; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.marquee-track a:hover .m-logo, .marquee-track a:focus-visible .m-logo { filter: none; opacity: 1; }
.m-logo > span { color: #11151b; font-size: .9375rem; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .marquee-track .dup { display: none; }
}

/* --- brand tile (when a maker publishes no product photo) --- */
.brand-tile {
  background:
    linear-gradient(135deg, #fff 0%, #fff 45%, color-mix(in srgb, var(--tint) 14%, #fff) 100%);
}
.brand-tile::before, .brand-tile::after { display: none; }
.bt-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; }
.bt-inner .b-logo { height: 34px; max-width: 70%; }
.bt-inner .b-logo > span { color: #11151b; }
.bt-ref { font-weight: 700; color: #11151b; font-size: .9375rem; letter-spacing: -.01em; }
.bt-cat { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #5d6774; }
.ph--compact.brand-tile .bt-inner .b-logo { height: 26px; }
.p-card .brand-tile .bt-ref { font-size: .8125rem; }

/* --- brands page, brand with no listed products --- */
.bb-empty { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; background: linear-gradient(135deg, var(--bg) 60%, color-mix(in srgb, var(--tint) 10%, var(--bg))); }
.bb-empty p { color: var(--ink-2); max-width: 60ch; }
/* catalogue cards use h2 for heading order; size them like card titles */
.p-card h2 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.015em; }
.p-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card:hover h2 a { color: var(--blue-ink); }
@media (max-width: 600px) { .p-card h2 { font-size: 1.0625rem; } }
/* grid without grey gaps when the last row is short */
.product-grid { background: none; gap: 0; border: 0; }
.p-card { border: 1px solid var(--line); margin: 0 -1px -1px 0; }

/* ======================================================================
   v5: stage hero, intro band, category tiles, motion, card polish
   ====================================================================== */

/* ---------- STAGE HERO (dark product stage) ---------- */
.stage {
  --stage-bg: #0a1220; --stage-ink: #f3f6fa; --stage-muted: #9aa8bb;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--stage-bg); color: var(--stage-ink);
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
}
.stage-grid { /* engineering-drawing grid, fades toward the edges */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 70% 45%, #000 20%, transparent 75%);
}
.stage-inner { position: relative; padding-block: clamp(32px, 5vw, 64px) 28px; }
.stage .slides { position: relative; display: grid; min-height: clamp(460px, 44vw, 600px); }
.stage .slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s;
}
.stage .slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
.stage .slide::before { /* brand-tinted light behind the product */
  content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 75%; height: 140%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tint) 42%, transparent), transparent 72%);
  opacity: .55; filter: blur(10px);
}
.st-copy { display: grid; gap: 22px; align-content: center; }
.st-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st-logo { background: #fff; padding: 9px 14px; border-radius: 4px; display: inline-flex; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.st-logo .b-logo { height: 28px; max-width: 150px; }
.st-logo .b-logo > span { color: #11151b; }
.st-kind { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stage-muted); display: inline-flex; align-items: center; gap: 10px; }
.st-kind::before { content: ""; width: 22px; height: 2px; background: var(--tint); }
.st-title { color: var(--stage-ink); font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; }
.st-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.st-stats li { padding: 14px 12px 0 0; display: grid; gap: 2px; }
.st-stats li + li { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.1); }
.st-stats b { font-size: clamp(1rem, .9rem + .5vw, 1.375rem); font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.st-stats span { font-size: .75rem; color: var(--stage-muted); }
.st-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 6px; }
.st-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 13px 22px;
  background: #fff; color: #0a1220; font-weight: 700; border-radius: 4px; box-shadow: inset 4px 0 0 var(--tint);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.st-btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transition: transform .7s var(--ease);
}
.st-btn:hover { transform: translateY(-2px); box-shadow: inset 4px 0 0 var(--tint), 0 14px 30px -14px rgba(0,0,0,.7); }
.st-btn:hover::after { transform: translateX(120%); }
.st-btn .arrow { transition: transform .25s var(--ease); }
.st-btn:hover .arrow { transform: translateX(4px); }
.st-link { color: #fff; font-weight: 600; font-size: .9375rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s var(--ease); }
.st-link:hover { border-color: var(--tint); }

.st-visual { position: relative; display: grid; place-items: center; min-height: 100%; }
.st-ref { /* giant outlined model name behind the product */
  position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: clamp(4rem, 2rem + 9vw, 11rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); pointer-events: none;
}
.st-disc {
  position: relative; z-index: 1; width: min(88%, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #fff 52%, #eef2f7 100%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 10px rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.st-ring { /* rotating tick ring in the brand colour */
  position: absolute; inset: -18px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, var(--tint) 0 1.2deg, transparent 1.2deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px), #000 50%, transparent calc(50% + 1px));
          mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px), #000 50%, transparent calc(50% + 1px));
  opacity: .8; animation: ring-spin 60s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.st-disc img { width: 66%; height: 66%; object-fit: contain; mix-blend-mode: multiply; }
.st-tag {
  position: absolute; z-index: 2; right: 4%; bottom: 6%; display: flex; align-items: center; gap: 10px;
  background: rgba(10,18,32,.78); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12);
  padding: 10px 14px; border-radius: 4px; font-size: .8125rem; font-weight: 600; color: #fff;
}
.st-tag .code { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #dfe6ef; }

/* slide choreography */
.stage .slide .st-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stage .slide.is-active .st-copy > * { opacity: 1; transform: none; }
.stage .slide.is-active .st-copy > *:nth-child(2) { transition-delay: .08s; }
.stage .slide.is-active .st-copy > *:nth-child(3) { transition-delay: .16s; }
.stage .slide.is-active .st-copy > *:nth-child(4) { transition-delay: .24s; }
.stage .slide .st-disc { transform: scale(.86) rotate(-6deg); opacity: 0; transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .8s var(--ease); }
.stage .slide.is-active .st-disc { transform: none; opacity: 1; }
.stage .slide .st-disc img { transform: translateY(20px) scale(.92); transition: transform 1.3s cubic-bezier(.16,1,.3,1) .1s; }
.stage .slide.is-active .st-disc img { transform: none; animation: float 6s ease-in-out 1.4s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.stage .slide .st-ref { opacity: 0; transform: translate(-40%, -50%); transition: opacity 1s var(--ease), transform 1.4s cubic-bezier(.16,1,.3,1); }
.stage .slide.is-active .st-ref { opacity: 1; transform: translate(-50%, -50%); }
.stage .slide .st-tag { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .5s, transform .6s var(--ease) .5s; }
.stage .slide.is-active .st-tag { opacity: 1; transform: none; }

/* thumbnails nav with progress */
.stage-ui { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.stage-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.stage-thumbs::-webkit-scrollbar { display: none; }
.stage-thumbs button {
  flex: 1 0 150px; max-width: 200px; width: auto; height: auto; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 10px 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 4px; color: var(--stage-muted);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.stage-thumbs button::before { left: 10px; right: 10px; top: auto; bottom: 6px; background: rgba(255,255,255,.12); }
.stage-thumbs button::after { left: 10px; top: auto; bottom: 6px; background: var(--tint); }
.stage-thumbs button[aria-selected="true"]::after { width: calc(100% - 20px); }
.stage-thumbs button:hover { background: rgba(255,255,255,.06); color: #fff; }
.stage-thumbs button[aria-selected="true"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.th-img { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.th-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.th-txt { display: grid; min-width: 0; font-size: .75rem; line-height: 1.3; }
.th-txt b { font-size: .6875rem; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.th-txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage .s-btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.stage .s-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* header over the dark stage */
.site-header:not(.is-scrolled):not(.is-open):not(.site-header--solid):has(+ #main .stage),
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) { background: transparent; }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .primary-nav a { color: rgba(255,255,255,.82); }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .primary-nav a:hover,
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .primary-nav a[aria-current="page"] { color: #fff; }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .logo-on-light { display: none; }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .logo-on-dark { display: block; }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .menu-toggle { border-color: rgba(255,255,255,.3); }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .menu-toggle span,
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .menu-toggle span::before,
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .menu-toggle span::after { background: #fff; }
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) .menu-toggle[aria-expanded="true"] span { background: transparent; }
.site-header { transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); }

/* ---------- INTRO BAND ---------- */
.intro-band { padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.intro-band .grid { row-gap: 32px; align-items: end; }
.ib-left { grid-column: 1 / 8; display: grid; gap: 20px; }
.ib-left h1 { font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4rem); max-width: 16ch; }
.ib-left h1 em { font-style: normal; color: var(--blue); background: linear-gradient(transparent 82%, color-mix(in srgb, var(--blue) 18%, transparent) 82%); }
.ib-right { grid-column: 8 / 13; display: grid; gap: 24px; }
.ib-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ib-figs li { padding-top: 16px; display: grid; gap: 2px; }
.ib-figs li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.ib-figs b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ib-figs span { font-size: .8125rem; color: var(--muted); }

/* ---------- CATEGORY TILES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-tile {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10,18,32,.45); border-color: var(--line-strong); }
.ct-img { aspect-ratio: 16 / 10; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.ct-img img { width: 60%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat-tile:hover .ct-img img { transform: scale(1.08); }
.ct-body { padding: 14px 44px 16px 16px; display: grid; gap: 4px; }
.ct-body b { font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.ct-body span { font-size: .75rem; color: var(--muted); }
.ct-arrow { position: absolute; right: 14px; bottom: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--blue-ink); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.cat-tile:hover .ct-arrow { background: var(--blue-ink); color: #fff; transform: translateX(2px); }
.ct-arrow .arrow { width: 13px; height: 13px; }

/* ---------- PRODUCT CARD polish (smaller, tidier titles) ---------- */
.p-card .ph { --r: 4 / 3.2; }
.p-card-body { padding: 16px 18px 18px; gap: 6px; }
.p-card h2, .p-card h3 {
  font-size: .9375rem; font-weight: 650; line-height: 1.35; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty;
}
.p-card p { font-size: .8125rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { font-size: .625rem; }
.p-actions { padding-top: 12px; }
.p-actions a { font-size: .8125rem; }
.p-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); z-index: 0; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,18,32,.45); z-index: 1; }
.p-card .ph.has-img img { transition: transform .6s var(--ease); }
.p-card:hover .ph.has-img img { transform: scale(1.05); }
.ph.is-cover img { padding: 0 !important; object-fit: cover; mix-blend-mode: normal !important; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog .product-grid, .brand-block .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- WHY: dark band ---------- */
.why { background: #0a1220; color: #e8edf4; }
.why h2, .why h3 { color: #fff; }
.why .lede, .why-item p { color: #a9b6c7; }
.why .eyebrow { color: #9aa8bb; }
.why-item { border-top-color: rgba(255,255,255,.14); }
.why-item .n { color: #7fc0ff; font-size: 1.5rem; font-family: var(--font); font-weight: 800; letter-spacing: -.02em; }
.section + .section.why { border-top: 0; }

/* ---------- motion system ---------- */
.js .reveal { opacity: .2; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.intro h2 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; }
.eyebrow::before { transition: width .6s var(--ease); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  .st-ring, .stage .slide.is-active .st-disc img { animation: none !important; }
  .stage .slide .st-copy > *, .stage .slide .st-disc, .stage .slide .st-disc img, .stage .slide .st-ref, .stage .slide .st-tag { transition: none !important; opacity: 1; transform: none; }
  .stage .slide .st-ref { transform: translate(-50%, -50%); }
  .js .reveal { opacity: 1; transform: none; }
}
.st-ring {
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 100%, transparent 100%);
          mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 100%, transparent 100%);
}
.stage-thumbs { flex-wrap: nowrap; }

/* ======================================================================
   v6: LIGHT THEME everywhere + showcase hero with advanced motion
   ====================================================================== */

/* ---- force the light palette even when the device is in dark mode ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: light;
    --bg: #ffffff; --bg-2: #f4f6f9; --studio: #eef1f5; --line: #e1e6ec; --line-strong: #c9d1db;
    --ink: #11151b; --ink-2: #353d48; --muted: #5d6774; --blue-ink: #0a63c9; --blue-ink-hover: #0852a8;
    --blue-wash: #e9f3fe; --on-blue: #ffffff; --success: #1b7f4b; --danger: #c4282d;
    --shadow: 0 1px 0 rgba(17,21,27,.06), 0 8px 24px -12px rgba(17,21,27,.18);
  }
  :root:not([data-theme="light"]) .logo-on-light { display: block; }
  :root:not([data-theme="light"]) .logo-on-dark { display: none; }
  :root:not([data-theme="light"]) .brand-feature .b-logo, :root:not([data-theme="light"]) .brand-pair .b-logo,
  :root:not([data-theme="light"]) .logo-row .b-logo, :root:not([data-theme="light"]) .pd-brand .b-logo,
  :root:not([data-theme="light"]) .product-label .b-logo { background: none; padding: 0; }
}
:root[data-theme="dark"] {
  color-scheme: light;
  --bg: #ffffff; --bg-2: #f4f6f9; --studio: #eef1f5; --line: #e1e6ec; --line-strong: #c9d1db;
  --ink: #11151b; --ink-2: #353d48; --muted: #5d6774; --blue-ink: #0a63c9; --blue-ink-hover: #0852a8;
  --blue-wash: #e9f3fe; --on-blue: #ffffff; --success: #1b7f4b; --danger: #c4282d;
  --shadow: 0 1px 0 rgba(17,21,27,.06), 0 8px 24px -12px rgba(17,21,27,.18);
}
:root[data-theme="dark"] .logo-on-light { display: block; }
:root[data-theme="dark"] .logo-on-dark { display: none; }
:root[data-theme="dark"] .brand-feature .b-logo, :root[data-theme="dark"] .brand-pair .b-logo,
:root[data-theme="dark"] .logo-row .b-logo, :root[data-theme="dark"] .pd-brand .b-logo { background: none; padding: 0; }

/* ---- scroll progress ---- */
.scroll-progress { position: fixed; z-index: 150; left: 0; top: env(safe-area-inset-top, 0px); height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), #7c5cff 60%, var(--red)); pointer-events: none; }

/* ---- Why section back to light, with a soft panel ---- */
.why { background: linear-gradient(180deg, #f5f8fc, #eef3f9); color: var(--ink); }
.why h2, .why h3 { color: var(--ink); }
.why .lede, .why-item p { color: var(--ink-2); }
.why .eyebrow { color: var(--muted); }
.why-item { border-top: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 16px; box-shadow: 0 10px 30px -24px rgba(10,30,60,.35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(10,30,60,.45); }
.why-item .n { color: var(--blue); }
.why-list { gap: 0 16px; }

/* ================= HERO ================= */
.hx {
  --mx: 70%; --my: 40%;
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line);
}
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(36,143,247,.22) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 70% at 72% 45%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 70% at 72% 45%, #000 0%, transparent 70%);
}
.hx-spot { position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(36,143,247,.10), transparent 60%); transition: background-position .2s; }
.hx-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: min(calc(100vh - var(--header-h)), 800px); padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px); }

/* copy */
.hx-copy { display: grid; gap: 26px; align-content: center; position: relative; z-index: 2; }
.hx-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px -14px rgba(10,30,60,.5); font-size: .8125rem; font-weight: 600; color: var(--ink-2);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.hx-pill:hover { border-color: var(--blue); transform: translateY(-1px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1fbf6a; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1fbf6a; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.hx-h1 { font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.25rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; display: grid; }
.hx-line { display: block; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); animation: word-up .95s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--d) * 70ms + 150ms); }
@keyframes word-up { to { transform: none; } }
.hx-rot { display: grid; overflow: hidden; padding-bottom: .1em; margin-bottom: -.02em; }
.rw {
  grid-area: 1 / 1; white-space: nowrap;
  background: linear-gradient(92deg, #0a63c9 0%, #248ff7 45%, #6a5cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(105%); opacity: 0; transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .5s var(--ease);
}
.rw.is-on { transform: none; opacity: 1; }
.rw.is-out { transform: translateY(-105%); opacity: 0; }
.hx-lede { font-size: var(--fs-lede); color: var(--ink-2); max-width: 52ch; line-height: 1.55; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; border-radius: 10px; }
.btn { border-radius: 10px; }
.btn:not(.btn--ghost) { background: linear-gradient(180deg, #1373e0, #0a63c9); box-shadow: 0 10px 24px -12px rgba(10,99,201,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:not(.btn--ghost):hover { background: linear-gradient(180deg, #0f68cf, #0852a8); }
.btn--ghost { background: #fff; }
.hx-figs { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.hx-figs li { display: grid; gap: 2px; padding-right: 28px; }
.hx-figs li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.hx-figs b { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.hx-figs span { font-size: .8125rem; color: var(--muted); }
.hx-copy > :not(.hx-h1) { opacity: 0; transform: translateY(16px); animation: fade-up .9s cubic-bezier(.16,1,.3,1) forwards; }
.hx-copy > .hx-pill { animation-delay: .05s; }
.hx-copy > .hx-lede { animation-delay: .55s; }
.hx-copy > .hx-cta { animation-delay: .7s; }
.hx-copy > .hx-figs { animation-delay: .85s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* visual */
.hx-visual { position: relative; width: 100%; max-width: 640px; justify-self: center; container-type: inline-size; aspect-ratio: 1 / 1.08; display: grid; grid-template-rows: 1fr auto; perspective: 1400px; }
.hx-visual { opacity: 0; animation: fade-in 1.2s var(--ease) .3s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.hx-circuit { position: absolute; inset: 0 0 60px; width: 100%; height: calc(100% - 60px); z-index: 0; overflow: visible; }
.hx-circuit .traces path { fill: none; stroke: #d7e1ee; stroke-width: 1.5; }
.hx-circuit .pulses path { fill: none; stroke: url(#none); stroke: #248ff7; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 36 1200; stroke-dashoffset: 1236; animation: current 4.8s linear infinite; filter: drop-shadow(0 0 4px rgba(36,143,247,.8)); }
.hx-circuit .pulses path:nth-child(2) { animation-delay: .8s; stroke: #6a5cff; }
.hx-circuit .pulses path:nth-child(3) { animation-delay: 1.6s; }
.hx-circuit .pulses path:nth-child(4) { animation-delay: 2.4s; stroke: #e43b40; }
.hx-circuit .pulses path:nth-child(5) { animation-delay: 3.2s; }
.hx-circuit .pulses path:nth-child(6) { animation-delay: 4s; stroke: #6a5cff; }
@keyframes current { to { stroke-dashoffset: 0; } }
.hx-circuit .nodes circle { fill: #fff; stroke: #248ff7; stroke-width: 2; }
.hx-orbit { position: absolute; left: 50%; top: calc(50% - 30px); width: 88cqw; height: 88cqw; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed #cfdae8; z-index: 1; animation: spin 80s linear infinite; }
.hx-orbit::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid #e3eaf3; }
.hx-orbit li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--k) * 360deg / var(--n))) translateX(44cqw); }
.orb { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(10,30,60,.5);
  transform: rotate(calc(var(--k) * -360deg / var(--n))); }
.orb .b-logo { height: 18px; max-width: 42px; opacity: 1; }
.orb .b-logo > span { font-size: .5rem; }
.hx-orbit li > .orb { animation: counter-spin 80s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes counter-spin { from { transform: rotate(calc(var(--k) * -360deg / var(--n))); } to { transform: rotate(calc(var(--k) * -360deg / var(--n) - 360deg)); } }

.hx-stage { position: relative; z-index: 2; align-self: center; justify-self: center; width: 64cqw; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.hx-stage .slides { display: grid; }
.hx .slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateX(60px) rotateY(-22deg) scale(.94); filter: blur(6px); transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s var(--ease), filter .6s var(--ease), visibility 0s linear .9s; }
.hx .slide.is-active { visibility: visible; opacity: 1; transform: none; filter: none; transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .7s var(--ease), filter .7s var(--ease), visibility 0s; }
.hx .slide.was-active:not(.is-active) { transform: translateX(-60px) rotateY(22deg) scale(.94); }
.hx-card {
  position: relative; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(214,224,236,.9);
  box-shadow: 0 50px 80px -40px rgba(10,40,80,.45), 0 20px 40px -30px rgba(10,40,80,.35), inset 0 1px 0 #fff;
}
.hx-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 30%, #fff)); z-index: 3; }
.hx-card::after { /* moving sheen over the card */
  content: ""; position: absolute; inset: -50%; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%);
  transform: translateX(-60%); animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.hx-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 0; }
.hx-logo .b-logo { height: 22px; max-width: 120px; }
.hx-kind { font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.hx-img { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; margin: 10px 14px 0; border-radius: 14px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 60%, #ffffff 0%, color-mix(in srgb, var(--tint) 10%, #f3f6fa) 100%); }
.hx-big { position: absolute; inset: auto 0 -6% 0; text-align: center; font-size: 22cqw; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--tint) 35%, #cfd8e3); white-space: nowrap; opacity: .7; }
.hx-img img { position: relative; width: 70%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.hx .slide .hx-img img { clip-path: circle(0% at 50% 55%); transform: scale(1.1); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1) .25s, transform 1.4s cubic-bezier(.16,1,.3,1) .25s; }
.hx .slide.is-active .hx-img img { clip-path: circle(75% at 50% 55%); transform: none; animation: float 6s ease-in-out 1.6s infinite; }
.hx-card-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.hx-title { font-size: clamp(1.125rem, .9rem + .9cqw, 1.5rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.hx-name { font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hx-stats li { background: var(--bg-2); border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; }
.hx-stats b { font-size: .875rem; font-weight: 800; letter-spacing: -.01em; }
.hx-stats span { font-size: .6875rem; color: var(--muted); }
.hx-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.hx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: .875rem; color: #fff; background: #11151b; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.hx-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(17,21,27,.6); background: #000; }
.hx-btn .arrow { transition: transform .25s var(--ease); }
.hx-btn:hover .arrow { transform: translateX(3px); }
.hx-more { font-size: .8125rem; font-weight: 600; color: var(--blue-ink); }
.hx-more:hover { text-decoration: underline; }
.hx .slide .hx-card-body > * { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hx .slide.is-active .hx-card-body > * { opacity: 1; transform: none; }
.hx .slide.is-active .hx-card-body > :nth-child(1) { transition-delay: .35s; }
.hx .slide.is-active .hx-card-body > :nth-child(2) { transition-delay: .45s; }
.hx .slide.is-active .hx-card-body > :nth-child(3) { transition-delay: .55s; }
.hx .slide.is-active .hx-card-body > :nth-child(4) { transition-delay: .65s; }

/* thumbs */
.hx-ui { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hx-thumbs { display: flex; gap: 6px; flex-wrap: nowrap; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px -20px rgba(10,30,60,.5); }
.hx-thumbs button { width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 0; background: var(--bg-2); display: grid; place-items: center; position: relative; overflow: visible; transition: transform .3s var(--ease), background-color .3s; }
.hx-thumbs button::before, .hx-thumbs button::after { display: none; }
.hx-thumbs button .th-txt { display: none; }
.hx-thumbs .th-img { width: 34px; height: 34px; background: #fff; }
.hx-thumbs button[aria-selected="true"] { background: #fff; transform: scale(1.12); box-shadow: 0 0 0 2px var(--tint); }
.hx-thumbs button[aria-selected="true"] .th-img { background: conic-gradient(var(--tint) calc(var(--prog, 0) * 1%), transparent 0); padding: 2px; }
.hx-thumbs button:hover { transform: scale(1.1); }
.hx-ui .s-btn { border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -14px rgba(10,30,60,.6); }

/* magnetic */
.magnetic { transition: transform .35s cubic-bezier(.16,1,.3,1), background-color .2s; will-change: transform; }

/* motion off */
@media (prefers-reduced-motion: reduce) {
  .w > span, .hx-copy > *, .hx-visual { animation: none !important; transform: none !important; opacity: 1 !important; }
  .hx-orbit, .hx-orbit li > .orb, .hx-card::after, .hx-circuit .pulses path, .pulse::after { animation: none !important; }
  .hx-circuit .pulses { display: none; }
  .hx .slide .hx-img img { clip-path: none; transform: none; animation: none !important; }
  .hx .slide, .hx .slide.was-active { transform: none; filter: none; }
  .rw { transition: none; }
}

/* responsive hero */
@media (max-width: 1080px) {
  .hx-grid { grid-template-columns: 1fr; min-height: 0; }
  .hx-visual { max-width: 560px; }
}
@media (max-width: 600px) {
  .hx-h1 { font-size: clamp(2.25rem, 1.2rem + 7vw, 3rem); }
  .hx-figs li { padding-right: 14px; }
  .hx-figs li + li { padding-left: 14px; }
  .hx-figs b { font-size: 1.5rem; }
  .hx-cta .btn { flex: 1 1 100%; }
  .hx-visual { aspect-ratio: auto; }
  .hx-orbit { width: 96cqw; height: 96cqw; top: 38%; }
  .hx-orbit li { transform: rotate(calc(var(--k) * 360deg / var(--n))) translateX(48cqw); }
  .orb { width: 44px; height: 44px; left: -22px; top: -22px; }
  .orb .b-logo { height: 13px; max-width: 30px; }
  .hx-stage { width: 88cqw; margin-block: 16cqw 18px; }
  .hx-circuit { display: none; }
  .hx-thumbs button { width: 34px; height: 34px; }
  .hx-thumbs .th-img { width: 28px; height: 28px; }
  .hx-ui .s-btn { width: 38px; height: 38px; flex: none; }
}
.hx-h1 { font-size: clamp(2.25rem, 1.1rem + 3.9vw, 4.6rem); }
.hx-rot { font-size: .86em; }
@media (max-width: 1080px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } .hx-visual { justify-self: center; margin-inline: auto; } }
@media (max-width: 600px) {
  .hx-h1 { font-size: clamp(2rem, 1rem + 6.4vw, 2.75rem); }
  .hx-rot { font-size: .8em; }
  .hx-stage { justify-self: center; margin-inline: auto; }
  .hx-ui { gap: 6px; }
  .hx-thumbs { gap: 3px; padding: 4px; }
  .hx-thumbs button { width: 30px; height: 30px; }
  .hx-thumbs .th-img { width: 24px; height: 24px; }
}
@media (max-width: 380px) { .hx-thumbs button:nth-child(n+6) { display: none; } }

/* ======================================================================
   v7: blueprint-to-product hero, outline band, circuit backgrounds
   ====================================================================== */

/* ---------- shared circuit background ---------- */
.trust, .why, .enquiry, .site-footer, .page-head, .outline-band { position: relative; isolation: isolate; overflow: hidden; }
.circuit-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(110% 90% at 50% 50%, #000 30%, transparent 85%); }
.circuit-bg .traces path { fill: none; stroke: #dbe4ef; stroke-width: 1.3; }
.circuit-bg .pulses path { fill: none; stroke: #248ff7; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 44 3000; stroke-dashoffset: 44;
  animation: cur2 var(--dur, 7s) linear var(--del, 0s) infinite; filter: drop-shadow(0 0 3px rgba(36,143,247,.7)); opacity: .85; }
.circuit-bg .pulses path:nth-child(3n) { stroke: #6a5cff; }
.circuit-bg .pulses path:nth-child(4n) { stroke: #e43b40; }
.circuit-bg .nodes circle { fill: #fff; stroke: #b9cde4; stroke-width: 1.5; }
@keyframes cur2 { from { stroke-dashoffset: 44; } to { stroke-dashoffset: -1700; } }
.section-circuit { opacity: .8; }
.why .section-circuit, .enquiry .section-circuit { opacity: .65; }
.head-circuit { opacity: .7; }
.footer-circuit .traces path { stroke: rgba(255,255,255,.06); }
.footer-circuit .nodes circle { fill: #0c1015; stroke: rgba(255,255,255,.14); }
.footer-circuit .pulses path { opacity: .55; }
.page-head { background: linear-gradient(180deg, #f6f9fd, #fff); }

/* ---------- HERO: blueprint plate ---------- */
.hx-stage { position: absolute; left: 0; right: 0; top: 0; bottom: 64px; width: auto; transform: none; margin: 0; }
.hx-stage .slides { position: absolute; inset: 0; display: block; }
.hx .slide, .hx .slide.is-active, .hx .slide.was-active:not(.is-active) { position: absolute; inset: 0; transform: none; filter: none; }
.hx .slide { transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.hx .slide.is-active { transition: opacity .6s var(--ease) .15s, visibility 0s; }

.bp {
  position: absolute; left: 50%; top: 50%; width: 58cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #ffffff 55%, #f1f6fc 100%);
  border: 1px solid #d5e0ec;
  box-shadow: 0 40px 80px -40px rgba(10,40,80,.45), 0 0 0 10px rgba(255,255,255,.7), 0 0 0 11px #e3ebf4;
  transform-style: preserve-3d;
}
.bp::before { /* blueprint grid inside the plate */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background-image: linear-gradient(rgba(36,143,247,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(36,143,247,.09) 1px, transparent 1px);
  background-size: 7% 7%; background-position: center;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
.bp::after { /* tint halo */
  content: ""; position: absolute; inset: -12%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tint) 22%, transparent), transparent 75%);
}
.bp-ref { position: absolute; left: 50%; top: 104%; transform: translateX(-50%); font-size: 11cqw; font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px #c7d5e5; pointer-events: none; }
.bp-outline { position: absolute; inset: 17%; width: 66%; height: 66%; color: #248ff7; stroke-width: .45; overflow: visible; }
.bp-outline * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bp-dims { position: absolute; inset: 6%; width: 88%; height: 88%; stroke: #9db4cf; stroke-width: .35; }
.bp-dims path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bp-img { position: absolute; left: 17%; top: 17%; width: 66%; height: 66%; object-fit: contain; mix-blend-mode: multiply; clip-path: inset(0 0 100% 0); opacity: 0; }
.bp-scan { position: absolute; left: 14%; right: 14%; top: 16%; height: 2px; border-radius: 2px; opacity: 0; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--tint), transparent); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--tint) 45%, transparent); }

/* callouts */
.co { position: absolute; z-index: 3; display: flex; align-items: center; }
.co::before { content: ""; order: 2; width: clamp(28px, 7cqw, 56px); height: 1px; background: #9db4cf; transform: scaleX(0); transition: transform .6s cubic-bezier(.65,0,.35,1); }
.co::after { content: ""; order: 3; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--tint); flex: none; transform: scale(0); transition: transform .4s var(--ease); }
.co-1 { top: 8%; right: 84%; transform-origin: right; }
.co-1::before { transform-origin: right; }
.co-3 { bottom: 14%; right: 86%; }
.co-3::before { transform-origin: right; }
.co-2 { top: 38%; left: 86%; flex-direction: row-reverse; }
.co-2::before { transform-origin: left; }
.co-2 .co-lbl { order: 4; }
.co-lbl { order: 1; display: grid; gap: 1px; padding: 8px 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid #dde6f0; border-radius: 10px;
  box-shadow: 0 14px 30px -18px rgba(10,40,80,.5); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.co-lbl b { font-size: .9375rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.co-lbl span { font-size: .6875rem; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }

/* info card */
.bp-info { position: absolute; right: 0; bottom: 0; width: min(310px, 54cqw); z-index: 4; display: grid; gap: 8px; padding: 16px 16px 14px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid #dde6f0; border-radius: 16px;
  box-shadow: 0 30px 60px -34px rgba(10,40,80,.55); border-top: 3px solid var(--tint); }
.bi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bi-title { font-size: 1.125rem; line-height: 1.18; letter-spacing: -.025em; font-weight: 800; }
.bp-info .hx-actions { padding-top: 4px; }
.bp-info > * { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* --- the sequence (active slide) --- */
.hx .slide.is-active .bp-outline * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.65,0,.35,1) .15s, opacity .8s var(--ease) 1.9s; }
.hx .slide.is-active .bp-outline { opacity: .22; transition: opacity .9s var(--ease) 1.9s; }
.hx .slide.is-active .bp-dims path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) .7s; }
.hx .slide.is-active .bp-img { clip-path: inset(0 0 0 0); opacity: 1; transition: clip-path 1.1s cubic-bezier(.65,0,.35,1) 1.3s, opacity .3s linear 1.3s; animation: float 6s ease-in-out 2.8s infinite; }
.hx .slide.is-active .bp-scan { animation: scan 1.1s cubic-bezier(.65,0,.35,1) 1.3s both; }
@keyframes scan { 0% { top: 16%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 84%; opacity: 0; } }
.hx .slide.is-active .co::before { transform: scaleX(1); }
.hx .slide.is-active .co::after { transform: scale(1); }
.hx .slide.is-active .co .co-lbl { opacity: 1; transform: none; }
.hx .slide.is-active .co-1::after { transition-delay: 2s; } .hx .slide.is-active .co-1::before { transition-delay: 2.05s; } .hx .slide.is-active .co-1 .co-lbl { transition-delay: 2.35s; }
.hx .slide.is-active .co-2::after { transition-delay: 2.2s; } .hx .slide.is-active .co-2::before { transition-delay: 2.25s; } .hx .slide.is-active .co-2 .co-lbl { transition-delay: 2.55s; }
.hx .slide.is-active .co-3::after { transition-delay: 2.4s; } .hx .slide.is-active .co-3::before { transition-delay: 2.45s; } .hx .slide.is-active .co-3 .co-lbl { transition-delay: 2.75s; }
.hx .slide.is-active .bp-info > * { opacity: 1; transform: none; }
.hx .slide.is-active .bp-info > :nth-child(1) { transition-delay: .5s; }
.hx .slide.is-active .bp-info > :nth-child(2) { transition-delay: .6s; }
.hx .slide.is-active .bp-info > :nth-child(3) { transition-delay: .7s; }
.hx .slide.is-active .bp-info > :nth-child(4) { transition-delay: .8s; }
.hx .slide:not(.is-active) * { transition-delay: 0s !important; }
.hx .slide .bp { transition: transform 1s cubic-bezier(.16,1,.3,1); }
.hx .slide:not(.is-active) .bp { transform: translate(-50%, -50%) scale(.92); }
.hx-visual[data-tilt] .bp { rotate: x var(--rx, 0deg); }
.hx-stage { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.hx-visual[data-tilt] .bp { rotate: none; }

/* thumbnails with outline fallback */
.hx-thumbs .th-img { position: relative; }
.th-outline { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); color: #7d93ad; stroke-width: 3; }
.hx-thumbs .th-img img { position: relative; z-index: 1; background: #fff; border-radius: 50%; }

/* ---------- outline band ---------- */
.outline-band { padding-block: clamp(64px, 8vw, 112px); background: linear-gradient(180deg, #ffffff, #f5f8fc); border-bottom: 1px solid var(--line); }
.ob-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.ob-head h2 { font-size: var(--fs-h2); }
.ob-track { position: relative; }
.ob-wire { position: absolute; left: 4%; right: 4%; top: 52px; width: 92%; height: 20px; overflow: visible; }
.ob-wire path { fill: none; stroke: #d3dfec; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 6 6; }
.ob-wire .ob-pulse { stroke: #248ff7; stroke-width: 3; stroke-dasharray: 60 1400; stroke-dashoffset: 60; animation: wire 5s linear infinite; filter: drop-shadow(0 0 4px rgba(36,143,247,.8)); }
@keyframes wire { to { stroke-dashoffset: -1400; } }
.ob-list { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ob-list a { display: grid; justify-items: center; gap: 14px; text-align: center; }
.ob-ico { width: 116px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; position: relative;
  box-shadow: 0 16px 36px -26px rgba(10,40,80,.6); transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .45s; }
.ob-ico::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed #c9d7e6; transition: transform 1.2s var(--ease), border-color .3s; }
.ob-outline { width: 58%; height: 58%; color: var(--ink-2); stroke-width: 1.4; transition: color .3s; }
.ob-outline * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i) * 140ms + 200ms); }
.outline-band.is-in .ob-outline * { stroke-dashoffset: 0; }
.ob-lbl { font-size: .8125rem; font-weight: 600; color: var(--ink-2); line-height: 1.3; max-width: 14ch; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; transition-delay: calc(var(--i) * 140ms + 900ms); }
.outline-band.is-in .ob-lbl { opacity: 1; transform: none; }
.ob-list a:hover .ob-ico { transform: translateY(-6px); border-color: #b9d3f2; box-shadow: 0 26px 40px -24px rgba(10,99,201,.45); }
.ob-list a:hover .ob-ico::after { transform: rotate(90deg); border-color: #248ff7; }
.ob-list a:hover .ob-outline { color: #0a63c9; }
.ob-list a:hover .ob-outline * { animation: redraw 1.2s cubic-bezier(.65,0,.35,1); }
.ob-list a:hover .ob-lbl { color: var(--blue-ink); }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- category tile outline icon ---------- */
.cat-tile { position: relative; }
.ct-ico { position: absolute; z-index: 2; top: 10px; left: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--line); display: grid; place-items: center; }
.ct-outline { width: 24px; height: 24px; color: #248ff7; stroke-width: 2.4; }
.cat-tile:hover .ct-outline * { stroke-dasharray: 1; animation: redraw 1s cubic-bezier(.65,0,.35,1); }

/* why items get a line accent */
.why-item { position: relative; overflow: hidden; }
.why-item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #248ff7, #6a5cff); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why-item:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .circuit-bg .pulses, .ob-wire .ob-pulse { display: none; }
  .bp-outline *, .bp-dims path, .ob-outline * { stroke-dashoffset: 0 !important; transition: none !important; }
  .bp-img { clip-path: none !important; opacity: 1 !important; animation: none !important; }
  .bp-scan { display: none; }
  .co::before, .co::after, .co-lbl, .bp-info > *, .ob-lbl { transform: none !important; opacity: 1 !important; transition: none !important; }
  .hx .slide.is-active .bp-outline { opacity: .22; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ob-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .ob-wire { display: none; }
}
@media (max-width: 600px) {
  .hx-visual { aspect-ratio: auto; display: block; }
  .hx-orbit, .hx-circuit { display: none; }
  .hx-stage { position: relative; inset: auto; bottom: auto; }
  .hx-stage .slides { position: relative; display: grid; }
  .hx .slide, .hx .slide.is-active, .hx .slide.was-active:not(.is-active) { position: relative; inset: auto; grid-area: 1 / 1; }
  .bp { position: relative; left: auto; top: auto; transform: none !important; width: 72cqw; margin: 24px auto 40px; }
  .hx .slide:not(.is-active) .bp { transform: scale(.92) !important; }
  .co::before, .co::after { display: none; }
  .co-1 { top: -4%; right: auto; left: -14%; }
  .co-2 { top: 42%; left: auto; right: -16%; }
  .co-3 { bottom: -2%; right: auto; left: -12%; }
  .co-lbl { padding: 6px 9px; }
  .co-lbl b { font-size: .8125rem; }
  .co-lbl span { font-size: .625rem; }
  .bp-ref { top: 100%; font-size: 14cqw; }
  .bp-info { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 8px; }
  .hx-ui { margin-top: 16px; }
  .ob-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-ico { width: 96px; }
}
.hx-stage { justify-self: stretch; align-self: stretch; }
.hx-ui { grid-row: 2; align-self: end; }
@media (max-width: 600px) { .hx-ui { grid-row: auto; } }

/* ---- Brand logos: always in original colours ---- */
.b-logo img { filter: none !important; opacity: 1 !important; }
.b-logo > span.b-logo-txt, .b-logo--text > span, .m-logo > span.b-logo-txt, .bt-inner .b-logo > span.b-logo-txt,
.brand-block .bb-mark .b-logo > span.b-logo-txt, .st-logo .b-logo > span.b-logo-txt, .poster-logo .b-logo > span.b-logo-txt {
  color: var(--brand, #11151b) !important; font-weight: 800; letter-spacing: -.02em; text-transform: none;
}
.m-logo { transform: scale(1); transition: transform .35s var(--ease); }
.marquee-track a:hover .m-logo { transform: scale(1.06); }
