/* ==========================================================================
   Transmitters Enterprises — site styles
   ========================================================================== */
/* Fonts: self-hosted variable WOFF2, latin subset (SIL Open Font License, see /fonts/OFL.txt).
   Each has a local fallback face whose metrics are matched to the web font, so the swap
   when the web font arrives doesn't move anything (no layout shift). */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/fonts/space-grotesk-latin.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"); size-adjust: 107.34%; ascent-override: 90.25%; descent-override: 22.47%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"); size-adjust: 110.92%; ascent-override: 88.72%; descent-override: 26.33%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }

/* Design tokens — documented in DESIGN.md. Change values here, not in components. */
:root {
  /* colour: base */
  --black: #060F1E;          /* dark sections */
  --navy: #0B1F3A;           /* brand base */
  --navy-2: #12305a;
  --navy-3: #1b3f72;
  --steel: #4A86C8;
  --steel-dk: #2f6aab;
  --sky: #DCEBF8;            /* ice blue */
  --sky-2: #eef5fc;
  --red: #D7261E;
  --red-dk: #b51d16;         /* red text on light tints (AA) */
  --amber: #F5A623;
  /* colour: signature gradient — reserved for CTAs, highlights, active states */
  --grad: linear-gradient(100deg, var(--red) 0%, var(--amber) 100%);
  --grad-cta: linear-gradient(100deg, #E4471E 0%, var(--amber) 100%); /* contrast-tuned for dark label text */
  /* colour: text & lines */
  --ink: #0e1a2d;
  --body: #3b4a5e;
  --muted: #5f6f84;
  --line: #d9e2ee;
  --on-dark: #c9d6e8;
  --on-dark-muted: #93a9c7;
  --line-dark: rgba(255,255,255,.1);
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  /* shape */
  --radius: 10px;
  --radius-sm: 6px;
  --chamfer: 22px;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 8px 24px rgba(11,31,58,.08);
  --shadow-lg: 0 2px 4px rgba(11,31,58,.06), 0 18px 40px rgba(11,31,58,.16);
  --glow: 0 30px 80px -20px rgba(74,134,200,.45);
  /* type */
  --font-display: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
  --font-head: var(--font-display);
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, monospace;
  --fs-display: clamp(2.5rem, 1.15rem + 4.6vw, 5rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 1.2rem + 2.3vw, 3.1rem);
  --fs-h3: clamp(1.1rem, 1rem + .35vw, 1.3rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  --fs-label: .72rem;
  --track-tight: -.035em;
  --track-label: .14em;
  /* motion (used from stage 2 onwards) */
  --dur-micro: .2s;
  --dur-reveal: .6s;
  --dur-hero: 1.2s;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --stagger: .07s;
  /* texture */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --bp-major: rgba(74,134,200,.045);
  --bp-minor: rgba(74,134,200,.022);
  /* layout */
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: var(--track-tight); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; }
code, kbd, .mono { font-family: var(--font-mono); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.5em; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--font-display); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro), box-shadow var(--dur-micro), color var(--dur-micro), border-color var(--dur-micro); }
.btn { position: relative; isolation: isolate; overflow: hidden; translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px); }
/* fill sweeps in from the left on hover (linear travel) */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sweep, transparent); transform: translateX(-101%); transition: transform .55s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn .ico { transition: transform var(--dur-micro) var(--ease-out); }
.btn:hover .ico:has(use[href="#i-arrow"]) { transform: translateX(3px); }
.btn--primary { --sweep: var(--red-dk); background: var(--red); color: #fff; box-shadow: 0 8px 24px -10px rgba(215,38,30,.6); }
.btn--primary:hover { color: #fff; }
.btn--accent { --sweep: linear-gradient(100deg, #EE5A1E 0%, #FFBE4A 100%); background: var(--grad-cta); color: var(--black); box-shadow: 0 10px 28px -10px rgba(228,71,30,.65); }
.btn--accent:hover { color: var(--black); box-shadow: 0 14px 34px -10px rgba(245,120,35,.75); }
.btn--navy { --sweep: var(--navy-3); background: var(--navy); color: #fff; }
.btn--navy:hover { color: #fff; }
.btn--outline { --sweep: var(--navy); border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { color: #fff; }
.btn--ghost-light { --sweep: var(--grad-cta); border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost-light:hover { border-color: transparent; color: var(--black); }
.btn--sm { padding: .7em 1.15em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--black); color: var(--on-dark-muted); font: 400 .76rem var(--font-mono); letter-spacing: .01em; border-bottom: 1px solid var(--line-dark); }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 36px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
a.topbar__item { min-height: 28px; }
a.topbar__item:hover { color: #fff; }
.topbar__item .ico { color: var(--amber); }
.topbar__spacer { flex: 1; }

/* sticky header: dark glass */
.site-header { position: sticky; top: 0; z-index: 50; color: #fff; pointer-events: none; transition: transform .5s var(--ease-out); }
/* the glass is its own layer so it can fade (over the hero) and condense (scaleY) without moving layout */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,15,30,.8); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line-dark); transform-origin: top; transition: transform .5s var(--ease-out), opacity .3s, box-shadow .3s; }
.site-header__inner > *, .site-nav { pointer-events: auto; }
.site-header.is-over::before { opacity: 0; }
.site-header.is-scrolled::before { background: rgba(6,15,30,.92); transform: scaleY(.84); box-shadow: 0 10px 30px -12px rgba(0,0,0,.55); }
.site-header__inner > * { transition: translate .5s var(--ease-out); }
.site-header.is-scrolled .site-header__inner > * { translate: 0 -6px; }
.brand img { transition: transform .5s var(--ease-out); transform-origin: left center; }
.site-header.is-scrolled .brand img { transform: scale(.86); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.22rem/1 var(--font-display); color: var(--red); letter-spacing: .03em; }
.site-header .brand__name, .brand--light .brand__name { color: #fff; }
.brand__sub { font: 400 .62rem/1.3 var(--font-mono); color: var(--navy); text-transform: uppercase; letter-spacing: .12em; margin-top: 5px; }
.brand--light .brand__sub, .site-header .brand__sub { color: var(--on-dark-muted); }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; font: 500 .92rem var(--font-display); color: #d5e1ef; text-decoration: none; border-radius: var(--radius-sm); transition: color var(--dur-micro); }
.site-nav a:hover { color: #fff; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-reveal) var(--ease-out); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(245,166,35,.15); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.rfq-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); font-size: 1.25rem; }
.rfq-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.rfq-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 600 .68rem/20px var(--font-mono); text-align: center; }
.rfq-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .site-header.is-scrolled .site-header__inner > .site-nav { translate: none; }
  .site-header.is-scrolled .site-nav { top: calc(100% - 12px); }
  .site-header:has(.site-nav.is-open)::before { opacity: 1; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); padding: 8px 16px 20px; border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 40px rgba(0,0,0,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; margin: 0; max-height: calc(100vh - var(--header-h)); overflow: auto; overscroll-behavior: contain; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 15px 8px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .site-nav a::after { display: none; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.05rem; }
  .brand img { width: 42px; }
  .header-actions .btn { display: none; }
  .site-header__inner { gap: 12px; }
}

/* ---------- section scaffolding ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--sky { background: var(--sky-2); }
.section--navy, .section--black { background: var(--navy); color: var(--on-dark); }
.section--black { background: var(--black); }
.section--navy h2, .section--navy h3, .section--black h2, .section--black h3 { color: #fff; }

/* Dark-section texture: blueprint grid + grain, painted on a pseudo layer under the content */
.hero::before, .page-hero::before, .section--navy::before, .section--black::before, .footer-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain),
    linear-gradient(var(--bp-major) 1px, transparent 1px), linear-gradient(90deg, var(--bp-major) 1px, transparent 1px),
    linear-gradient(var(--bp-minor) 1px, transparent 1px), linear-gradient(90deg, var(--bp-minor) 1px, transparent 1px);
  background-size: 180px 180px, 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.section--navy > .container, .section--black > .container { position: relative; }

/* angled section edges (the printed profile's diagonal motif) */
.angle-top { clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); margin-top: -56px; padding-top: calc(clamp(64px, 9vw, 128px) + 56px); }
.angle-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 56px)); padding-bottom: calc(clamp(64px, 9vw, 128px) + 56px); margin-bottom: -56px; position: relative; z-index: 1; }

/* eyebrow: mono technical label, optional section number via data-sec="01 / 06" */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 var(--fs-label)/1 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--red-dk); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow[data-sec]::before { content: attr(data-sec); width: auto; height: auto; background: none; color: var(--muted); padding-right: 12px; border-right: 1px solid var(--line); letter-spacing: .06em; }
.section--navy .eyebrow, .section--black .eyebrow, .page-hero .eyebrow, .footer-cta .eyebrow, .contact-band__info .eyebrow { color: var(--amber); }
.section--navy .eyebrow[data-sec]::before, .section--black .eyebrow[data-sec]::before, .contact-band__info .eyebrow[data-sec]::before { color: var(--on-dark-muted); border-color: rgba(255,255,255,.2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); max-width: 620px; }
.section-head--center p { margin-inline: auto; }
.section--navy .section-head p, .section--black .section-head p { color: var(--on-dark-muted); }
.lead { font-size: var(--fs-lead); }

/* dimension-line divider: |◄──── LABEL ────►|  (decorative, aria-hidden in markup) */
.dimline { display: flex; align-items: center; gap: 14px; color: var(--steel-dk); font: 500 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; margin-bottom: clamp(28px, 4vw, 44px); }
.dimline::before, .dimline::after { content: ""; flex: 1; height: 13px;
  background: var(--dl-arrow) no-repeat, linear-gradient(rgba(74,134,200,.5), rgba(74,134,200,.5)) center / 100% 1px no-repeat; }
.dimline::before { --dl-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7'%3E%3Cpath d='M0 3.5 9 0v7z' fill='%234A86C8'/%3E%3C/svg%3E") left 1px center; border-left: 1px solid rgba(74,134,200,.7); }
.dimline::after { --dl-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7'%3E%3Cpath d='M9 3.5 0 0v7z' fill='%234A86C8'/%3E%3C/svg%3E") right 1px center; border-right: 1px solid rgba(74,134,200,.7); }
.section--navy .dimline, .section--black .dimline, .footer-cta .dimline { color: var(--on-dark-muted); }
.dimline--short { max-width: 420px; }
.mono-tag { font: 500 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(90% 110% at 80% 20%, #163a69 0%, var(--navy) 45%, var(--black) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%); padding: clamp(56px, 8vw, 104px) 0 clamp(120px, 13vw, 176px); }
.hero__poly { position: absolute; inset: 0; background: url("/img/lowpoly.svg") center/cover no-repeat; opacity: .22; mix-blend-mode: screen; pointer-events: none; }
.hero__stripe { position: absolute; width: 2px; height: 140%; top: -20%; right: 38%; background: linear-gradient(180deg, transparent, var(--red) 40%, var(--amber) 60%, transparent); opacity: .5; transform: rotate(24deg); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: .98; margin-bottom: 24px; }
.hero h1 em { position: relative; font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em; background: var(--grad); border-radius: 2px; transform-origin: left; }
.hero__tag { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); font: 400 .78rem var(--font-mono); letter-spacing: .04em; color: var(--on-dark); margin-bottom: 26px; }
.hero__tag b { background: var(--red); color: #fff; padding: 4px 9px; border-radius: 4px; font: 600 .7rem var(--font-mono); letter-spacing: .08em; }
.hero p.lead { color: var(--on-dark); max-width: 580px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero__visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74,134,200,.35), transparent); filter: blur(30px); }
.hero__visual .bearing-svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.hero__photo { position: absolute; width: 46%; right: -4%; bottom: 2%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
/* floating glass card */
.glass { background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.hero__chip.glass { background: rgba(6,15,30,.62); }
.hero__chip { position: absolute; left: -2%; top: 12%; color: #fff; border-radius: var(--radius); padding: 12px 16px; font: 400 .72rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.hero__chip strong { display: block; margin-top: 4px; font: 600 1.15rem/1 var(--font-mono); letter-spacing: .02em; color: var(--amber); text-transform: none; }
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.spin { transform-origin: 50% 50%; animation: spin 18s linear infinite; }
.spin--rev { animation-direction: reverse; animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; order: -1; margin-bottom: -10px; }
}

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(80% 140% at 90% 0%, #163a69 0%, var(--navy) 50%, var(--black) 100%); color: var(--on-dark);
  padding: clamp(56px, 8vw, 104px) 0 clamp(84px, 10vw, 128px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); }
.page-hero .hero__poly { opacity: .18; }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: 16px; max-width: 900px; }
.page-hero p { max-width: 640px; font-size: var(--fs-lead); margin: 0; }
.page-hero .container { position: relative; }
.crumbs { font: 400 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* hero sits under the glass header so the header never shows over white */
.hero, .page-hero { margin-top: calc(-1 * var(--header-h)); }
.hero { padding-top: calc(clamp(56px, 8vw, 104px) + var(--header-h)); }
.page-hero { padding-top: calc(clamp(56px, 8vw, 104px) + var(--header-h)); }

/* ---------- trust bar ---------- */
.trustbar { position: relative; z-index: 2; margin-top: -70px; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust { display: flex; align-items: center; gap: 14px; padding: 22px 22px; border-right: 1px solid var(--line); }
.trust:last-child { border-right: 0; }
.trust__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--sky-2); color: var(--navy); flex: none; font: 600 1.05rem var(--font-mono); }
.trust__icon svg { width: 26px; height: 26px; }
.trust b { display: block; font: 600 1rem/1.2 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.trust span { font-size: .85rem; color: var(--muted); }
.trustbar__grid { position: relative; }
.trustbar__grid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
@media (max-width: 900px) { .trustbar__grid { grid-template-columns: 1fr 1fr; } .trust:nth-child(2) { border-right: 0; } .trust:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .trust { padding: 16px 14px; gap: 10px; } .trust__icon { width: 40px; height: 40px; } .trust b { font-size: .9rem; } .trust span { font-size: .78rem; } }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.cat-tile__media { position: relative; aspect-ratio: 16/10; background: linear-gradient(140deg, var(--sky-2), var(--sky)); display: grid; place-items: center; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), 0 100%); }
.cat-tile__media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,134,200,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(74,134,200,.12) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); pointer-events: none; }
.cat-tile__no { position: absolute; right: 14px; top: 14px; z-index: 1; font: 500 .68rem var(--font-mono); letter-spacing: .1em; color: var(--steel-dk); }
.cat-tile__media img { width: 78%; height: 86%; object-fit: contain; transition: transform .35s; mix-blend-mode: multiply; }
.cat-tile:hover .cat-tile__media img { transform: scale(1.06); }
.cat-tile__media svg.cat-ico { width: 38%; height: auto; color: var(--navy-3); opacity: .85; }
.cat-tile__badge { position: absolute; top: 12px; left: 12px; z-index: 1; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; display: grid; place-items: center; }
.cat-tile__badge svg { width: 22px; height: 22px; }
.cat-tile__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-tile__body h3 { margin-bottom: 6px; }
.cat-tile__body p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.cat-tile__more { margin-top: auto; font: 500 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-dk); display: inline-flex; gap: 6px; align-items: center; }
.cat-tile:hover .cat-tile__more .ico { transform: translateX(4px); }
.cat-tile__more .ico { transition: transform .2s; }

/* ---------- brands ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.brand-chip { display: grid; place-items: center; height: 80px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font: 700 1.1rem var(--font-display); color: #6c7f99; letter-spacing: .02em; text-transform: uppercase; transition: color var(--dur-micro), border-color var(--dur-micro); text-align: center; padding: 6px; }
.brand-chip:hover { color: var(--navy); border-color: var(--steel); }
.fineprint { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* ---------- finder teaser (home): terminal panel ---------- */
.finder-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.finder-teaser__demo { background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 0; box-shadow: var(--glow); overflow: hidden; }
.finder-teaser__demo .finder-input { padding: 22px 24px 24px !important; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.03); font: 400 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.term-bar .led { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.term-bar span:last-child { margin-left: auto; }
.finder-teaser ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.finder-teaser li { display: flex; gap: 12px; align-items: flex-start; }
.finder-teaser li .ico { color: var(--amber); margin-top: 4px; }
@media (max-width: 900px) { .finder-teaser { grid-template-columns: 1fr; } }

/* ---------- values: bento grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; min-height: 210px; }
.value:nth-child(1) { grid-column: span 2; grid-row: span 2; background: var(--navy); border-color: var(--navy); color: var(--on-dark); justify-content: flex-end; }
.value:nth-child(1) h3 { color: #fff; font-size: var(--fs-h2); }
.value:nth-child(1) p { color: var(--on-dark); font-size: 1.05rem; max-width: 380px; }
.value:nth-child(1)::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--bp-major) 1px, transparent 1px), linear-gradient(90deg, var(--bp-major) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.value:nth-child(2), .value:nth-child(5), .value:nth-child(6) { grid-column: span 2; }
.value::before { content: attr(data-n); position: absolute; right: 20px; top: 22px; font: 500 .72rem var(--font-mono); letter-spacing: .1em; color: var(--muted); }
.value:nth-child(1)::before { color: var(--on-dark-muted); }
.value__icon { width: 44px; height: 44px; margin-bottom: auto; padding-bottom: 22px; box-sizing: content-box; color: var(--red-dk); }
.value:nth-child(1) .value__icon { width: 64px; height: 64px; color: var(--amber); position: absolute; top: 28px; left: 28px; }
.value h3 { position: relative; margin-bottom: 8px; }
.value p { position: relative; color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } .value:nth-child(n) { grid-column: auto; grid-row: auto; } .value:nth-child(1) { grid-column: span 2; min-height: 280px; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } .value:nth-child(1) { grid-column: auto; } .value { min-height: 0; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: left; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 32px 24px 28px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 500 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-mono); letter-spacing: -.04em; color: #fff; }
.stat b span { color: #fff; }

.stat small { display: block; margin-top: 14px; font: 400 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } .stat { padding: 24px 16px; } }

/* ---------- clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .2s; }
.client:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client__mono { width: 48px; height: 48px; flex: none; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--navy); color: #fff; font: 500 .9rem var(--font-mono); letter-spacing: .04em; }
.client:nth-child(3n+2) .client__mono { background: var(--steel-dk); }
.client:nth-child(3n) .client__mono { background: var(--red-dk); }
.client .client__mono { color: #fff; font-size: .85rem; }
.client b { display: block; font: 700 1rem/1.25 var(--font-head); color: var(--ink); }
.client span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .clients-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: 1fr; } }

/* industries */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.industry { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.industry svg { width: 38px; height: 38px; color: var(--amber); margin: 0 auto 10px; }
.industry b { color: #fff; font: 700 .92rem var(--font-head); }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr 1fr; } }

/* ---------- contact band ---------- */
.contact-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.contact-band__info { padding: clamp(28px, 4vw, 44px); background: var(--navy); color: #c9d6e8; }
.contact-band__info h2, .contact-band__info h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ico { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--amber); }
.contact-list b { display: block; color: var(--on-dark-muted); font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--amber); }
.map-frame { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
.map-fallback { display: grid; place-items: center; min-height: 380px; background: var(--sky-2); text-align: center; padding: 20px; }
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--black); color: var(--on-dark-muted); font-size: .93rem; clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); margin-top: -56px; }
.footer-cta { position: relative; overflow: hidden; background: radial-gradient(70% 140% at 85% 50%, #163a69 0%, var(--navy) 55%, var(--black) 100%); color: var(--on-dark); }
.footer-cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; align-items: end; gap: 32px; padding: clamp(110px, 12vw, 160px) 0 clamp(64px, 8vw, 104px); }
.footer-cta__bearing { position: absolute; right: -8%; top: 50%; width: min(640px, 80vw); aspect-ratio: 1; translate: 0 -50%; color: var(--steel); opacity: .16; pointer-events: none; }
@media (max-width: 800px) { .footer-cta__inner { grid-template-columns: 1fr; align-items: start; } .footer-cta__bearing { right: -40%; } }
.footer-cta h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 14px; max-width: 760px; }
.footer-cta p { margin: 0; max-width: 560px; font-size: var(--fs-lead); }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding: 56px 0 40px; }
.footer-grid h3 { color: #fff; font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-about { margin: 18px 0; max-width: 320px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a, .footer-contact a, .social { color: #c9d6e8; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .social:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .ico { color: var(--amber); margin-top: 5px; }
.social { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating whatsapp + toast */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 100px); }
.toast a { color: var(--amber); }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(140deg, var(--sky-2), var(--sky)); box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; }
.photo-card__badge { position: absolute; left: 18px; bottom: 18px; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); font: 600 .85rem/1.3 var(--font-head); }
.photo-card__badge b { display: block; font: 500 1.8rem var(--font-mono); color: var(--amber); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm { padding: 30px; border-radius: var(--radius); background: var(--navy); color: #c9d6e8; position: relative; overflow: hidden; }
.vm:nth-child(2) { background: var(--red); color: #ffe3e0; }
.vm h3 { color: #fff; font: 500 .74rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.vm p { color: #fff; font: 700 1.35rem/1.35 var(--font-head); margin: 0; }
.vm::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 22px solid rgba(255,255,255,.08); border-radius: 50%; }
@media (max-width: 700px) { .vm-grid { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.check-list .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--sky); color: var(--navy); flex: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.fact small { display: block; font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact b { font: 700 1.05rem/1.35 var(--font-head); color: var(--ink); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; gap: 0; padding-left: 28px; border-left: 3px solid var(--sky); }
.timeline li { list-style: none; position: relative; padding: 0 0 26px 8px; }
.timeline li::before { content: ""; position: absolute; left: -38.5px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.timeline b { font: 500 1.05rem var(--font-mono); color: var(--navy); display: block; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { display: grid; grid-template-columns: 180px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc__media { background: linear-gradient(140deg, var(--sky-2), var(--sky)); display: grid; place-items: center; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 24px; }
.svc__body p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc__num { font: 500 .72rem var(--font-mono); letter-spacing: .14em; color: var(--red-dk); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc > * { min-width: 0; }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } .svc__media { position: relative; aspect-ratio: 16/9; } .svc__media img { position: absolute; inset: 0; } }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process li { list-style: none; position: relative; padding: 26px 22px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.process li::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 2rem/1 var(--font-mono); color: var(--amber); margin-bottom: 14px; }
.process b { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 6px; }
.process p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sky-2); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- product catalogue ---------- */
.catalogue { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filters h2 { font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.filters + .filters { margin-top: 16px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 2px; }
.filter-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font: 500 .92rem var(--font-body); color: var(--ink); cursor: pointer; text-align: left; }
.filter-list button:hover { background: var(--sky-2); }
.filter-list button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filter-list button small { font-size: .75rem; opacity: .7; }
.brand-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font: 600 .8rem var(--font-head); color: var(--body); cursor: pointer; }
.pill:hover { border-color: var(--steel); }
.pill[aria-pressed="true"] { background: var(--grad-cta); border-color: transparent; color: var(--black); }
.searchbox { position: relative; margin-bottom: 18px; }
.searchbox input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.searchbox input:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(74,134,200,.18); }
.searchbox .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.2rem; }
.cat-intro { display: grid; grid-template-columns: 1fr 220px; gap: 24px; padding: 26px; border-radius: var(--radius); background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: #c9d6e8; margin-bottom: 22px; align-items: center; }
.cat-intro h2 { color: #fff; font-size: 1.6rem; }
.cat-intro img { max-height: 160px; object-fit: contain; margin-inline: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.cat-intro ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; list-style: none; }
.cat-intro li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 640px) { .cat-intro { grid-template-columns: 1fr; } .cat-intro img { display: none; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__media { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); position: relative; }
.product__media img { width: 86%; height: 86%; object-fit: contain; }
.product__media svg { width: 34%; color: var(--steel); }
.product__brand { position: absolute; top: 10px; left: 10px; font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 5px 8px; border-radius: 4px; }
.product__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-dk); margin-bottom: 6px; }
.product h3 { font-size: 1.02rem; margin-bottom: 4px; }
.product__pn { font: 600 .8rem var(--font-mono); color: var(--steel-dk); margin-bottom: 8px; }
.product p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.product__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.avail { font-size: .75rem; color: #1a7f45; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.add-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: 700 .78rem var(--font-head); cursor: pointer; transition: .15s; }
.add-btn:hover { background: var(--navy); color: #fff; }
.add-btn.is-added { background: #1a7f45; border-color: #1a7f45; color: #fff; }
.empty { padding: 48px 24px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.mobile-filter-toggle { display: none; }
@media (max-width: 900px) {
  .catalogue { grid-template-columns: 1fr; }
  .filters-wrap { display: none; }
  .filters-wrap.is-open { display: block; }
  .filters { position: static; }
  .mobile-filter-toggle { display: inline-flex; }
}

/* ---------- bearing finder ---------- */
.finder { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } }
.finder-input { background: var(--navy); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); color: #c9d6e8; box-shadow: var(--shadow-lg); }
.finder-input label { display: block; font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.finder-field { display: flex; gap: 10px; }
.finder-field input { flex: 1; min-width: 0; padding: 16px 18px; border-radius: var(--radius-sm); border: 2px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff;
  font: 700 1.5rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.finder-field input::placeholder { color: rgba(255,255,255,.3); }
.finder-field input:focus { outline: none; border-color: var(--amber); background: rgba(255,255,255,.1); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .85rem; align-items: center; }
.examples button { padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font: 600 .82rem var(--font-mono); cursor: pointer; }
.examples button:hover { border-color: var(--amber); color: var(--amber); }
.decode-tokens { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 6px; min-height: 64px; }
.tok { display: flex; flex-direction: column; align-items: center; gap: 4px; animation: pop .3s both; }
.tok code { font: 700 1.25rem var(--font-mono); padding: 8px 12px; border-radius: 8px; color: var(--navy); background: #fff; }
.tok small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #93a9c7; max-width: 110px; text-align: center; line-height: 1.25; }
.tok--type code { background: var(--amber); }
.tok--series code { background: #8fc0f0; }
.tok--bore code { background: #fff; }
.tok--suffix code { background: #ffb4ae; }
.tok--unknown code { background: rgba(255,255,255,.25); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.95); } }
.finder-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); }
.finder-result h2 { font-size: 1.4rem; margin-bottom: 4px; }
.finder-result .type-line { color: var(--muted); margin-bottom: 18px; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dim { text-align: center; padding: 14px 8px; border-radius: var(--radius-sm); background: var(--sky-2); }
.dim b { display: block; font: 500 1.6rem/1 var(--font-mono); letter-spacing: -.03em; color: var(--navy); }
.dim b small { font-size: .8rem; color: var(--muted); }
.dim span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.feature-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .92rem; }
.feature-list code { font: 700 .9rem var(--font-mono); color: var(--red); }
.bearing-diagram { display: block; width: 100%; max-width: 360px; margin: 0 auto 18px; }
.finder-note { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--amber); padding: 6px 12px; background: #fffaf0; border-radius: 0 8px 8px 0; }
.finder-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.finder-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.finder-empty svg { width: 90px; height: 90px; margin: 0 auto 14px; color: var(--sky); }
.ref-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; border-radius: var(--radius); overflow: hidden; }
.ref-table th, .ref-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ref-table th { background: var(--navy); color: #fff; font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ref-table code { font: 700 .9rem var(--font-mono); color: var(--red); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font: 700 .82rem var(--font-head); cursor: pointer; color: var(--body); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.card--navy { background: var(--navy); color: #c9d6e8; border: 0; }
.card--navy h2, .card--navy h3 { color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .88rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(74,134,200,.16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: .82rem; margin-top: 4px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #b9c8dc; border-radius: var(--radius-sm); background: var(--sky-2); cursor: pointer; transition: .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--steel); background: var(--sky); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 46px; height: 46px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--navy); flex: none; overflow: hidden; }
.dropzone__icon img { width: 100%; height: 100%; object-fit: cover; }
.dropzone small { display: block; color: var(--muted); }
.rfq-items { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.rfq-items li { display: grid; grid-template-columns: 1fr 74px 36px; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--sky-2); }
.rfq-items b { font: 600 .9rem/1.3 var(--font-head); color: var(--ink); }
.rfq-items small { display: block; color: var(--muted); font-size: .78rem; }
.rfq-items input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; text-align: center; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: #ffe3e0; color: var(--red); }
.success { text-align: center; padding: 30px 10px; }
.success__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #e3f6ea; color: #1a7f45; display: grid; place-items: center; }
.success__icon svg { width: 40px; height: 40px; }
.ref-code { display: inline-block; font: 700 1.3rem var(--font-mono); background: var(--sky-2); color: var(--navy); padding: 8px 16px; border-radius: 10px; margin: 8px 0 18px; }
.form-error { background: #ffe9e7; color: var(--red-dk); padding: 12px 14px; border-radius: 10px; font-weight: 600; margin-top: 14px; }
.side-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; counter-reset: s; }
.side-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.side-steps li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--navy); display: grid; place-items: center; font: 600 .9rem var(--font-mono); }
.side-steps b { color: #fff; display: block; font-family: var(--font-head); }

/* contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: .2s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--body); }
.contact-card .ico { width: 44px; height: 44px; padding: 11px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; margin-bottom: 6px; }
.contact-card--wa .ico { background: #25D366; }
.contact-card b { font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card span { font: 700 1rem/1.4 var(--font-head); color: var(--ink); }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hours td:last-child { text-align: right; color: #fff; font-weight: 600; }
.badge-ph { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 6px; background: rgba(245,166,35,.2); color: var(--amber); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; } /* reduced motion: content is simply there */
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; } .mt-lg { margin-top: 40px; }

/* grid children may shrink below content width (prevents horizontal overflow on phones) */
.catalogue > *, .finder > *, .split > *, .form-layout > *, .contact-band > *, .finder-teaser > * { min-width: 0; }
.trust__icon svg.flag-zw { width: 38px; height: 19px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11,31,58,.12); }
.section--black h1, .section--navy h1 { color: #fff; }
.not-found { margin-top: calc(-1 * var(--header-h)); padding-top: calc(clamp(64px, 9vw, 128px) + var(--header-h)); }
/* compact values list (About page): no bento spans */
.values-grid--compact { grid-template-columns: 1fr 1fr; gap: 12px; }
.values-grid--compact .value:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; padding: 20px 22px; background: #fff; border-color: var(--line); color: inherit; justify-content: flex-start; }
.values-grid--compact .value:nth-child(1) h3 { color: var(--ink); font-size: var(--fs-h3); }
.values-grid--compact .value:nth-child(1)::after { content: none; }
.values-grid--compact .value h3 { margin: 0; }
.values-grid--compact .value::before { top: 50%; translate: 0 -50%; color: var(--muted); }
@media (max-width: 560px) { .values-grid--compact { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion layer (stage 2) — see DESIGN.md. JS lives in /js/motion.js + partials/boot.html (inline)
   ========================================================================== */
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* scroll progress: thin gradient bar, scaled (transform only) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* first-visit loader: bearing outline draws, inner race spins once, panels split diagonally (≤ 1.2s) */
.loader { display: none; }
.te-first .loader { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; animation: ld-gone 0s linear 1.2s forwards; }
.loader__half { position: absolute; inset: 0; background: var(--black); }
.loader__half--a { clip-path: polygon(0 0, calc(100% + 6px) 0, 0 calc(100% + 6px)); animation: ld-a .4s cubic-bezier(.7,0,.2,1) .8s forwards; }
.loader__half--b { clip-path: polygon(100% -6px, 100% 100%, -6px 100%); animation: ld-b .4s cubic-bezier(.7,0,.2,1) .8s forwards; }
.loader__bearing { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; color: #fff; animation: ld-fade .2s ease .72s forwards; }
.ld-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ld-draw .5s var(--ease-out) forwards; }
.ld-ball { stroke: var(--amber); animation-delay: .12s; }
.loader__race .ld-draw { animation-delay: .2s; }
.loader__race { transform-box: view-box; transform-origin: 60px 60px; animation: ld-spin .5s var(--ease-out) .3s; }
.loader__balls { transform-box: view-box; transform-origin: 60px 60px; animation: ld-spin-half .5s var(--ease-out) .3s; }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-spin-half { to { transform: rotate(180deg); } }
@keyframes ld-fade { to { opacity: 0; transform: scale(.9); } }
@keyframes ld-a { to { transform: translate(-100%, -100%); } }
@keyframes ld-b { to { transform: translate(100%, 100%); } }
@keyframes ld-gone { to { visibility: hidden; } }

/* page transitions: diagonal navy wipe carrying the TE monogram */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.page-wipe { display: none; }
.vt-wipe .page-wipe, .te-arrive .page-wipe { display: grid; place-items: center; position: fixed; inset: 0 -30vw; z-index: 210; pointer-events: none;
  background: var(--navy); clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.page-wipe img { width: 96px; height: auto; }
.vt-wipe .page-wipe { view-transition-name: te-wipe; }
::view-transition-new(te-wipe) { animation: te-wipe-pass .8s cubic-bezier(.7,0,.2,1) both; }
::view-transition-old(root) { animation: te-hold .8s linear both; }
::view-transition-new(root) { animation: te-swap .8s linear both; }
@keyframes te-wipe-pass { 0% { transform: translateX(-110%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(110%); } }
@keyframes te-hold { from, to { opacity: 1; } }
@keyframes te-swap { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
.te-arrive .page-wipe { animation: te-wipe-out .55s cubic-bezier(.7,0,.2,1) .05s both; }
@keyframes te-wipe-out { from { transform: translateX(0); } 99% { transform: translateX(110%); } to { transform: translateX(110%); visibility: hidden; } }

/* custom cursor (desktop, added by motion.js) */
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label,
html.has-cursor [role="button"], html.has-cursor [role="tab"], html.has-cursor .cat-tile, html.has-cursor .product { cursor: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity var(--dur-micro); }
.cursor-on .cursor { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 38px; height: 38px; mix-blend-mode: difference; }
.cursor-ring__c { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #fff; transition: transform .4s var(--ease-out), opacity var(--dur-micro); }
.cursor-ring__label { position: absolute; inset: 0; display: grid; place-items: center; font: 600 .62rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity var(--dur-micro); }
.cursor-ring[data-state="link"] .cursor-ring__c { transform: scale(1.6); }
.cursor-ring[data-state="label"] { mix-blend-mode: normal; }
.cursor-ring[data-state="label"] .cursor-ring__c { transform: scale(1.9); background: var(--grad); border-color: transparent; }
.cursor-ring[data-state="label"] .cursor-ring__label { opacity: 1; }
.cursor-dot[data-state="label"], .cursor[data-state="native"] { opacity: 0 !important; }

/* transform-only cover used by the clipReveal preset */
.clip-cover { position: absolute; inset: -2px -30%; z-index: 3; background: var(--navy); transform: skewX(-18deg); pointer-events: none; }
.split-line { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .loader, .page-wipe, .scroll-progress, .cursor { display: none !important; }
  .btn { translate: none; }
  .btn::before { transition: none; }
}

/* ==========================================================================
   Home page sections (stage 3) — choreography in /js/motion-home.js
   ========================================================================== */
/* 01 hero: blueprint lines draw in, words rise out of masks (CSS, so it never waits for JS) */
.hero__lines { position: absolute; inset: 0; pointer-events: none; }
.hero__lines i { position: absolute; background: rgba(74,134,200,.22); }
.hero__lines .h { left: 0; right: 0; height: 1px; transform-origin: left; }
.hero__lines .v { top: 0; bottom: 0; width: 1px; transform-origin: top; }
.hero__lines .v1 { left: calc(50% - min(50% - 16px, 620px)); }
.hero__lines .v2 { right: calc(50% - min(50% - 16px, 620px)); }
.hero__lines .h1 { top: 17%; } .hero__lines .h2 { top: 86%; }
.hero__lines .h { animation: line-x 1.6s var(--ease-out) .1s both; }
.hero__lines .v { animation: line-y 1.6s var(--ease-out) .25s both; }
@keyframes line-x { from { transform: scaleX(0); } }
@keyframes line-y { from { transform: scaleY(0); } }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; animation: word-up var(--dur-hero) var(--ease-out) both; animation-delay: calc(.1s + var(--i) * 60ms); }
.hero h1 em::after { animation: underline-in .9s var(--ease-out) .85s both; }
.hero .lead { animation: fade-up .9s var(--ease-out) .5s both; }
.te-first .hero__title .w > span { animation-delay: calc(1.05s + var(--i) * 60ms); }
.te-first .hero h1 em::after { animation-delay: 1.8s; }
.te-first .hero .lead { animation-delay: 1.45s; }
.te-first .hero__lines i { animation-delay: 1s; }
@keyframes word-up { from { transform: translateY(108%); } }
@keyframes underline-in { from { transform: scaleX(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.hero__bearing { position: absolute; inset: 0; }
.hero__photo { will-change: transform; }

/* 03 feature card */
.hero__chip { align-items: flex-start; padding: 14px 16px; z-index: 2; }
.hero__chip .dot { margin-top: 4px; }
.hero__chip-body { display: block; }
.hero__chip-label { display: block; }
.hero__chip-code { min-width: 11ch; }
.is-typing .hero__chip-code::after { content: ""; display: inline-block; width: .5ch; height: .95em; margin-left: 2px; vertical-align: -.12em; background: var(--amber); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__chip-specs { display: flex; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font: 400 .72rem var(--font-mono); letter-spacing: 0; text-transform: none; color: var(--on-dark-muted); }
.hero__chip-specs i { font-style: italic; margin-right: 4px; color: var(--on-dark-muted); }
.hero__chip-specs b { color: #fff; font-weight: 600; margin-right: 1px; }

/* 02 conveyor strip */
.conveyor { position: relative; display: flex; align-items: center; width: min(100% - 32px, var(--container)); height: 62px; margin: clamp(44px, 6vw, 72px) auto 0; padding: 0 64px;
  border-radius: 31px; background: #0a1426; border: 1px solid #1d2d47; box-shadow: inset 0 2px 8px rgba(0,0,0,.65), 0 18px 34px -20px rgba(6,15,30,.7); }
.conveyor__roller { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  background: radial-gradient(circle, #e6ebf1 0 4px, #4a5869 5px 6px, transparent 7px), repeating-conic-gradient(from 0deg, #6d7c90 0 8deg, #c9d2de 8deg 45deg);
  box-shadow: 0 0 0 3px #0a1426, 0 0 0 4px #24365a; }
.conveyor__roller:first-child { left: 8px; } .conveyor__roller:last-child { right: 8px; }
.conveyor__belt { flex: 1; min-width: 0; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.conveyor__track { display: flex; width: max-content; height: 100%; align-items: center; will-change: transform;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, transparent 2px 13px); animation: belt-run 70s linear infinite; }
.motion-ready .conveyor__track { animation: none; }
@keyframes belt-run { to { transform: translateX(-50%); } }
.conveyor__items { display: flex; margin: 0; padding: 0; list-style: none; }
.conveyor__items li { display: flex; align-items: center; gap: 26px; padding-right: 26px; font: 500 .76rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); white-space: nowrap; }
.conveyor__items li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(245,166,35,.15); }
@media (max-width: 640px) { .conveyor { height: 50px; padding: 0 50px; } .conveyor__roller { width: 34px; height: 34px; margin-top: -17px; } .conveyor__items li { font-size: .7rem; } }

/* 04 ranges: counter + carousel (mobile) + pinned track (desktop, added by JS) */
.ranges { overflow: hidden; }
.ranges__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ranges__counter { display: none; flex-direction: column; align-items: flex-end; gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); font: 500 .8rem var(--font-mono); letter-spacing: .08em; color: var(--muted); }
.ranges__counter b { font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.ranges__bar { display: block; width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.ranges__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(.1); }
.ranges.is-pinned { padding-block: clamp(48px, 7vh, 88px); }
.ranges.is-pinned .section-head { margin-bottom: 32px; }
.ranges.is-pinned .ranges__counter { display: flex; margin-bottom: 32px; }
.ranges.is-pinned .ranges__track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.ranges.is-pinned .ranges__track > .cat-tile { width: 340px; flex: none; }
@media (max-width: 1023px) {
  .ranges__counter { display: flex; flex-direction: row; align-items: center; margin: -12px 0 18px; }
  .ranges__counter b { font-size: 1.3rem; }
  .ranges__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 20px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .ranges__track::-webkit-scrollbar { display: none; }
  .ranges__track > .cat-tile { flex: 0 0 min(80%, 340px); scroll-snap-align: start; }
}
.cat-tile__media img, .cat-tile__media .cat-ico { will-change: transform; }

/* 05 finder: live readout */
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 6px 0 18px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; }
.readout div { background: rgba(6,15,30,.7); padding: 10px 12px; min-width: 0; }
.readout dt { margin-bottom: 4px; font: 500 .6rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.readout dd { margin: 0; font: 500 .8rem/1.35 var(--font-mono); color: #fff; overflow-wrap: anywhere; }
.readout dd.is-new { animation: ro-in .45s var(--ease-out); }
@keyframes ro-in { from { opacity: 0; transform: translateX(-10px); } }
.is-autotyping .finder-field input { border-color: rgba(245,166,35,.45); }

/* 06 brands: dual-row marquee */
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 48s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.marquee .brand-chip { flex: none; width: 190px; height: 84px; color: var(--muted); transition: color var(--dur-micro), background var(--dur-micro); }
.marquee .brand-chip:hover { color: var(--navy); border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 07 values: hover turns the icon a quarter like a gear; border lights with the gradient */
.value__icon { transition: transform .7s var(--ease-out); }
.value:hover .value__icon { transform: rotate(90deg); }
.value:hover { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.values-grid .value:nth-child(1):hover { background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--grad) border-box; }
.values-grid--compact .value:nth-child(n):hover { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }

/* 08 stats: bearing-race rings */
.stats-section { padding: clamp(56px, 7vw, 96px) 0; }
.stat__ring { display: block; width: 64px; height: 64px; margin-bottom: 20px; overflow: visible; }
.stat__race { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; }
.stat__cage { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 2 5; }
.stat__arc { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }

/* 10 contact: map wrapper + ground pulse at the pin */
.map-wrap { position: relative; min-height: 380px; overflow: hidden; }
.map-wrap .map-frame { position: absolute; inset: 0; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.map-pin span, .map-pin::before { content: ""; position: absolute; left: -26px; top: -10px; width: 52px; height: 20px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: pin-pulse 2.4s var(--ease-out) infinite; }
.map-pin::before { animation-delay: 1.2s; }
@keyframes pin-pulse { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* 11 closing CTA: WhatsApp pulse ring (outside the button's clipped fill) */
.pulse-wrap { position: relative; display: inline-flex; }
.pulse-wrap::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); border: 1.5px solid #25D366; pointer-events: none; animation: wa-ring 2.6s var(--ease-out) infinite; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.18, 1.45); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__row + .marquee__row { margin-top: -0px; }
  .map-pin, .pulse-wrap::after { display: none; }
}

/* ==========================================================================
   Inner pages & micro-interactions (stage 4)
   ========================================================================== */

/* ---- nav: the active page carries a small turning race ---- */
.site-nav a[aria-current="page"]::before { width: 8px; height: 8px; box-shadow: none;
  background: conic-gradient(var(--amber) 0 28%, rgba(245,166,35,.28) 28% 100%);
  -webkit-mask: radial-gradient(circle, transparent 1.7px, #000 2.1px); mask: radial-gradient(circle, transparent 1.7px, #000 2.1px);
  animation: spin 2.4s linear infinite; }

/* ---- link underlines grow left to right ---- */
.footer-links a, .footer-contact a, .crumbs a { position: relative; }
.footer-links a::after, .footer-contact a::after, .crumbs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-reveal) var(--ease-out); }
.footer-links a:hover::after, .footer-contact a:hover::after, .crumbs a:hover::after,
.footer-links a:focus-visible::after, .footer-contact a:focus-visible::after, .crumbs a:focus-visible::after { transform: scaleX(1); }
/* prose links wrap across lines, so their rule is a background that grows (paint only, no layout) */
:where(main p, .check-list, .fineprint, .empty, .finder-note) a:not(.btn):not(.add-btn) {
  text-decoration: none; padding-bottom: 1px;
  background-image: linear-gradient(90deg, var(--red), var(--amber)), linear-gradient(color-mix(in srgb, currentColor 40%, transparent), color-mix(in srgb, currentColor 40%, transparent));
  background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 0% 1.5px, 100% 1px;
  transition: background-size var(--dur-reveal) var(--ease-out), color var(--dur-micro); }
:where(main p, .check-list, .fineprint, .empty, .finder-note) a:not(.btn):not(.add-btn):is(:hover, :focus-visible) { background-size: 100% 1.5px, 100% 1px; }

/* ---- presses ---- */
.add-btn, .pill, .icon-btn, .rfq-link, .filter-list button, .examples button, .tabs button { transition: transform var(--dur-micro) var(--ease-out), background-color .15s, color .15s, border-color .15s; }
.add-btn:active, .pill:active, .icon-btn:active, .rfq-link:active, .filter-list button:active, .examples button:active, .tabs button:active { transform: scale(.97); }

/* ---- image hovers: slight zoom + a steel reflection sweeping across ---- */
@media (hover: hover) {
  .product__media, .svc__media, .gallery figure, .photo-card, .cat-tile__media { position: relative; overflow: hidden; }
  :is(.product__media, .svc__media, .gallery figure, .photo-card, .cat-tile__media)::before {
    content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 42%; z-index: 2; pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(74,134,200,.10) 32%, rgba(255,255,255,.62) 50%, rgba(74,134,200,.10) 68%, transparent 100%);
    transform: translateX(-140%) skewX(-14deg); }
  :is(.product, .svc, .cat-tile):hover :is(.product__media, .svc__media, .cat-tile__media)::before,
  .gallery figure:hover::before, .photo-card:hover::before { transform: translateX(320%) skewX(-14deg); transition: transform 1s var(--ease-out); }
  .product__media img, .svc__media img, .photo-card > img { transition: transform .6s var(--ease-out); }
  .product:hover .product__media img, .svc:hover .svc__media img, .photo-card:hover > img { transform: scale(1.05); }
  .photo-card__badge { z-index: 3; }
}

/* ---- loading: a turning bearing instead of a generic spinner ---- */
.spin { animation: spin 1.1s linear infinite; }
.loading-state { display: none; }
.js .loading-state { grid-column: 1 / -1; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 56px 0; color: var(--muted); font: 500 .74rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.loading-state svg { width: 30px; height: 30px; color: var(--steel); }

/* ---- back to top: a bearing that turns with the page ---- */
.to-top { position: fixed; right: 24px; bottom: 90px; z-index: 59; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(6,15,30,.86); color: var(--amber); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--dur-micro), transform var(--dur-reveal) var(--ease-out), border-color var(--dur-micro); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 24px; height: 24px; transform: rotate(var(--spin, 0deg)); }
.to-top:hover { border-color: var(--amber); }
.to-top.is-visible:active { transform: scale(.94); }

/* ---- add to quote: the chip that flies to the header counter ---- */
.fly-chip { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--grad-cta); color: var(--black); font: 600 .74rem var(--font-mono); letter-spacing: .04em; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(228,71,30,.6); will-change: transform; }

/* ---- Products: zoomable photos ---- */
.product__zoom { all: unset; box-sizing: border-box; place-self: stretch; display: grid; place-items: center; cursor: zoom-in; }
.product__zoom:focus-visible { outline: 2px solid var(--steel); outline-offset: -4px; border-radius: var(--radius-sm); }
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: transparent; }
.zoom__bg { position: absolute; inset: 0; background: rgba(6,15,30,.9); }
.zoom__fig { position: relative; margin: 0; padding: 24px; display: grid; gap: 14px; justify-items: center; cursor: zoom-out; }
.zoom__img { display: block; width: min(86vw, 760px); height: auto; max-height: 72vh; object-fit: contain; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); will-change: transform; }
.zoom__cap { color: var(--on-dark); font: 500 .76rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.zoom__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; }
.zoom__close:hover { border-color: var(--amber); color: var(--amber); }

/* ---- Bearing Finder: the result reads as a spec sheet ---- */
.finder-result { position: relative; }
.finder-result:has(> h2)::before { content: "Spec sheet"; position: absolute; top: 16px; right: 20px; font: 500 .66rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dk); }
.finder-result > h2 { font: 600 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.1 var(--font-mono); letter-spacing: -.02em; padding-right: 90px; }
.finder-result > h2.is-typing::after { content: ""; display: inline-block; width: .5ch; height: .9em; margin-left: 3px; vertical-align: -.08em; background: var(--red); animation: caret .8s steps(1) infinite; }
.finder-result .type-line { font: 500 .76rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-dk); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.finder-result .dim { background: #fff; border: 1px solid var(--line); }
.finder-result .feature-list { gap: 0; }
.finder-result .feature-list li { border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 10px 2px; }
.finder-field, .searchbox { position: relative; }
.finder-field::after, .searchbox::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transform: scaleX(.97); transition: opacity var(--dur-micro), transform var(--dur-reveal) var(--ease-out); pointer-events: none; }
.finder-field:focus-within::after, .searchbox:focus-within::after { opacity: 1; transform: none; }
.searchbox input:focus { border-color: transparent; box-shadow: 0 0 0 4px rgba(245,166,35,.14); }

/* ---- steps line: Services process + About timeline ---- */
.steps-line { --p: 1; --node-x: 0px; position: relative; }
.steps-line::before, .steps-line::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; }
.steps-line::before { background: rgba(255,255,255,.14); }
.steps-line::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); }
.steps-line > li::after { content: ""; position: absolute; left: var(--node-x); width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.35); transition: background-color .3s, border-color .3s, transform var(--dur-reveal) var(--ease-out); }
.steps-line:not(.is-driven) > li::after, .steps-line > li.is-on::after { background: var(--amber); border-color: var(--amber); transform: scale(1.15); box-shadow: 0 0 0 5px rgba(245,166,35,.16); }

.process.steps-line { --axis: x; --node-x: 22px; --node: 28px; margin: 0; padding: 32px 0 0; }
.process.steps-line > li::after { top: -37px; }
.process.is-driven > li { transition: border-color .4s, background-color .4s; }
.process.is-driven > li::before { transition: opacity .4s; }
.process.is-driven > li:not(.is-on)::before { opacity: .35; }
.process.is-driven > li.is-on { border-color: rgba(245,166,35,.45); background: rgba(245,166,35,.06); }
@media (max-width: 900px) {
  .process.steps-line { --axis: y; --node: 32px; grid-template-columns: 1fr; padding: 0 0 0 30px; }
  .steps-line::before, .steps-line::after { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line::after { transform-origin: top; transform: scaleY(var(--p)); }
  .process.steps-line > li::after { left: -30px; top: 26px; }
}

.story__axis { display: flex; justify-content: space-between; margin-bottom: 14px; font: 500 .74rem var(--font-mono); letter-spacing: .14em; color: var(--amber); }
.story__list { --axis: x; --node: 6px; list-style: none; margin: 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.story__list > li { position: relative; }
.story__list > li::after { top: -41px; }
.story__when { display: block; margin-bottom: 10px; font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.story__list h3 { color: #fff; font-size: var(--fs-h3); margin-bottom: 8px; }
.story__list p { margin: 0; font-size: .94rem; }
.story__list.is-driven > li > :not(.story__when) { transition: opacity .5s var(--ease-out); }
.story__list.is-driven > li:not(.is-on) > :not(.story__when) { opacity: .45; }
@media (max-width: 900px) {
  .story__axis { display: none; }
  .story__list { --axis: y; --node: 10px; grid-template-columns: 1fr; padding: 0 0 0 30px; gap: 28px; }
  .story__list > li::after { left: -30px; top: 4px; }
}

/* ---- About: vision and mission as large statements ---- */
.vm { padding: clamp(30px, 4vw, 52px); }
.vm h3 { margin-bottom: 18px; }
.vm p { font: 600 clamp(1.55rem, 1.05rem + 1.7vw, 2.5rem)/1.15 var(--font-display); letter-spacing: var(--track-tight); text-wrap: balance; }

/* ---- Quote: progress, floating labels, gradient focus, inline errors ---- */
.q-steps { display: none; }
.js .q-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 26px; padding: 0 0 14px; }
.q-steps::before, .q-steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; }
.q-steps::before { background: var(--sky-2); }
.q-steps::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--q, 0)); transition: transform var(--dur-reveal) var(--ease-out); }
.q-steps li { display: flex; align-items: center; gap: 8px; font: 500 .7rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.q-steps li > span:first-child { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s, color .3s; }
.q-steps li[aria-current="step"] { color: var(--ink); }
.q-steps li[aria-current="step"] > span:first-child { border-color: var(--amber); color: var(--ink); }
.q-steps li.is-done > span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }

.ctl { position: relative; }
.field .ctl > input, .field .ctl > select, .field .ctl > textarea { display: block; min-height: 56px; padding: 24px 14px 8px; }
.ctl > label { position: absolute; left: 15.5px; top: 17px; margin: 0; max-width: calc(100% - 30px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 500 .95rem var(--font-body); color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-micro); }
.ctl > :is(input, textarea):focus + label, .ctl > :is(input, textarea):not(:placeholder-shown) + label, .ctl--fixed > label { transform: translateY(-10px) scale(.78); color: var(--steel-dk); }
.ctl > :is(input, textarea)::placeholder { color: transparent; transition: color var(--dur-micro); }
.ctl > :is(input, textarea):focus::placeholder { color: #8391a3; }
.ctl::after { content: ""; position: absolute; inset: 0; border-radius: 10px; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transform: scaleX(.97); transition: opacity var(--dur-micro), transform var(--dur-reveal) var(--ease-out); pointer-events: none; }
.ctl:focus-within::after { opacity: 1; transform: none; }
.field .ctl > :is(input, select, textarea):focus { border-color: transparent; box-shadow: 0 0 0 4px rgba(245,166,35,.14); }
.field .err:not(:empty) { animation: err-in .35s var(--ease-out) both; }
@keyframes err-in { from { opacity: 0; transform: translateY(-6px); } }

/* success: the check draws itself, then a parcel rides a short belt */
.success__icon { width: 84px; height: 84px; }
.success__icon svg { width: 84px; height: 84px; fill: none; stroke: #1a7f45; stroke-linecap: round; stroke-linejoin: round; }
.success__ring { stroke-width: 2.5; stroke-dasharray: 1; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; animation: draw .7s var(--ease-out) both; }
.success__tick { stroke-width: 3.5; stroke-dasharray: 1; animation: draw .45s .55s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.success h2:focus { outline: none; }
.belt-run { display: flex; align-items: flex-end; width: 220px; margin: -2px auto 22px; }
.belt-run__roller { flex: none; width: 14px; height: 14px; margin-bottom: -5px; border-radius: 50%; background: repeating-conic-gradient(var(--navy) 0 25%, var(--steel) 0 50%); animation: spin .5s linear 3; }
.belt-run__belt { position: relative; flex: 1; height: 28px; overflow: hidden; }
.belt-run__ribs { position: absolute; left: 0; right: -24px; bottom: 0; height: 4px; display: block; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, var(--steel) 8px 12px); animation: belt-ribs .25s linear 6; }
@keyframes belt-ribs { to { transform: translateX(-12px); } }
.belt-run__box { position: absolute; bottom: 4px; left: calc(50% - 12px); display: block; width: 24px; height: 17px; border-radius: 2px; background: var(--amber); box-shadow: inset 0 -4px 0 rgba(0,0,0,.14); animation: box-run 1.5s var(--ease-out) both; }
@keyframes box-run { from { transform: translateX(-120px); } }

@media (prefers-reduced-motion: reduce) {
  .to-top svg { transform: none; }
}
