/* =====================================================================
   KIYA — design system
   Built on the original kiyaproducts.com identity: #111 cinematic
   dark, Montserrat headings with italic emphasis, Manrope labels,
   DM Sans text, orange eyebrows and the gold brochure gradient —
   modernised with larger type, cleaner grids and motion.
   Mobile-first; breakpoints 640 / 900 / 1100 px.
   ===================================================================== */

:root {
  --bg: #111111;
  --bg-2: #161616;
  --bg-3: #1c1c1c;
  --orange: #f99d25;
  --orange-2: #ffb24a;
  --gold-1: var(--orange);
  --gold-2: #e48a12;
  --gold: var(--orange);
  --teal: #1fb2ae;
  --ok: #3ccf82;
  --err: #ff6b5e;

  /* scope colours (flipped inside .light) */
  --fg: #ffffff;
  --fg-2: #d9d9d9;
  --fg-muted: #9a9a9a;
  --bd: rgba(255, 255, 255, .1);
  --bd-2: rgba(255, 255, 255, .22);
  --surface: #171717;
  --surface-2: #1f1f1f;
  --label: var(--orange);
  /* dark product stage: warm graphite + orange floor glow, so white machines stand out */
  --stage-bg: radial-gradient(62% 20% at 50% 84%, rgba(249,157,37,.34), transparent 72%), radial-gradient(120% 95% at 50% 0%, #29241e 0%, #171717 58%, #101010 100%);

  --f-head: "Montserrat", system-ui, sans-serif;
  --f-ui: "Manrope", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 10px;
  --gutter: 20px;
  --wrap: 1320px;
  --hdr-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --hdr-h: 72px; } }

.light, .sec--light, .form-card {
  --fg: #111111;
  --fg-2: #333333;
  --fg-muted: #666666;
  --bd: #e3e3e3;
  --bd-2: #cfcfcf;
  --surface: #ffffff;
  --surface-2: #f6f6f6;
  --label: #d27f0a;
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg-2); font: 400 16px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--bd-2); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .5em; color: var(--fg); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.8vw, 5rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -.02em; line-height: 1.25; }
h1 em, h2 em, h3 em, .statement em { font-style: italic; font-weight: 500; }
h1 em.accent, h2 em.accent { color: var(--orange); }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; }
strong, b { font-weight: 700; color: var(--fg); }
.muted { color: var(--fg-muted); }
.accent { color: var(--orange); }
.mono { font-variant-numeric: tabular-nums; }
.hide-sm { display: none; }
@media (min-width: 900px) { .hide-sm { display: inline-flex; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #111; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.25rem; font: 600 .9rem/1.3 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--label); }
.eyebrow--teal { color: var(--teal); }
.index { font: 600 .85rem/1 var(--f-ui); letter-spacing: 2px; color: var(--orange); }
.tag { display: inline-block; font: 600 .75rem/1.3 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--fg-muted); }
.tag--lg { display: inline-flex; padding: .75rem 1.1rem; border: 1px solid var(--bd); border-radius: 999px; text-decoration: none; color: var(--fg); letter-spacing: 0; text-transform: none; font-size: .9rem; transition: border-color .2s, color .2s; }
.tag--lg:hover { border-color: var(--orange); color: var(--fg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .85em 1.55em; border: 0; border-radius: 999px;
  background: var(--orange); color: #111; font: 600 .98rem/1 var(--f-ui);
  text-decoration: none; white-space: nowrap; transition: background .25s, transform .2s, box-shadow .3s;
}
.btn:hover { color: #111; background: var(--orange-2); transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(249, 157, 37, .65); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--ghost, .btn--line { background: rgba(255,255,255,.04); color: var(--fg); border: 1px solid var(--bd-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover, .btn--line:hover { background: rgba(255,255,255,.06); border-color: var(--gold-1); color: var(--fg); box-shadow: none; }
.light .btn--ghost:hover, .sec--light .btn--ghost:hover { background: rgba(0,0,0,.04); }
.btn--dark { background: #111; color: #fff; }
.btn--dark:hover { background: #262626; }
.btn--sm { min-height: 40px; padding: .6em 1.1em; font-size: .88rem; }
.btn--lg { min-height: 58px; padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; gap: .55em; align-items: center; font: 500 1rem/1 var(--f-ui); text-decoration: none; color: var(--fg); }
button.link-arrow { background: none; border: 0; padding: 0; }
.link-arrow::after { content: "↗"; color: var(--orange); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--fg); }
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* ---------- header: floating glass capsule ---------- */
.topbar { display: none; }
/* The glass blur lives on ::before. backdrop-filter on .hdr itself would make
   the header the containing block for the fixed-position mobile menu,
   squashing the menu into the header bar. */
.hdr {
  position: sticky; top: 12px; z-index: 50;
  margin: 12px max(var(--gutter), calc((100% - 1480px) / 2)) 0;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; transition: border-color .35s, box-shadow .35s;
}
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(22, 22, 22, .68); backdrop-filter: saturate(1.3) blur(18px); -webkit-backdrop-filter: saturate(1.3) blur(18px); transition: background .35s; }
.hdr.is-stuck { box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .9); }
.hdr.is-stuck::before { background: rgba(18, 18, 18, .86); }
.is-home .hdr { position: fixed; left: 0; right: 0; }
.hdr .wrap { max-width: none; padding-inline: clamp(14px, 1.6vw, 24px); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr-h); }
.hdr__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* lockup image is trimmed to its artwork, so height = visible logo height */
.logo-lockup { height: 40px; width: auto; }
@media (min-width: 1100px) and (max-width: 1299px) { .logo-lockup { height: 34px; } }
@media (min-width: 1300px) { .logo-lockup { height: 44px; } }
@media (min-width: 1600px) { .logo-lockup { height: 50px; } }
@media (max-width: 639px) { .logo-lockup { height: 32px; } }
@media (max-width: 380px) { .logo-lockup { height: 27px; } }
.logo-kiya { height: 26px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: .6rem .95rem; border-radius: 999px; white-space: nowrap; text-decoration: none; font: 500 .93rem/1 var(--f-ui); color: rgba(255, 255, 255, .86); transition: background .2s, color .2s; }
.nav__link:hover, .has-mega:hover > .nav__link { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current] { color: #fff; background: rgba(249, 157, 37, .14); box-shadow: inset 0 0 0 1px rgba(249, 157, 37, .35); }
@media (max-width: 1299px) { .nav__link { padding-inline: .65rem; font-size: .88rem; } }
.nav__toggle { display: none; }
.nav__cta { display: flex; gap: .6rem; align-items: center; }

.mega {
  position: absolute; top: calc(100% + 22px); left: 50%; translate: -50% 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 270px; gap: 2rem; width: min(920px, 92vw); padding: 2rem;
  background: rgba(20, 20, 20, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bd); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.mega--list { grid-template-columns: repeat(3, 1fr); width: min(720px, 92vw); gap: .1rem 1.5rem; }
.mega--sm { grid-template-columns: 1fr; width: 280px; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__label { font: 600 .72rem/1 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin: 0 0 .9rem; }
.mega__label.mt { margin-top: 1.5rem; }
.mega__prod { display: flex; gap: .9rem; align-items: baseline; padding: .55rem .5rem; margin-inline: -.5rem; border-radius: 10px; text-decoration: none; font: 400 .95rem/1.3 var(--f-ui); color: #fff; }
.mega__prod:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega__code { font: 600 .74rem/1 var(--f-ui); color: var(--orange); min-width: 3.6em; letter-spacing: 1px; }
.mega__link { display: block; padding: .55rem .5rem; margin-inline: -.5rem; border-radius: 10px; text-decoration: none; font: 400 .95rem/1.3 var(--f-ui); color: var(--fg-2); }
.mega__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
/* dark stage with orange floor glow (as in the hero) so the white machine stands out */
.mega__feature { border-radius: 12px; padding: 1.1rem; color: #fff; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(70% 22% at 50% 52%, rgba(249,157,37,.38), transparent 70%), radial-gradient(120% 90% at 50% 0%, #2a2620 0%, #161616 60%, #101010 100%); }
.mega__feature img { aspect-ratio: 4/3; object-fit: contain; margin-bottom: .75rem; filter: drop-shadow(0 14px 14px rgba(0,0,0,.6)); }
.mega__feature .mega__label { color: var(--orange); }
.mega__feature p { font-size: .9rem; margin-bottom: .9rem; color: rgba(255,255,255,.75); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--bd-2); background: rgba(255,255,255,.04); padding: 15px 13px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: flex; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--nav-top, 90px) + 8px); z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    margin-inline: max(var(--gutter), 12px); margin-bottom: 12px; border-radius: 18px; border: 1px solid var(--bd);
    background: #121212; padding: .5rem 1.25rem 2rem; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { border-bottom: 1px solid var(--bd); display: grid; grid-template-columns: 1fr auto; }
  .nav__link, .nav__link:hover, .nav__link[aria-current] { padding: 1.1rem 0; font-size: 1.08rem; background: none; box-shadow: none; border-radius: 0; }
  .nav__link[aria-current] { color: var(--orange); }
  .nav__toggle { display: block; width: 52px; align-self: stretch; border: 0; background: none; }
  .nav__toggle::before { content: "+"; font: 300 1.7rem/1 var(--f-ui); color: var(--fg-muted); }
  .nav__toggle[aria-expanded="true"]::before { content: "\2013"; color: var(--orange); }
  .mega, .mega--list, .mega--sm { grid-column: 1 / -1; position: static; translate: none; transform: none; width: auto; display: none; grid-template-columns: 1fr; gap: 0; padding: 0 0 1.25rem; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; backdrop-filter: none; }
  .mega::before { display: none; }
  .mega.is-open { display: grid; }
  .has-mega:hover > .mega:not(.is-open) { display: none; }
  .mega__feature { display: none; }
  .nav__cta { padding-top: 1.5rem; flex-direction: column; align-items: stretch; }
  .nav__cta .btn { min-height: 54px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .dock { display: none; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: 1.1rem; font: 500 .8rem/1.4 var(--f-ui); color: var(--fg-muted); }
.crumbs a { text-decoration: none; color: var(--fg-muted); }
.crumbs [aria-current] { color: #fff; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 90px); }
.sec--alt { background: var(--bg-2); }
.sec--light { background: #fff; }
.sec--dark { background: #0b0b0b; }
.sec--card { margin-inline: clamp(0px, 2vw, 32px); border-radius: clamp(0px, 2vw, 28px); }
.sec-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.sec-head--row > div { max-width: 800px; }
.sec-head p { color: var(--fg-muted); font-size: 1.1rem; max-width: 62ch; }
.lead { font: 400 clamp(1.05rem, 1.5vw, 1.25rem)/1.65 var(--f-ui); color: var(--fg-2); max-width: 64ch; }
.grid-bg { position: relative; }

.g2 { display: grid; gap: clamp(36px, 6vw, 100px); }
@media (min-width: 900px) { .g2 { grid-template-columns: 1fr 1fr; align-items: center; } .g2--top { align-items: start; } .g2--wide-l { grid-template-columns: 1.3fr 1fr; } }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.frame { position: relative; }

/* ---------- home hero: product stage ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 75% 35%, #1b1712 0%, #111 45%, #0b0b0b 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(65% 75% at 70% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(65% 75% at 70% 45%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, #111, transparent); }
.hero__fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__in { width: 100%; padding-top: calc(var(--hdr-h) + 48px); display: grid; gap: 2.5rem; align-items: center; position: relative; }
@media (min-width: 1000px) { .hero__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; } }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 4.3rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 1.4rem; max-width: 15ch; }
.hero h1 em { color: var(--orange); }
.hero__lead { font: 400 clamp(1.02rem, 1.3vw, 1.18rem)/1.65 var(--f-ui); color: rgba(255,255,255,.75); max-width: 50ch; margin: 0 0 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; align-items: center; }
.play { display: inline-flex; align-items: center; gap: .8rem; border: 0; background: none; padding: 0; font: 500 1rem/1 var(--f-ui); color: #fff; }
.play i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); position: relative; }
.play i::before { content: ""; margin-left: 3px; border-left: 12px solid #fff; border-block: 8px solid transparent; }
.play i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--orange); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* kinetic headline — words rise in one after another */
.kinetic .kw { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: kw .9s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }
.kinetic em { display: inline; }
@keyframes kw { to { opacity: 1; transform: none; filter: none; } }
.hero__copy > :not(h1) { opacity: 0; animation: fadeup .9s var(--ease) .75s forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the stage */
/* caption + tabs live in a strip under the stage (margin-bottom reserves it) so they never cover the machine */
.stage { position: relative; aspect-ratio: 16 / 11.5; width: 100%; margin-bottom: 84px; }
@media (max-width: 999px) { .stage { aspect-ratio: 16 / 13; margin-top: -.5rem; } }
.stage__glow { position: absolute; left: 12%; right: 12%; bottom: 14%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,157,37,.55), rgba(249,157,37,.12) 55%, transparent); filter: blur(10px); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scaleX(1.08); opacity: .8; } }
.stage .hero-lines { position: absolute; width: 96%; max-width: none; left: 50%; top: 45%; translate: -50% -50%; z-index: 0; pointer-events: none; }
.stage__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; z-index: 1; }
.stage__slide.is-on { opacity: 1; visibility: visible; }
.stage__machine { position: absolute; left: 8%; right: 8%; top: 16%; bottom: 20%; display: block; }
.stage__machine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); transform: translateY(24px) scale(.96); transition: transform 1.1s var(--ease); }
.stage__slide.is-on .stage__machine img { transform: none; animation: float 7s ease-in-out 1.2s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.stage__leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: rgba(249,157,37,.7); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; z-index: 2; }
.stage__leaders polyline { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage__slide.is-on .stage__leaders polyline { animation: draw .9s var(--ease) .5s forwards; }
.stage__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249,157,37,.25); z-index: 3; opacity: 0; }
.stage__slide.is-on .stage__dot { animation: dotin .5s var(--ease) 1.2s forwards, pulse 2.2s ease-in-out 1.7s infinite; }
@keyframes dotin { to { opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(249,157,37,0); } }
.stage__chip { position: absolute; z-index: 4; display: grid; gap: .25rem; padding: .7rem 1rem; border-radius: 14px; background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(10px); }
.stage__slide.is-on .stage__chip { animation: fadeup .7s var(--ease) forwards; }
.stage__slide.is-on .stage__chip:nth-of-type(1) { animation-delay: .35s; }
.stage__slide.is-on .stage__chip:nth-of-type(2) { animation-delay: .5s; }
.stage__slide.is-on .stage__chip:nth-of-type(3) { animation-delay: .65s; }
.stage__chip b { font: 500 clamp(1rem, 1.6vw, 1.45rem)/1 var(--f-head); letter-spacing: -.03em; color: #fff; }
.stage__chip small { font: 500 .72rem/1.2 var(--f-ui); color: rgba(255,255,255,.6); max-width: 16ch; }
.stage__cap { position: absolute; left: 0; top: calc(100% + 18px); z-index: 4; max-width: 52%; font: 500 clamp(1rem, 1.5vw, 1.3rem)/1.2 var(--f-head); letter-spacing: -.02em; color: #fff; opacity: 0; }
.stage__slide.is-on .stage__cap { animation: fadeup .7s var(--ease) .4s forwards; }
.stage__cap small { display: block; margin-bottom: .35rem; font: 600 .7rem/1 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.stage__tabs { position: absolute; right: 0; top: calc(100% + 24px); z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; max-width: 46%; }
.stage__tabs button { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 999px; padding: .5rem .8rem; font: 600 .72rem/1 var(--f-ui); letter-spacing: 1px; color: rgba(255,255,255,.6); }
.stage__tabs button[aria-selected="true"] { color: #fff; border-color: rgba(249,157,37,.6); }
.stage__tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); }
.stage__tabs button[aria-selected="true"] i { animation: progress var(--slide-ms, 6000ms) linear forwards; }
.stage.is-paused .stage__tabs button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
@media (max-width: 639px) {
  .stage__chip { padding: .45rem .65rem; border-radius: 10px; }
  .stage__chip small { font-size: .62rem; }
  .stage__cap { display: none; }
  .stage { margin-bottom: 56px; }
  .stage__tabs { left: 0; right: 0; max-width: none; justify-content: center; top: calc(100% + 12px); }
  .stage__tabs button { padding: .45rem .6rem; font-size: .66rem; }
}

.hero__stats { margin-block: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stats > div { padding: 1.4rem 1.25rem 0 0; }
.hero__stats b { display: block; font: 500 clamp(1.7rem, 3vw, 2.6rem)/1 var(--f-head); letter-spacing: -.045em; color: #fff; }
.hero__stats b sup { font-size: .5em; color: var(--orange); vertical-align: top; margin-left: 2px; }
.hero__stats > div > span { display: block; margin-top: .45rem; font: 400 .85rem/1.35 var(--f-ui); color: rgba(255,255,255,.58); }

.glass { background: rgba(22, 22, 22, .55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; }

/* ---------- line drawing: strokes with pathLength="1" draw themselves in ---------- */
.draw [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-lines [pathLength] { animation: draw 2.6s var(--ease) .3s forwards; }
.hero-lines .hl-faint [pathLength] { animation-delay: .1s; }
.hero-lines .hl-dim [pathLength] { animation-delay: 1.1s; animation-duration: 1.6s; }
.is-in .draw [pathLength], .draw.is-in [pathLength] { animation: draw 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lines { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.1; }
.hero-lines .hl-faint { stroke: rgba(255,255,255,.26); }
.hero-lines .hl-ticks line { stroke: rgba(255,255,255,.34); }
.hero-lines .hl-accent { stroke: var(--orange); stroke-width: 1.5; }
.hero-lines .hl-dash { stroke-dasharray: .012 .02; stroke-dashoffset: 0; stroke: rgba(249,157,37,.8); animation: none; }
.hero-lines .hl-dash2 { stroke-dasharray: .004 .012; stroke-dashoffset: 0; stroke: rgba(255,255,255,.35); animation: none; }
.hero-lines .hl-ext { stroke: rgba(255,255,255,.14); }
.hl-spin { transform-origin: 300px 300px; animation: spin 40s linear infinite; }
.hl-spin--rev { animation-duration: 60s; animation-direction: reverse; }
.hl-text { fill: rgba(255,255,255,.6); stroke: none; font: 500 15px var(--f-ui); letter-spacing: 1px; text-anchor: middle; opacity: 0; animation: fadein 1s 2s forwards; }
.hl-text--s { font-size: 12px; letter-spacing: 3px; text-anchor: start; fill: var(--orange); }
.hl-text--v { writing-mode: vertical-rl; }
@keyframes fadein { to { opacity: 1; } }

/* ---------- process diagrams ---------- */
.procs { display: grid; gap: 16px; }
@media (min-width: 640px) { .procs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .procs { grid-template-columns: repeat(4, 1fr); } }
.proc-card { position: relative; border: 1px solid var(--bd); border-radius: 20px; padding: 1.25rem 1.25rem 1.6rem; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); overflow: hidden; transition: border-color .3s; text-decoration: none; color: var(--fg); display: block; }
.proc-card:hover { border-color: rgba(249,157,37,.45); color: var(--fg); }
.proc-card__fig { border-radius: 14px; background-color: #0c0c0c; border: 1px solid rgba(255,255,255,.06); margin-bottom: 1.25rem; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 20px 20px; }
.proc-card .index { display: block; margin-bottom: .8rem; }
.proc-card h3 { margin-bottom: .45rem; }
.proc-card p { color: var(--fg-muted); font-size: .93rem; margin: 0 0 1rem; }
.proc-card__m { font: 500 .82rem/1.4 var(--f-ui); color: var(--fg-2); }
.proc-card__m b { color: var(--orange); font-weight: 600; }
.proc { width: 100%; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.proc .p-line { stroke: rgba(255,255,255,.45); stroke-width: 1.2; }
.proc .p-center { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.proc .p-work { stroke: #fff; stroke-width: 1.6; }
.proc .p-wheel { stroke: var(--orange); stroke-width: 1.6; }
.proc .p-rim { stroke: rgba(249,157,37,.7); stroke-width: 1.2; stroke-dasharray: 4 6; }
.proc .p-rim--work { stroke: rgba(255,255,255,.4); }
.proc .p-table { stroke: rgba(249,157,37,.6); stroke-width: 1.2; stroke-dasharray: 6 8; animation: tableflow 1s linear infinite; }
.proc .p-label { fill: rgba(255,255,255,.4); stroke: none; font: 600 9px var(--f-ui); letter-spacing: 2px; text-anchor: end; }
.proc .p-sparks line { stroke: #ffc477; stroke-width: 1.4; animation: spark .5s steps(2) infinite; }
.proc .p-sparks line:nth-child(2) { animation-delay: .17s; }
.proc .p-sparks line:nth-child(3) { animation-delay: .33s; }
.is-in .proc .p-rot, .proc.is-in .p-rot { animation: draw 1s forwards, rotflow 1.2s linear 1s infinite; }
.proc .p-rot { stroke: rgba(255,255,255,.5); }
.p-spin { transform-box: fill-box; transform-origin: center; animation: spin 2.2s linear infinite; }
.p-spin--slow { animation-duration: 6s; }
.p-spin--fast { animation-duration: 1s; }
.p-spin--rev { animation-direction: reverse; animation-duration: 3s; }
.p-traverse { animation: traverse 5s ease-in-out infinite alternate; }
.p-feed { animation: feed 1.6s ease-in-out infinite alternate; }
.p-feed--down { animation-name: feeddown; }
@keyframes spark { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes traverse { to { transform: translateX(110px); } }
@keyframes feed { to { transform: translateX(-6px); } }
@keyframes feeddown { from { transform: translateY(-6px); } to { transform: translateY(2px); } }
@keyframes rotflow { from { stroke-dasharray: .1 .08; stroke-dashoffset: 0; } to { stroke-dasharray: .1 .08; stroke-dashoffset: -.36; } }
@keyframes tableflow { to { stroke-dashoffset: -14; } }

/* ---------- animated section divider ---------- */
.ldiv { position: relative; height: 1px; margin-inline: auto; max-width: var(--wrap); }
.ldiv svg { position: absolute; left: var(--gutter); top: -8px; width: calc(100% - 2 * var(--gutter)); height: 17px; overflow: visible; fill: none; }
.ldiv line { stroke: rgba(255,255,255,.12); }
.ldiv .ldiv__run { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: .08 .92; animation: dashrun 7s linear infinite; }
.ldiv circle { fill: var(--bg); stroke: var(--orange); }
@keyframes dashrun { to { stroke-dashoffset: -1; } }

/* ---------- bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); } .b-2x2 { grid-column: span 2; grid-row: span 2; } .b-2x1 { grid-column: span 2; } }
@media (min-width: 700px) and (max-width: 1099px) { .b-2x2, .b-2x1 { grid-column: span 2; } }
.b { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--bd); background: var(--surface); padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; isolation: isolate; text-decoration: none; color: var(--fg); transition: border-color .3s; }
a.b:hover { border-color: rgba(249,157,37,.45); color: var(--fg); }
.b h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.b p { margin: 0; color: var(--fg-muted); font-size: .93rem; }
.b > .index { margin-bottom: auto; padding-bottom: 1.5rem; }
.b__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.b:hover .b__img { transform: scale(1.04); }
.b--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.92) 10%, rgba(10,10,10,.2) 70%); }
.b--img p { color: rgba(255,255,255,.75); }
.b__big { font: 500 clamp(3rem, 5.4vw, 4.8rem)/.95 var(--f-head); letter-spacing: -.05em; color: #fff; margin-bottom: .6rem; }
.b__big sup { font-size: .4em; color: var(--orange); vertical-align: top; margin-left: 2px; }
.b--accent { background: var(--orange); border-color: var(--orange); }
.b--accent, .b--accent h3, .b--accent .b__big { color: #111; }
.b--accent p { color: rgba(17,17,17,.75); }
.b--accent .b__big sup { color: #111; }
.b--line { background: #0d0d0d; }
.b--line .b__img { opacity: .6; }
.b__logo { height: 54px; width: auto; margin-bottom: auto; align-self: flex-start; }
.b__ring { position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; z-index: -1; fill: none; stroke: rgba(255,255,255,.1); }
.b__ring .spin { stroke: rgba(249,157,37,.45); stroke-dasharray: 3 7; transform-origin: 130px 130px; animation: spin 30s linear infinite; }

/* stats strip */
.readout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--bd); }
@media (min-width: 900px) { .readout { grid-template-columns: repeat(4, 1fr); } }
.readout > div { padding: 1.5rem 1.5rem 0 0; }
.readout b { display: block; font: 500 clamp(2.2rem, 4.6vw, 4rem)/1 var(--f-head); letter-spacing: -.04em; color: var(--fg); }
.readout b sup { font-size: .45em; color: var(--orange); vertical-align: top; margin-left: 3px; }
.readout > div > span { display: block; margin-top: .6rem; font: 400 .92rem/1.4 var(--f-ui); color: var(--fg-muted); }
.readout--3 { grid-template-columns: repeat(3, 1fr) !important; }
.readout--3 b { font-size: clamp(1.3rem, 2.6vw, 2rem); }

/* page hero */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 170px) clamp(56px, 8vw, 110px); background: #0b0b0b; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.96) 15%, rgba(17,17,17,.6) 65%, rgba(17,17,17,.4)), linear-gradient(0deg, #111, transparent 45%); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent); }
.phero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 18ch; }
.phero .lead { margin-bottom: 2rem; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--bd); padding-block: 1.6rem; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 500 clamp(1.5rem, 2.8vw, 2.4rem)/1 var(--f-head); letter-spacing: -.03em; color: #fff; white-space: nowrap; display: inline-flex; gap: 3rem; align-items: center; }
.marquee span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.marquee span::after { content: "✦"; color: var(--orange); font-size: .55em; font-style: normal; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { font: 500 clamp(1.7rem, 3.6vw, 3.2rem)/1.2 var(--f-head); letter-spacing: -.035em; color: var(--fg); max-width: 24ch; margin: 0; text-wrap: balance; }
.statement span { color: var(--fg-muted); }
.big-nums { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--bd); margin-top: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .big-nums { grid-template-columns: repeat(4, 1fr); } }
.big-nums > div { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--bd); }
.big-nums > div:last-child { border-right: 0; }
@media (max-width: 899px) { .big-nums > div:nth-child(2n) { border-right: 0; padding-left: 1.25rem; } .big-nums > div:nth-child(n+3) { border-top: 1px solid var(--bd); margin-top: 2rem; } }
.big-nums b { display: block; font: 500 clamp(2.8rem, 6.4vw, 5.6rem)/.95 var(--f-head); letter-spacing: -.05em; color: var(--fg); }
.big-nums b sup { font-size: .4em; color: var(--orange); vertical-align: top; margin-left: 3px; }
.big-nums > div > span { display: block; margin-top: .9rem; color: var(--fg-muted); font: 400 .95rem/1.45 var(--f-ui); max-width: 22ch; }

/* ---------- legacy (SOLCO) ---------- */
.legacy { display: grid; gap: clamp(36px, 6vw, 100px); }
@media (min-width: 1000px) { .legacy { grid-template-columns: 5fr 6fr; align-items: center; } }
.legacy__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.legacy__photos figure { margin: 0; overflow: hidden; border-radius: 14px; }
.legacy__photos figure:first-child { grid-row: span 2; }
.legacy__photos img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) contrast(1.05); transition: filter .6s, transform .8s var(--ease); }
.legacy__photos figure:hover img { filter: none; transform: scale(1.04); }
.legacy__badge { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 2rem; }
.legacy__badge img { height: 56px; width: auto; }
.legacy__badge span { font: 600 .78rem/1.4 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }

.years { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; border-top: 1px solid var(--bd); margin-top: clamp(48px, 7vw, 90px); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.years::-webkit-scrollbar { display: none; }
.years > div { scroll-snap-align: start; padding: 2rem 2rem 1.5rem 0; position: relative; }
.years > div::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange); }
.years b { display: block; font: 500 clamp(2rem, 3.4vw, 2.9rem)/1 var(--f-head); letter-spacing: -.04em; color: var(--fg); margin-bottom: 1rem; }
.years > div:nth-last-child(-n+2) b { color: var(--orange); }
.years h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.years p { font-size: .92rem; color: var(--fg-muted); margin: 0; }
.years-nav { display: flex; gap: .6rem; }
.years-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bd-2); background: none; color: #fff; font-size: 1.1rem; }
.years-nav button:hover { border-color: var(--gold-1); }

/* ---------- capacity (plant) ---------- */
.plant { position: relative; min-height: 90svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.plant > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.plant::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #111 4%, rgba(17,17,17,.55) 55%, rgba(17,17,17,.25)); }
.plant .wrap { padding-block: clamp(100px, 14vw, 180px) clamp(48px, 6vw, 80px); }
.cap-grid { display: grid; gap: 12px; margin-top: 3rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap-grid > div { background: rgba(17,17,17,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1.75rem 1.5rem; }
.cap-grid .index { display: block; margin-bottom: 1.5rem; }
.cap-grid h3 { color: #fff; font-size: 1.15rem; }
.cap-grid p { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }

/* ---------- machine index ---------- */
.mindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bd); }
.mindex li { border-bottom: 1px solid var(--bd); }
.mindex a { position: relative; display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 0; text-decoration: none; color: var(--fg); transition: padding .4s var(--ease), background .4s; }
@media (min-width: 900px) { .mindex a { grid-template-columns: 4rem 8rem 1.1fr 1.2fr auto; gap: 1.5rem; padding: 2.1rem 0; } }
.mindex__n { font: 600 .85rem/1 var(--f-ui); color: var(--orange); letter-spacing: 1px; }
.mindex__code { display: none; font: 600 .95rem/1 var(--f-ui); letter-spacing: 1px; color: var(--fg-muted); }
.mindex__name { font: 500 clamp(1.15rem, 2.3vw, 2rem)/1.15 var(--f-head); letter-spacing: -.03em; }
.mindex__name small { display: block; margin-top: .4rem; font: 600 .7rem/1 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--fg-muted); }
.mindex__desc { display: none; color: var(--fg-muted); font: 400 .95rem/1.5 var(--f-ui); }
.mindex__go { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--bd-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.mindex__go::before { content: "↗"; font-size: 1.15rem; }
.mindex__img { position: absolute; right: 12%; top: 50%; width: 320px; aspect-ratio: 4/3; translate: 0 -50%; background: var(--stage-bg); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; opacity: 0; transform: scale(.92) rotate(-3deg); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); z-index: 3; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); display: none; }
.mindex__img img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) {
  .mindex__code, .mindex__desc, .mindex__img { display: block; }
  .mindex__name small { display: none; }
  .mindex a:hover { padding-left: 1.25rem; }
  .mindex a:hover .mindex__img { opacity: 1; transform: none; }
  .mindex a:hover .mindex__go { background: var(--gold); border-color: transparent; transform: rotate(45deg); }
}
.mindex__thumb { width: 72px; height: 54px; object-fit: contain; background: var(--stage-bg); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 4px; grid-column: 3; grid-row: 1; justify-self: end; }
@media (min-width: 900px) { .mindex__thumb { display: none; } }
@media (max-width: 899px) { .mindex__go { display: none; } }

/* ---------- product showcase rows (machines page) ---------- */
.showcase { display: grid; gap: clamp(32px, 5vw, 84px); padding-block: clamp(60px, 8vw, 120px); border-bottom: 1px solid var(--bd); }
.showcase:first-child { padding-top: 0; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1.15fr 1fr; align-items: center; } .showcase:nth-child(even) .showcase__media { order: 2; } }
.showcase__media { background: var(--stage-bg); border: 1px solid rgba(255,255,255,.08); aspect-ratio: 4 / 3; border-radius: 18px; display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); position: relative; overflow: hidden; }
.showcase__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.showcase:hover .showcase__media img { transform: scale(1.04); }
.showcase__code { position: absolute; left: 22px; bottom: 4px; font: 600 clamp(3rem, 8vw, 7rem)/1 var(--f-head); font-style: italic; letter-spacing: -.05em; color: rgba(255,255,255,.05); pointer-events: none; }
.showcase h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.showcase p { color: var(--fg-muted); font-size: 1.05rem; }
.showcase .readout { margin: 2rem 0 2.25rem; grid-template-columns: repeat(3, 1fr); }
.showcase .readout b { font-size: clamp(1.3rem, 2.4vw, 2rem); }
.showcase .readout > div > span { font-size: .82rem; }

/* ---------- compact product tile ---------- */
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--bd); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--fg); transition: border-color .3s, transform .3s var(--ease); }
.pcard:hover { color: var(--fg); border-color: rgba(223,185,123,.6); transform: translateY(-4px); }
.pcard__stage { position: relative; aspect-ratio: 4 / 3; background: var(--stage-bg); display: grid; place-items: center; padding: 1.5rem; overflow: hidden; }
.pcard__stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.pcard:hover .pcard__stage img { transform: scale(1.05); }
.pcard__code { position: absolute; top: 14px; left: 16px; font: 600 .74rem/1 var(--f-ui); letter-spacing: 2px; color: var(--orange); }
.pcard__fam { position: absolute; top: 14px; right: 16px; font: 600 .66rem/1 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: #888; }
.pcard__body { padding: 1.5rem 1.6rem 1.75rem; display: grid; gap: .5rem; }
.pcard__body h3 { margin: 0; }
.pcard__body p { margin: 0; color: var(--fg-muted); font-size: .95rem; }
.pcard__more { margin-top: .6rem; font: 500 .95rem/1 var(--f-ui); color: var(--fg); }
.pcard__more::after { content: " ↗"; color: var(--orange); }
.pcard__specs, .chips { display: none !important; }

/* ---------- tiles & lists ---------- */
.tile { background: var(--surface); border: 1px solid var(--bd); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.tile h3 { margin-bottom: .5rem; }
.tile p { color: var(--fg-muted); margin: 0; font-size: .97rem; }
.tile__n { display: block; margin-bottom: 1.75rem; font: 600 .78rem/1 var(--f-ui); letter-spacing: 2px; color: var(--orange); text-transform: uppercase; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; }
.checks li { display: flex; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--bd); font-family: var(--f-ui); }
.checks li::before { content: "✦"; flex: 0 0 auto; color: var(--orange); font-size: .75rem; }
.checks--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 2.5rem; }

/* ---------- media ---------- */
.media { overflow: hidden; border-radius: 18px; background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--stage { background: var(--stage-bg); border: 1px solid rgba(255,255,255,.08); padding: clamp(20px, 4vw, 48px); }
.media--stage img { object-fit: contain; }
.media--hero { aspect-ratio: 21 / 9; }
@media (max-width: 639px) { .media--hero { aspect-ratio: 16 / 10; } }
.media--cert { max-width: 460px; justify-self: center; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); }
.mosaic > * { grid-column: span 3; aspect-ratio: 4 / 3; margin: 0; border-radius: 14px; }
.mosaic > :first-child { grid-column: span 6; aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .mosaic > * { grid-column: span 2; } .mosaic > :first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; } }
.caption { font: 400 .82rem/1.4 var(--f-ui); color: var(--fg-muted); margin-top: .8rem; }

/* ---------- trust / group ---------- */
.trust { display: grid; gap: 16px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust > div { background: var(--surface); border: 1px solid var(--bd); border-radius: 18px; padding: clamp(1.75rem, 3.5vw, 2.5rem); }
.trust p { color: var(--fg-muted); margin: 0; font-size: .97rem; }
.trust .tag { display: block; margin-bottom: 1.5rem; color: var(--orange); }
.trust--solco .tag { color: var(--teal); }
.trust--stack { grid-template-columns: 1fr !important; }

.group-band { display: grid; gap: clamp(36px, 6vw, 100px); }
@media (min-width: 900px) { .group-band { grid-template-columns: 1fr 1fr; align-items: center; } }
.group-band__mark { font: 500 clamp(3rem, 8.5vw, 7.6rem)/.92 var(--f-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.group-band__mark span { display: block; font-style: italic; color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--bd); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--bd); }
.timeline__y { font: 500 1.4rem/1.2 var(--f-head); letter-spacing: -.03em; color: var(--orange); }
.timeline li > :not(.timeline__y) { grid-column: 2; }
.timeline h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.timeline p { color: var(--fg-muted); margin: 0; font-size: .95rem; }

/* ---------- industries ---------- */
.ind { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; text-decoration: none; isolation: isolate; background: #000; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), filter .5s; filter: grayscale(.5) brightness(.85); }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
.ind:hover img { transform: scale(1.07); filter: none; }
.ind__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; }
.ind__body h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.ind__body span { display: block; margin-bottom: .4rem; font: 600 .66rem/1 var(--f-ui); color: var(--orange); letter-spacing: 2px; text-transform: uppercase; }
.ind-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ind-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- spec table ---------- */
.spec-wrap { overflow-x: auto; border: 1px solid var(--bd); border-radius: 16px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 540px; }
.spec caption { text-align: left; padding: 1.25rem 1.4rem; font: 500 1.1rem/1.2 var(--f-head); color: var(--fg); border-bottom: 1px solid var(--bd); }
.spec th, .spec td { padding: .95rem 1.4rem; border-bottom: 1px solid var(--bd); text-align: left; vertical-align: top; }
.spec thead th { font: 600 .72rem/1.2 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); background: var(--surface-2); white-space: nowrap; }
.spec tbody th { font: 400 .95rem/1.4 var(--f-ui); color: var(--fg-2); }
.spec td { font: 600 .95rem/1.4 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--fg); }
.spec td.unit { color: var(--fg-muted); font-weight: 400; white-space: nowrap; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec tbody tr:hover > * { background: var(--surface-2); }
.spec-note { font-size: .88rem; color: var(--fg-muted); margin-top: 1rem; }
.spec-hint { display: none; font-size: .78rem; color: var(--fg-muted); margin-bottom: .5rem; }
@media (max-width: 639px) { .spec-hint { display: block; } }
.compare td:first-child, .compare th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare thead th:first-child { background: var(--surface-2); }
.compare a { font: 500 1.05rem/1.2 var(--f-head); text-decoration: none; color: var(--fg); }
.compare__sub { display: block; font: 400 .85rem/1.3 var(--f-ui); color: var(--fg-muted); margin-top: .25rem; }

/* summary paragraph (search & AI friendly) */
.answer { border-left: 2px solid var(--orange); padding: .2rem 0 .2rem 1.4rem; margin: 0 0 2.25rem; }
.answer p { margin: 0; color: var(--fg-2); font: 400 1.08rem/1.65 var(--f-ui); }
.answer__k { display: none; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 2rem; margin: 0; font: 400 .97rem/1.5 var(--f-ui); }
.facts dt { font: 600 .72rem/1 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--fg-muted); padding: 1.1rem 0; border-bottom: 1px solid var(--bd); }
.facts dd { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--bd); color: var(--fg); }
@media (max-width: 639px) { .facts { grid-template-columns: 1fr; } .facts dt { border: 0; padding-bottom: .2rem; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--bd); }
.faq details { border-bottom: 1px solid var(--bd); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font: 500 1.12rem/1.4 var(--f-head); letter-spacing: -.02em; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.7rem/1 var(--f-ui); color: var(--orange); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--fg-muted); max-width: 75ch; }

/* ---------- clients ---------- */
.clients { columns: 1; column-gap: 3rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .clients { columns: 2; } }
@media (min-width: 1100px) { .clients { columns: 3; } }
.clients li { break-inside: avoid; padding: .8rem 0; border-bottom: 1px solid var(--bd); display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-ui); color: var(--fg); }
.clients li span { font-size: .82rem; color: var(--fg-muted); text-align: right; }
.tabs { display: flex; flex-wrap: wrap; margin-bottom: 2.25rem; border-bottom: 1px solid var(--bd); }
.tabs .chip, .tabs button { display: inline-block !important; border: 0; border-bottom: 2px solid transparent; background: none; padding: 1rem 1.5rem 1rem 0; margin-right: 1.25rem; font: 600 .82rem/1 var(--f-ui); letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg-muted); }
.tabs [aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--orange); }
.namecloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.namecloud > span { padding: .7rem 1.15rem; border: 1px solid var(--bd); border-radius: 999px; font: 500 .92rem/1.2 var(--f-ui); color: var(--fg-2); }
.logos { overflow: hidden; border-block: 1px solid var(--bd); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.logos__track span { padding: 1.75rem 2.75rem; font: 500 clamp(1.05rem, 1.6vw, 1.35rem)/1 var(--f-head); letter-spacing: -.02em; color: var(--fg-2); white-space: nowrap; border-right: 1px solid var(--bd); }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; overflow: hidden; background: #0b0b0b; border-top: 1px solid var(--bd); }
.cta-band::after { display: none; content: ""; position: absolute; right: -10vw; top: 50%; translate: 0 -50%; width: 50vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(223,185,123,.22); box-shadow: 0 0 0 7vw rgba(223,185,123,.035), 0 0 0 14vw rgba(223,185,123,.02); pointer-events: none; }
.cta-band__in { padding-block: clamp(88px, 11vw, 160px); display: grid; gap: 2.5rem; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta-band h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 15ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
@media (min-width: 900px) { .cta-band__actions { align-items: flex-end; } }
.cta-band__contact { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--f-head); text-decoration: none; letter-spacing: -.03em; color: #fff; }

.ftr { background: #0b0b0b; border-top: 1px solid var(--bd); font: 400 .95rem/1.6 var(--f-ui); color: var(--fg-muted); }
.ftr__grid { display: grid; gap: 3rem; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 640px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.5fr 1fr .8fr 1.2fr; } }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__brand .logo-lockup { height: 46px; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 1.75rem; }
.ftr__mii { height: 48px; width: auto; filter: invert(1) brightness(1.4); opacity: .8; margin-top: 1.5rem; }
.ftr__group { color: var(--fg-2); }
.ftr__social { display: flex !important; flex-wrap: wrap; gap: .6rem !important; margin-top: 1.5rem !important; }
.ftr__social a { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--bd-2); border-radius: 999px; font-size: .82rem; color: #fff; }
.ftr__social a:hover { border-color: var(--gold-1); }
.ftr__h { font: 500 1.1rem/1 var(--f-head); color: #fff; margin-bottom: 1.5rem; letter-spacing: -.02em; }
.ftr__addr { font-style: normal; margin-bottom: 1.5rem; }
.ftr__contacts li { display: grid; gap: .1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--bd); }
.ftr__contacts span { font: 600 .66rem/1.6 var(--f-ui); text-transform: uppercase; color: var(--orange); letter-spacing: 2px; }
.ftr__contacts a:first-of-type { color: #fff; }
.ftr__base { border-top: 1px solid var(--bd); padding-block: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .85rem; }
.ftr__base p { margin: 0; }
.ftr__disclaimer { flex-basis: 100%; font-size: .75rem; line-height: 1.55; opacity: .7; }

/* ---------- floating contact buttons ---------- */
.dock { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: flex; gap: 10px; }
.dock a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); text-decoration: none; transition: transform .2s; }
.dock a:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.dock svg { width: 27px; height: 27px; fill: currentColor; }
.dock .dock__call { display: none; background: #fff; color: #111; }
@media (max-width: 899px) { .dock .dock__call { display: grid; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
.modal__panel { position: relative; width: min(960px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #161616; border: 1px solid var(--bd); border-radius: 20px; display: grid; animation: rise .35s var(--ease); overscroll-behavior: contain; }
@media (min-width: 900px) { .modal__panel { grid-template-columns: 320px 1fr; } }
.modal__side { display: none; background: radial-gradient(70% 12% at 50% 54%, rgba(249,157,37,.4), transparent 72%), radial-gradient(120% 95% at 50% 0%, #29241e 0%, #171717 58%, #101010 100%); color: rgba(255,255,255,.7); padding: 2.5rem 2rem; flex-direction: column; justify-content: center; gap: 1.5rem; }
.modal__side p { font: 600 .72rem/1.5 var(--f-ui); letter-spacing: 2px; text-transform: uppercase; margin: 0; color: rgba(255,255,255,.6); }
@media (min-width: 900px) { .modal__side { display: flex; } }
.modal__body { padding: clamp(1.75rem, 4vw, 3rem); }
.modal__body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bd-2); background: #1f1f1f; font-size: 1.5rem; line-height: 1; color: #fff; }
.modal--video .modal__panel { grid-template-columns: 1fr; width: min(1120px, 100%); background: #000; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 639px) { .modal { padding: 0; align-items: end; } .modal__panel { max-height: 92svh; border-radius: 20px 20px 0 0; } .modal--video { align-items: center; } }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- forms ---------- */
.fgrid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .f--full { grid-column: 1 / -1; } }
.f { display: grid; gap: .45rem; }
.f > span { font: 500 .85rem/1 var(--f-ui); color: var(--fg-2); }
.req { color: var(--orange); }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--bd-2); border-radius: 10px; background: var(--surface-2); color: var(--fg); font: 400 1rem/1.3 var(--f-ui); transition: border-color .15s, box-shadow .15s; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 2.5rem; }
.f textarea { min-height: 100px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(223,185,123,.2); }
.f input[type=file] { padding: .65rem; font-size: .9rem; }
.f .is-invalid, .f input.is-invalid { border-color: var(--err); }
.consent { display: flex; gap: .75rem; align-items: flex-start; font: 400 .86rem/1.5 var(--f-ui); color: var(--fg-muted); margin: 1.25rem 0; }
.consent input { width: 20px; height: 20px; accent-color: var(--gold-2); flex-shrink: 0; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font: 400 .93rem/1.4 var(--f-ui); min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.lead-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.lead-form.is-done .fgrid, .lead-form.is-done .consent, .lead-form.is-done button[type=submit] { display: none; }
.form-success { padding: 1.5rem 0; }
.form-success b { display: block; font: 500 1.7rem/1.15 var(--f-head); margin-bottom: .6rem; color: var(--fg); letter-spacing: -.03em; }
.form-card { --fg: #fff; --fg-2: #d9d9d9; --fg-muted: #9a9a9a; --bd: rgba(255,255,255,.1); --bd-2: rgba(255,255,255,.2); --surface: #171717; --surface-2: #1f1f1f; --label: var(--orange); color: #fff; background: #171717; border: 1px solid var(--bd); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.75rem); }

/* ---------- prose / blog ---------- */
.prose { max-width: 72ch; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--fg-2); }
.prose ul, .prose ol { margin: 0 0 1.25em; display: grid; gap: .45em; }
.prose a { color: var(--gold-1); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.75em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--bd); padding: .7rem .9rem; text-align: left; }
.prose th { background: var(--surface-2); font: 600 .85rem/1.3 var(--f-ui); color: var(--fg); }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font: 500 .85rem/1 var(--f-ui); color: var(--fg-muted); margin-bottom: 2.25rem; }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); font: 400 .93rem/1.5 var(--f-ui); }
.toc ol { padding-left: 1.1em; display: grid; gap: .5rem; color: var(--fg-muted); }
.toc a { text-decoration: none; }
.article-grid { display: grid; gap: 3rem; }
@media (min-width: 1100px) { .article-grid { grid-template-columns: 1fr 300px; } }
.side-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .side-layout { grid-template-columns: 240px 1fr; gap: 5rem; align-items: start; } }

.bcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--bd); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--fg); transition: border-color .3s; }
.bcard:hover { color: var(--fg); border-color: rgba(223,185,123,.6); }
.bcard img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.bcard:hover img { transform: scale(1.03); }
.bcard__body { padding: 1.5rem 1.6rem 1.75rem; display: grid; gap: .6rem; }
.bcard__body h3, .bcard__body h2 { margin: 0; font-size: 1.25rem; }
.bcard__body p { margin: 0; color: var(--fg-muted); font-size: .95rem; }
.bcard time { font: 500 .8rem/1 var(--f-ui); color: var(--orange); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: .07s; }
.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: .14s; }
.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: .21s; }
.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: .28s; }
.js [data-reveal-stagger].is-in > :nth-child(n+6) { transition-delay: .35s; }

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

/* ---------- utilities ---------- */
.addr { font-style: normal; }
.map { aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) grayscale(.4); }
.narrow { max-width: 780px; }
.narrow .lead { margin-inline: auto; }
.narrow .row { justify-content: center; }
.narrow-l { max-width: 920px; }
.h1-md { font-size: clamp(2.1rem, 4.8vw, 3.8rem); }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.rule { border: 0; border-top: 1px solid var(--bd); margin: 1.5rem 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3.5rem; }
.center { text-align: center; }
.stack { display: grid; gap: 1.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Section line-work backgrounds — added by main.js from data-bgfx
   ("scan" | "rings" | "flow" | "marks"). Purely decorative.
   ===================================================================== */
[data-bgfx] { position: relative; isolation: isolate; overflow: hidden; }
.bgfx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bgfx svg { position: absolute; overflow: visible; fill: none; }

/* scan: blueprint grid + travelling scan line */
.bgfx--scan { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.bgfx--scan i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(249,157,37,.55) 30%, rgba(249,157,37,.55) 70%, transparent); box-shadow: 0 0 24px 2px rgba(249,157,37,.25); animation: scan 9s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(var(--scan-h, 1200px)); } }

/* rings: large rotating dimension rings */
.bgfx--rings svg { width: min(860px, 120vw); aspect-ratio: 1; right: -12%; top: 50%; translate: 0 -50%; stroke: rgba(255,255,255,.1); stroke-width: 1; }
.bgfx--rings.is-left svg { right: auto; left: -14%; }
.bgfx--rings .r-dash { stroke: rgba(249,157,37,.42); stroke-dasharray: 2 10; transform-origin: 450px 450px; animation: spin 50s linear infinite; }
.bgfx--rings .r-dash2 { stroke: rgba(255,255,255,.18); stroke-dasharray: 1 6; transform-origin: 450px 450px; animation: spin 80s linear infinite reverse; }
.bgfx--rings .r-tick { stroke: rgba(255,255,255,.18); }
.bgfx--rings .r-arc { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 120 2700; transform-origin: 450px 450px; animation: spin 14s linear infinite; }

/* flow: drifting dashed curves */
.bgfx--flow svg { left: 0; top: 0; width: 100%; height: 100%; }
.bgfx--flow path { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.bgfx--flow path.f-a { stroke: rgba(249,157,37,.4); stroke-dasharray: 6 14; animation: flow 6s linear infinite; }
.bgfx--flow path.f-b { stroke: rgba(255,255,255,.1); stroke-dasharray: 2 10; animation: flow 9s linear infinite reverse; }
@keyframes flow { to { stroke-dashoffset: -200; } }

/* marks: drawing-sheet frame — corner marks, edge ruler, title label */
.bgfx--marks svg { inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); stroke: rgba(255,255,255,.14); }
.bgfx--marks .m-ruler { stroke: rgba(255,255,255,.1); }
.bgfx--marks .m-accent { stroke: var(--orange); }
.bgfx__label { position: absolute; right: 36px; bottom: 30px; font: 600 .62rem/1.4 var(--f-ui); letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.22); text-align: right; }
.bgfx__label b { color: rgba(249,157,37,.6); font-weight: 600; }
@media (max-width: 639px) { .bgfx--marks svg { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); } .bgfx__label { right: 16px; bottom: 14px; } }

/* sections keep content above the line work */
[data-bgfx] > .wrap, [data-bgfx] > .logos__track { position: relative; z-index: 1; }

/* Safety net: if animations are suspended, the hero copy still appears (main.js adds .is-ready). */
.hero.is-ready .kw, .hero.is-ready .hero__copy > * { opacity: 1; transform: none; filter: none; }

/* soft contact shadow for machine cut-outs on the dark stages */
.pcard__stage img, .showcase__media img, .media--stage img, .mindex__img img, .modal__side img { filter: drop-shadow(0 16px 18px rgba(0,0,0,.55)); }

/* ---------- client logo wall ---------- */
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
@media (max-width: 479px) { .cgrid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.ctile { display: flex; flex-direction: column; gap: .3rem; padding: 12px 12px 14px; border: 1px solid var(--bd); border-radius: 16px; background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.ctile:hover { border-color: rgba(249,157,37,.45); transform: translateY(-2px); }
.ctile__mark { display: grid; place-items: center; height: 96px; margin-bottom: .45rem; border-radius: 10px; padding: 12px 16px;
  background: radial-gradient(120% 120% at 30% 0%, #262626, #181818); border: 1px solid rgba(255,255,255,.06); }
.ctile--logo .ctile__mark { background: #fff; border-color: #fff; }
.ctile__mark img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.ctile__mark b { font: 500 2rem/1 var(--f-head); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(249,157,37,.85); }
.ctile__name { font: 500 .92rem/1.3 var(--f-ui); color: var(--fg); }
.ctile__city { font: 400 .78rem/1.3 var(--f-ui); color: var(--fg-muted); }
