/* HAISEN · HSE — site styles (v2: clean, product-first, engineer-efficient)
   Tokens first. System font stack = SF Pro on Apple devices, Segoe UI on Windows: no web-font download. */

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f8;        /* light tiles, footer */
  --bg-3: #eceff4;        /* image wells on gray */
  --ink: #1a1d24;         /* text */
  --ink-2: #5b6270;       /* secondary text (6:1 on white) */
  --line: #e2e6ec;
  --line-2: #cfd5de;
  --brand: #003996;       /* HSE royal blue — buttons, brand moments */
  --brand-2: #002c76;
  --link: #1d5fd6;        /* text links on light */
  --new: #c25400;         /* "New" labels on light (4.6:1) */
  --orange: #f28c1b;      /* logo orange — decorative / large text on dark */
  --night: #060d1d;       /* dark tiles */
  --night-2: #0f1a33;
  --night-line: rgba(255, 255, 255, .12);
  --on-night: #f2f5fa;
  --on-night-2: #a7b3c7;
  --sky: #8cc0ff;         /* links on dark */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gutter: 22px;
  --nav-h: 52px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 2px 8px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06);
  --shadow-lg: 0 4px 12px rgba(16, 24, 40, .06), 0 24px 56px rgba(16, 24, 40, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 734px) { :root { --gutter: 16px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 60px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 100px; }
.section--sm { padding-block: 64px; }
.bg-2 { background: var(--bg-2); }
.dark { background: var(--night); color: var(--on-night); }
@media (max-width: 734px) { .section { padding-block: 64px; } .section--sm { padding-block: 44px; } }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.headline { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.025em; }
.title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; font-weight: 600; letter-spacing: -.018em; }
.subhead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; font-weight: 400; color: var(--ink-2); letter-spacing: -.012em; text-wrap: pretty; }
.dark .subhead { color: var(--on-night-2); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.eyebrow--new { color: var(--new); }
.dark .eyebrow { color: var(--on-night-2); }
.dark .eyebrow--new { color: var(--orange); }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.dark .lede { color: var(--on-night-2); }
.small { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.center { text-align: center; }
.center .lede, .center .subhead { margin-inline: auto; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 17px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); }
.btn--secondary { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--secondary:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9edf3; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .ctas { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 2px; color: var(--link); font-weight: 400; }
.link::after { content: "›"; font-size: 1.15em; line-height: 1; margin-left: 4px; transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; }
.link:hover::after { transform: translateX(2px); }
.dark .link { color: var(--sky); }

/* ---------- global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.gnav__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.gnav__in.wrap { max-width: calc(1280px + var(--gutter) * 2); }   /* a little wider than the page so all eight menu items fit */
.gnav__logo { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.gnav__logo .lockup { height: 22px; width: auto; }
.gnav__menu { display: flex; align-items: center; gap: 0; height: 100%; list-style: none; margin: 0; padding: 0; }
.gnav__item { height: 100%; display: flex; align-items: center; }
.gnav__item + .gnav__item::before { content: ""; flex-shrink: 0; width: 1px; height: 13px; background: rgba(26,29,36,.2); }
.gnav__link { display: flex; align-items: center; height: 100%; padding: 0 10px; font-size: 13px; white-space: nowrap; color: rgba(26,29,36,.86); background: none; border: 0; cursor: pointer; }
.gnav__link:hover, .gnav__item:focus-within > .gnav__link, .gnav__link[aria-current="page"] { color: var(--ink); }
.gnav__link[aria-current="page"] { font-weight: 600; }
.gnav__tools { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: rgba(0,0,0,.05); }
/* language switcher */
.langsw { position: relative; }
.langsw > summary { list-style: none; width: auto; padding: 0 10px; gap: 5px; font-size: 13px; font-weight: 600; }
.langsw > summary::-webkit-details-marker { display: none; }
.langsw[open] > summary { background: rgba(0,0,0,.05); }
.langsw__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 184px; background: #fff; border-radius: 14px; padding: 6px; display: flex; flex-direction: column; z-index: 120; box-shadow: 0 14px 44px rgba(16,24,40,.16), 0 0 0 1px rgba(0,0,0,.05); animation: fadeIn .18s var(--ease); }
.langsw__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); }
.langsw__menu a:hover { background: rgba(0,0,0,.05); }
.langsw__menu a[aria-current] { font-weight: 600; color: var(--brand); }
.gnav__burger { display: none; }

/* flyout */
.flyout { position: absolute; left: 0; right: 0; top: var(--nav-h); background: #fff; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .24s var(--ease), transform .24s var(--ease), visibility 0s .24s; }
.gnav__item:hover > .flyout, .gnav__item:focus-within > .flyout, .gnav__item.is-open > .flyout { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s; }
.flyout::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; background: rgba(10,14,24,.22); pointer-events: none; }
.flyout__in { display: grid; grid-template-columns: 1fr 2.5fr .9fr; gap: 40px; padding-block: 36px 44px; }
.flyout__lead { display: flex; flex-direction: column; gap: 10px; }
.flyout__lead .title { font-size: 24px; }
.flyout__lead p { font-size: 14px; color: var(--ink-2); }
.flyout__lead img { height: 120px; width: auto; object-fit: contain; margin-top: 8px; align-self: flex-start; }
.flyout__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; align-content: start; }
.flyout__sub h3 { font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.flyout__sub ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.flyout__sub a { font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.flyout__sub a:hover { color: var(--link); }
.flyout__sub .mono { color: var(--ink-2); font-size: 11.5px; white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.flyout__side { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); padding-left: 32px; font-size: 14px; }
.flyout__side h3 { font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.flyout__side a:hover { color: var(--link); }

.ribbon { background: var(--bg-2); font-size: 14px; text-align: center; padding: 11px var(--gutter); color: var(--ink); }
.ribbon .link { font-size: 14px; }

/* nav that doesn't fit. The media queries cover typical screens; the inline script at the end of
   partials/nav.html also measures the bar and adds .nav-c1 / .nav-c2 / .nav-c3 to <html> step by step whenever the
   visitor's fonts, zoom level or language make it wider than the screen, so menu items never wrap or overlap. */
@media (max-width: 1259px) {
  .gnav__in { gap: 16px; }
  .gnav__link { padding: 0 9px; }
  .gnav__tools { margin-left: 4px; }
  .gnav__item--extra { display: none; }
  .gnav__burger { display: inline-flex; }
  .flyout__side { display: none; }
  .flyout__in { grid-template-columns: 1fr 2.4fr; gap: 32px; }
}
.nav-c1 .gnav__item--extra { display: none; }
.nav-c1 .gnav__burger { display: inline-flex; }
.nav-c1 .flyout__side { display: none; }
.nav-c1 .flyout__in { grid-template-columns: 1fr 2.4fr; gap: 32px; }
@media (max-width: 979px) { .gnav__tools .btn { display: none; } }
.nav-c2 .gnav__tools .btn { display: none; }
@media (max-width: 869px) { .gnav__menu { display: none; } }
.nav-c3 .gnav__menu { display: none; }

/* menu panel (burger) */
.mnav { display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 48px; }
.mnav.is-open { display: block; animation: fadeIn .25s var(--ease); }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; border-bottom: 1px solid var(--line); }
.mnav details summary { border-bottom: 0; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { transition: transform .2s var(--ease); }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav__subs { display: flex; flex-direction: column; padding: 0 0 16px; }
.mnav__subs a { min-height: 44px; display: flex; align-items: center; font-size: 17px; color: var(--ink-2); }
.mnav__cta { margin-top: 24px; }
.mnav__langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 0; }
.mnav__langs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
.mnav__langs a[aria-current] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- quick search ---------- */
.qs { position: fixed; inset: 0; z-index: 300; background: rgba(10,14,24,.36); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 10vh var(--gutter) 0; }
.qs.is-open { display: flex; animation: fadeIn .18s var(--ease); }
.qs__panel { width: 100%; max-width: 660px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.qs__bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.qs__bar input { flex: 1; height: 64px; border: 0; outline: 0; font-size: 21px; background: transparent; }
.qs__bar kbd { font-family: var(--mono); font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; }
.qs__list { list-style: none; margin: 0; padding: 8px; max-height: 56vh; overflow-y: auto; }
.qs__list a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.qs__list a:hover, .qs__list a.is-active { background: var(--bg-2); }
.qs__list img { width: 48px; height: 40px; object-fit: contain; }
.qs__list strong { display: block; font-size: 15px; font-weight: 600; }
.qs__list span { font-size: 13px; color: var(--ink-2); }
.qs__list .mono { font-size: 12px; }
.qs__empty { padding: 24px; color: var(--ink-2); font-size: 15px; text-align: center; }
.qs__hint { padding: 10px 18px; font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); display: flex; gap: 16px; }

/* ---------- home tiles ---------- */
.tile { position: relative; overflow: hidden; text-align: center; padding-top: 56px; display: flex; flex-direction: column; align-items: center; }
.tile__copy { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline: var(--gutter); position: relative; z-index: 2; }
.tile__copy .ctas { margin-top: 14px; }
.tile__media { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.tile--hero { background: var(--bg-2); padding-bottom: 0; }
.tile--hero .tile__media { height: clamp(300px, 42vw, 520px); margin-top: 18px; }
.tile--hero .tile__media img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(16,24,40,.18)); will-change: transform; }
.halo { position: absolute; left: 50%; top: 52%; width: min(900px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0,57,150,.10), rgba(0,57,150,0) 70%); pointer-events: none; }
.wire { position: absolute; top: 0; left: 50%; width: 1px; height: 24%; background: linear-gradient(rgba(26,29,36,0), rgba(26,29,36,.35)); }
.stats-inline { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding: 26px var(--gutter) 40px; position: relative; z-index: 2; }
.stats-inline div { padding: 0 28px; border-left: 1px solid var(--line-2); text-align: center; }
.stats-inline div:first-child { border-left: 0; }
.stats-inline strong { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.stats-inline span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 734px) { .stats-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; max-width: 420px; margin-inline: auto; } .stats-inline div { padding: 4px 10px; } .stats-inline div:nth-child(odd) { border-left: 0; } .stats-inline strong { font-size: 17px; } }

.tile--dark { background: var(--night); color: var(--on-night); }
.tile--dark .subhead, .tile--dark .lede, .tile--dark .eyebrow { color: var(--on-night-2); }
.tile--dark .eyebrow--new { color: var(--orange); }
.tile--dark .link { color: var(--sky); }
.tile--wise { padding-bottom: 0; min-height: 640px; }
.tile--wise .arcs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.tile--wise .tile__media { margin-top: 36px; }
.tile--wise .tile__media img { width: min(420px, 86vw); height: auto; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 80px rgba(80,140,255,.25); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.duo .tile { border-radius: var(--r-lg); min-height: 560px; padding-top: 52px; }
.duo .tile .headline { font-size: clamp(30px, 3.2vw, 44px); }
.duo .tile .subhead { font-size: 19px; max-width: 460px; }
.duo .tile__media { flex: 1; align-items: center; padding: 24px 32px 40px; }
.duo .tile__media img { max-height: 280px; width: auto; object-fit: contain; transition: transform .8s var(--ease); }
.duo .tile:hover .tile__media img { transform: scale(1.035); }
.tile--light { background: var(--bg-2); }
.tile--white { background: #fff; border: 1px solid var(--line); }
.tile--dark .tile__media img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
@media (max-width: 834px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo .tile { min-height: 480px; } }

/* explore rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rail-nav { display: flex; gap: 10px; }
@media (max-width: 734px) { .rail-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; } .rail-btn { display: none; } .rail-nav .link { margin-right: 0 !important; } }
.rail-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--bg-3); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.rail-btn:hover { background: var(--line-2); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 28px; margin: -8px -2px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--4 { grid-auto-columns: calc((100% - 60px) / 4); }
.rail--3 { grid-auto-columns: calc((100% - 40px) / 3); }
@media (max-width: 1023px) { .rail--4, .rail--3 { grid-auto-columns: 42%; } }
@media (max-width: 734px) { .rail--4, .rail--3, .rail { grid-auto-columns: 82%; } }

.ccard { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-height: 100%; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ccard__media { height: 210px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; padding: 22px; }
.ccard__media img { max-height: 100%; width: auto; object-fit: contain; }
.ccard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard__body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ccard__body p { font-size: 15px; color: var(--ink-2); }
.ccard__body .link { margin-top: auto; padding-top: 10px; font-size: 15px; }

.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 14px; transition: border-color .2s, background .2s; }
a.chip:hover { border-color: var(--ink); }
.chip--sm { min-height: 26px; padding: 0 10px; font-size: 12px; }
.chip--soft { background: var(--bg-2); border-color: transparent; }
.badge-new { color: var(--new); font-weight: 600; font-size: 12px; }

/* big numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.numbers div { display: flex; flex-direction: column; gap: 6px; }
.numbers strong { font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1; background: linear-gradient(180deg, var(--ink), #3a4255); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .numbers strong { background: linear-gradient(180deg, #fff, #9fb4d6); -webkit-background-clip: text; background-clip: text; }
.numbers span { font-size: 15px; color: var(--ink-2); }
.dark .numbers span { color: var(--on-night-2); }
.numbers em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0; }
.dark .numbers em { color: var(--on-night-2); }
@media (max-width: 834px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

.certs { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.certs li { display: inline-flex; align-items: center; gap: 8px; }
.certs svg { color: var(--brand); }

/* support band with mascot */
.support-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, #0a2a70, var(--brand) 60%); color: #fff; padding: 56px; min-height: 420px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.support-card .headline { font-size: clamp(30px, 3.6vw, 48px); }
.support-card .lede { color: #c9d8f0; }
.support-card .promise { display: flex; gap: 40px; margin-top: 8px; }
.support-card .promise strong { display: block; font-size: 56px; font-weight: 700; letter-spacing: -.03em; color: var(--orange); line-height: 1; }
.support-card .promise span { font-size: 15px; color: #e3ecfa; }
.support-card address { font-style: normal; font-size: 15px; color: #c9d8f0; line-height: 1.6; }
.support-card .mascot { position: absolute; right: 0; bottom: 0; height: 300px; width: auto; }
.support-card .ctas { margin-top: 8px; }
@media (max-width: 834px) { .support-card { grid-template-columns: minmax(0, 1fr); padding: 36px 24px 220px; } .support-card .mascot { height: 200px; } }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pgrid, .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid, .pgrid--4 { grid-template-columns: minmax(0, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard__media { position: relative; height: 200px; margin: 10px 10px 0; border-radius: 14px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pcard__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__flag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; color: var(--new); background: #fff; border-radius: 999px; padding: 3px 9px; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__model { font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0; }
.pcard__name { font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.spec-pill { font-size: 12px; background: var(--bg-2); border-radius: 999px; padding: 4px 9px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcard__more { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.pcard__more .q { position: relative; z-index: 2; color: var(--link); }
.pcard__more .q:hover { text-decoration: underline; }
.pcard__more .cat { color: var(--ink-2); font-size: 13px; }

/* ---------- product finder ---------- */
.finder-head { padding-block: 56px 28px; }
.finder-head .headline { margin-top: 6px; }
.finder { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 100px; }
.facets { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; padding-right: 6px; display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin; }
.facet { border-bottom: 1px solid var(--line); padding-block: 14px; }
.facet summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary svg { transition: transform .2s; color: var(--ink-2); }
.facet[open] summary svg { transform: rotate(180deg); }
.facet__opts { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; cursor: pointer; border-radius: 8px; padding: 0 6px; margin: 0 -6px; }
.opt:hover { background: var(--bg-2); }
.opt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; margin: 0; display: grid; place-content: center; flex-shrink: 0; transition: background .15s, border-color .15s; }
.opt input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.opt input:checked { background: var(--brand); border-color: var(--brand); }
.opt input:checked::after { opacity: 1; }
.opt span:first-of-type { flex: 1; }
.opt .count { color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.opt.is-zero { opacity: .45; }
.facets__clear { margin-top: 14px; align-self: flex-start; background: none; border: 0; color: var(--link); font-size: 14px; cursor: pointer; padding: 0; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar__search { position: relative; flex: 1; min-width: 220px; }
.toolbar__search input { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 14px 0 40px; font-size: 15px; }
.toolbar__search input:focus { outline: 2px solid var(--link); outline-offset: -1px; border-color: transparent; }
.toolbar__search svg { position: absolute; left: 13px; top: 12px; color: var(--ink-2); }
.toolbar__count { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 10px; padding: 3px; }
.seg button { height: 36px; width: 40px; border: 0; background: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; border: 0; background: var(--bg-2); font-size: 13px; cursor: pointer; }
.active-filters button:hover { background: var(--bg-3); }
.filters-btn { display: none; }
.results-empty { padding: 48px 24px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* list view */
.plist { display: none; border-top: 1px solid var(--line); }
.view-list .pgrid { display: none; }
.view-list .plist { display: block; }
.prow { display: grid; grid-template-columns: 64px minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.2fr) 24px; gap: 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; transition: background .2s; }
.prow:hover { background: var(--bg-2); }
.prow img { width: 64px; height: 48px; object-fit: contain; }
.prow strong { display: block; font-size: 15px; font-weight: 600; }
.prow .mono { font-size: 12px; color: var(--ink-2); }
.prow .muted { color: var(--ink-2); font-size: 12px; display: block; }
.prow a::after { content: ""; position: absolute; inset: 0; }
.plist__head { display: grid; grid-template-columns: 64px minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.2fr) 24px; gap: 16px; padding: 10px 8px; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (max-width: 1023px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .filters-btn { display: inline-flex; }
  .facets { position: fixed; inset: auto 0 0 0; top: auto; max-height: 80vh; z-index: 150; background: #fff; border-radius: 22px 22px 0 0; padding: 18px var(--gutter) 28px; box-shadow: 0 -20px 60px rgba(0,0,0,.18); transform: translateY(105%); transition: transform .35s var(--ease); }
  .facets.is-open { transform: none; }
  .facets__top { display: flex !important; justify-content: space-between; align-items: center; padding-bottom: 6px; }
  .prow, .plist__head { grid-template-columns: 56px minmax(0, 1fr) 20px; }
  .prow > :nth-child(3), .prow > :nth-child(4), .prow > :nth-child(5), .plist__head > :nth-child(3), .plist__head > :nth-child(4), .plist__head > :nth-child(5) { display: none; }
}
.facets__top { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(10,14,24,.35); z-index: 140; display: none; }
.scrim.is-open { display: block; }

/* ---------- category / application ---------- */
.cat-hero { padding-block: 56px 0; text-align: center; }
.cat-hero__img { height: clamp(200px, 26vw, 320px); margin: 28px auto 0; display: flex; justify-content: center; }
.cat-hero__img img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(16,24,40,.14)); }
.subnav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.subblock { padding-top: 56px; }
.subblock__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.subblock__head h2 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.subblock__head span { font-size: 14px; color: var(--ink-2); }

/* ---------- product page ---------- */
.lnav { position: sticky; top: var(--nav-h); z-index: 90; height: 52px; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.lnav__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.lnav__title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lnav__title .mono { font-size: 13px; color: var(--ink-2); font-weight: 400; margin-left: 8px; }
.lnav__links { display: flex; gap: 22px; font-size: 13px; }
.lnav__links a { color: var(--ink-2); }
.lnav__links a:hover, .lnav__links a.is-active { color: var(--ink); }
@media (max-width: 734px) { .lnav__links { display: none; } .lnav__title { font-size: 17px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); padding-top: 18px; }
.crumbs a:hover { color: var(--ink); }
.pdp-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-block: 28px 72px; }
.gallery__stage { position: relative; height: clamp(320px, 38vw, 520px); border-radius: var(--r-lg); background: var(--bg-2); display: flex; align-items: center; justify-content: center; padding: 48px; overflow: hidden; }
.gallery__stage img { max-height: 100%; width: auto; object-fit: contain; transition: opacity .3s; }
.gallery__dots { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.gallery__dots button { width: 64px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center; }
.gallery__dots button[aria-pressed="true"] { border: 2px solid var(--brand); }
.gallery__dots img { max-height: 38px; width: auto; }
.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-info h1 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -.028em; }
.pdp-info .model { font-family: var(--mono); font-size: 14px; color: var(--ink-2); letter-spacing: 0; }
.pdp-info .lede { font-size: 19px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-info .ctas { margin-top: 10px; }
.servicebar { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.servicebar span { display: inline-flex; align-items: center; gap: 6px; }
.servicebar svg { color: var(--brand); }
@media (max-width: 900px) { .pdp-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.keynums { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keynums div { padding: 32px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.keynums div:first-child { border-left: 0; padding-left: 0; }
.keynums strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.keynums span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 834px) { .keynums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .keynums div { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); } .keynums div:nth-child(-n+2) { border-top: 0; } .keynums div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } }

.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; list-style: none; margin: 0; padding: 0; }
.highlights li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; }
.highlights svg { flex-shrink: 0; color: var(--brand); margin-top: 3px; }
@media (max-width: 734px) { .highlights { grid-template-columns: minmax(0, 1fr); } }

.techspecs { border-top: 1px solid var(--line); }
.ts-group { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.ts-group h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ts-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 0; }
.ts-rows dt { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.ts-rows dd { margin: 0; font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 834px) { .ts-group { grid-template-columns: minmax(0, 1fr); gap: 14px; } .ts-rows { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.models { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.models th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 600; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.models td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
.models td:first-child { font-family: var(--mono); font-size: 13px; white-space: nowrap; letter-spacing: 0; }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--bg-2); transition: background .2s; }
.doc:hover { background: var(--bg-3); }
.doc svg:first-child { color: var(--brand); flex-shrink: 0; }
.doc strong { display: block; font-size: 15px; font-weight: 600; }
.doc span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 734px) { .docs { grid-template-columns: minmax(0, 1fr); } }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.sec-head .headline { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- HSE WISE ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.story__sticky img { border-radius: var(--r-lg); width: 100%; height: min(70vh, 620px); object-fit: cover; }
.story__steps { display: flex; flex-direction: column; gap: 0; }
.story__step { padding-block: 56px; border-top: 1px solid var(--line); }
.story__step:first-child { border-top: 0; padding-top: 0; }
.story__step h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 12px; }
.story__step p { font-size: 19px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); gap: 32px; } .story__sticky { position: static; } .story__sticky img { height: 360px; } .story__step { padding-block: 32px; } }

/* ---------- about ---------- */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding-block: 18px; border-top: 1px solid var(--night-line); }
.tl time { font-family: var(--mono); font-size: 14px; color: var(--sky); padding-top: 3px; letter-spacing: 0; }
.tl p { font-size: 17px; color: var(--on-night); }
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.loc { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.loc img { width: 100%; height: 220px; object-fit: cover; }
.loc__b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.loc__b h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.loc__b .place { font-size: 15px; color: var(--brand); font-weight: 600; }
.loc__b p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photos figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.photos img { width: 100%; height: 240px; object-fit: cover; transition: transform .8s var(--ease); }
.photos figure:hover img { transform: scale(1.04); }
.photos figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 834px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photos img { height: 180px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 32px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -.015em; }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; padding-block: 64px 100px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 64px; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { height: 52px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 14px; font-size: 17px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: 140px; padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 4px rgba(29,95,214,.15); }
.form .btn { grid-column: 1 / -1; min-height: 52px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
.form-note a { color: var(--link); }
.hp { display: none; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 15px; }
.contact-list span { color: var(--ink-2); }
.mascot-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); min-height: 220px; padding: 28px; }
.mascot-card .mascot { position: absolute; right: 0; bottom: 0; height: 210px; width: auto; }
.mascot-card p { max-width: 58%; font-size: 15px; color: var(--ink-2); }
.mascot-card strong { display: block; font-size: 21px; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ncard img { width: 100%; height: 200px; object-fit: cover; background: var(--bg-3); }
.ncard div { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.ncard time { font-size: 13px; color: var(--ink-2); }
.ncard h3 { font-size: 19px; font-weight: 600; letter-spacing: -.018em; line-height: 1.3; }
@media (max-width: 900px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { font-size: 19px; line-height: 1.6; max-width: 700px; }
.prose p, .prose ul { margin: 0 0 20px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; letter-spacing: -.02em; }
.prose a { color: var(--link); }
.post-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r-lg); margin-block: 32px 40px; background: var(--bg-2); }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); color: var(--ink-2); font-size: 12.5px; line-height: 1.55; padding-block: 40px 28px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__note { padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.footer__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
.footer__cols h2 { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__addr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 20px; border-top: 1px solid var(--line-2); }
.footer__addr strong { color: var(--ink); font-weight: 600; display: block; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); align-items: center; }
.footer__bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1023px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__addr { grid-template-columns: minmax(0, 1fr); } }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; } .js .rv-d2 { transition-delay: .16s; } .js .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* misc */
.not-found { min-height: 64vh; display: flex; align-items: center; }
.thanks { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; }
.thanks .mascot { position: absolute; right: 0; bottom: 0; height: 280px; width: auto; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }

/* ---------- page additions (support, about, news) ---------- */
.muted { color: var(--ink-2); }
.doc > div { flex: 1; min-width: 0; }
.doc > svg:last-child { color: var(--ink-2); flex-shrink: 0; }
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.help { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: var(--r); background: var(--bg-2); transition: background .25s, transform .35s var(--ease); }
.help:hover { background: var(--bg-3); transform: translateY(-2px); }
.help svg { color: var(--brand); margin-bottom: 8px; }
.help h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.help p { font-size: 15px; color: var(--ink-2); }
.help .link { margin-top: auto; padding-top: 8px; font-size: 15px; }
.about-hero { width: 100%; height: clamp(260px, 40vw, 520px); object-fit: cover; border-radius: var(--r-lg); margin-top: 56px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.values > div { display: flex; flex-direction: column; gap: 8px; }
.values strong { font-size: clamp(36px, 3.8vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--brand); }
.values .unit { font-size: 14px; color: var(--ink-2); }
.values h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin-top: 12px; }
.values p { font-size: 15px; color: var(--ink-2); }
.dark .story__sticky { position: sticky; }
.news-lead { display: grid; grid-template-columns: 1.4fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); transition: background .25s; }
.news-lead:hover { background: var(--bg-3); }
.news-lead img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-lead > div { padding: 40px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (max-width: 1023px) {
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .help-grid, .values, .news-lead { grid-template-columns: minmax(0, 1fr); }
  .news-lead img { min-height: 220px; }
  .news-lead > div { padding: 24px; }
}

.numbers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; max-width: 900px; margin-inline: auto; }
@media (max-width: 734px) { .numbers--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers--3 > :last-child { grid-column: 1 / -1; } .contact-mascot { display: none; } }


/* =====================================================================
   v2.1 — atmosphere, zoom, transitions
   ===================================================================== */

/* ---- page transitions: the new page rushes in, the nav stays put ---- */
@view-transition { navigation: auto; }
.gnav { view-transition-name: gnav; }
::view-transition-group(gnav) { animation: none; z-index: 10; }
::view-transition-old(gnav) { display: none; }
::view-transition-new(gnav) { animation: none; }
::view-transition-old(root) { animation: vtOut .34s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(1.035); filter: blur(6px); } }
@keyframes vtIn { from { opacity: 0; transform: scale(.93) translateY(42px); filter: blur(10px); } }
.no-vt main { animation: pageIn .8s cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes pageIn { from { opacity: 0; transform: scale(.97) translateY(26px); } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08) translateY(26px); filter: blur(8px); } }
.js .hero-in { animation: heroIn 1.5s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
.js .rv--zoom { transform: scale(.955); }
.js .rv--zoom.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---- home hero: cinematic night stage ---- */
.tile--night { background: radial-gradient(120% 90% at 50% 0%, #133371 0%, #081734 44%, #040a18 100%); color: var(--on-night); isolation: isolate; }
.tile--night .display { color: #fff; }
.tile--night .subhead { color: var(--on-night-2); }
.tile--night .eyebrow--new { color: var(--orange); }
.tile--night .tile__media img { filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 50px rgba(120, 170, 255, .16)); }
.tile--night .wire { background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .45)); }
.tile--night .stats-inline strong { color: #fff; }
.tile--night .stats-inline span { color: var(--on-night-2); }
.tile--night .stats-inline div { border-color: rgba(255, 255, 255, .14); }
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx > span { position: absolute; display: block; }
.fx__grid { left: 0; right: 0; top: -64px; bottom: 0; background-image: linear-gradient(rgba(140, 192, 255, .085) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 192, 255, .085) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 64%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 62% 55% at 50% 64%, #000 25%, transparent 75%); animation: gridDrift 26s linear infinite; }
@keyframes gridDrift { to { transform: translateY(64px); } }
.fx__spot { left: 50%; top: 0; width: min(1300px, 170vw); height: 100%; transform: translateX(-50%); background: conic-gradient(from 158deg at 50% -4%, transparent 0deg, rgba(150, 195, 255, .10) 12deg, rgba(205, 228, 255, .17) 22deg, rgba(150, 195, 255, .10) 32deg, transparent 44deg); -webkit-mask-image: linear-gradient(#000 35%, transparent 92%); mask-image: linear-gradient(#000 35%, transparent 92%); }
.fx__glow { left: 50%; top: 62%; width: min(980px, 130vw); aspect-ratio: 1.7; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(52, 118, 255, .34), rgba(52, 118, 255, .12) 45%, transparent 74%); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .78; } }
.fx__floor { left: 50%; bottom: 92px; width: min(760px, 92vw); height: 90px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(160, 200, 255, .30), transparent 72%); }
.tile--night .tile__copy, .tile--night .tile__media, .tile--night .stats-inline { z-index: 2; }

/* ---- HSE WISE tile (home): airy sky with Bluetooth pulses ---- */
.tile--sky { background: linear-gradient(180deg, #e8f1ff 0%, #f3f8ff 55%, #ffffff 100%); color: var(--ink); }
.tile--sky .display { color: var(--ink); }
.tile--wise.tile--sky .tile__media img { box-shadow: 0 30px 90px rgba(0, 57, 150, .28), 0 0 0 1px rgba(0, 57, 150, .06); }
.pulse { position: absolute; left: 50%; bottom: 210px; width: 0; height: 0; z-index: 0; pointer-events: none; }
.pulse i { position: absolute; left: -170px; top: -170px; width: 340px; height: 340px; border-radius: 50%; border: 1.5px solid rgba(29, 95, 214, .38); opacity: 0; animation: ping 5.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.pulse i:nth-child(2) { animation-delay: 1.8s; }
.pulse i:nth-child(3) { animation-delay: 3.6s; }
.tile--dark .pulse i { border-color: rgba(140, 192, 255, .35); }
@keyframes ping { 0% { transform: scale(.35); opacity: 0; } 14% { opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---- duo tiles: studio light instead of flat fills ---- */
.duo .tile--light { background: radial-gradient(90% 70% at 50% 86%, #ffffff 0%, #f1f3f7 55%, #e8ebf1 100%); }
.duo .tile--dark { background: radial-gradient(75% 58% at 50% 86%, rgba(44, 104, 235, .38) 0%, rgba(10, 25, 60, 0) 72%), linear-gradient(180deg, #050c1c 0%, #0a1731 100%); }
.duo .tile__media::after { content: ""; position: absolute; left: 50%; bottom: 30px; width: 58%; height: 30px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(16, 24, 40, .18), transparent); z-index: -1; }
.duo .tile--dark .tile__media::after { background: radial-gradient(closest-side, rgba(120, 170, 255, .28), transparent); }

/* ---- full-bleed photo band (company) ---- */
.photo-band { position: relative; overflow: hidden; isolation: isolate; padding-block: 128px; }
.js .photo-band.rv { opacity: 1; transform: none; }
.photo-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.14); transition: transform 2.8s cubic-bezier(.16, 1, .3, 1); }
.photo-band.in .photo-band__bg, .no-js .photo-band__bg { transform: scale(1.02); }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 10, 24, .93) 0%, rgba(4, 10, 24, .8) 48%, rgba(6, 24, 66, .55) 100%); }
.photo-band .headline { color: #fff; }
.photo-band .lede { color: #c8d3e5; }
.photo-band .eyebrow { color: var(--sky); }
@media (max-width: 734px) { .photo-band { padding-block: 80px; } .photo-band::before { background: rgba(4, 10, 24, .86); } }

/* ---- support card: Houston photo under the brand gradient ---- */
.support-card { background: #0a2a70; isolation: isolate; }
.support-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 2s cubic-bezier(.16, 1, .3, 1); }
.support-card.in .support-card__bg { transform: scale(1); }
.support-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 20, 64, .97) 0%, rgba(0, 44, 128, .9) 46%, rgba(0, 57, 150, .5) 100%); }

/* ---- category / application heroes: blueprint grid + studio floor ---- */
.cat-hero { position: relative; overflow: hidden; isolation: isolate; }
.cat-hero.bg-2 { background: radial-gradient(70% 62% at 50% 100%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #e7edf6 0%, #f5f6f8 100%); }
.cat-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(0, 57, 150, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 57, 150, .055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000 18%, transparent 75%); mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000 18%, transparent 75%); }
.cat-hero__img { position: relative; }
.cat-hero__img::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 52%; height: 38px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(16, 24, 40, .16), transparent); z-index: -1; }
.js .cat-hero__img img { animation: heroIn 1.3s cubic-bezier(.16, 1, .3, 1) .15s backwards; }

/* ---- product page: studio stage, Amazon-style zoom, lightbox ---- */
.pdp-hero { position: relative; }
.gallery__stage { background: radial-gradient(75% 65% at 50% 38%, #ffffff 0%, #f2f4f8 56%, #e6e9ef 100%); cursor: zoom-in; }
.gallery__stage::after { content: ""; position: absolute; left: 50%; bottom: 7%; width: 54%; height: 34px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(16, 24, 40, .13), transparent); pointer-events: none; }
.gallery__stage img { position: relative; z-index: 1; }
.zoom-lens { position: absolute; left: 0; top: 0; z-index: 2; border-radius: 8px; border: 1px solid rgba(0, 57, 150, .45); box-shadow: 0 0 0 9999px rgba(240, 243, 248, .26), inset 0 0 0 1px rgba(255, 255, 255, .6); pointer-events: none; opacity: 0; transition: opacity .18s; }
.gallery__stage.is-zooming .zoom-lens { opacity: 1; }
.gallery__expand { position: absolute; right: 16px; top: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .88); box-shadow: 0 2px 10px rgba(16, 24, 40, .12); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: transform .2s var(--ease); }
.gallery__expand:hover { transform: scale(1.08); }
.gallery__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, .82); padding: 5px 12px; border-radius: 999px; white-space: nowrap; transition: opacity .25s; }
.gallery__stage.is-zooming .gallery__hint { opacity: 0; }
.h-touch { display: none; }
@media (hover: none), (pointer: coarse) { .h-fine { display: none; } .h-touch { display: inline; } .gallery__stage { cursor: pointer; } }
.zoom-pane { position: absolute; z-index: 20; border-radius: var(--r-lg); background-color: #fff; background-repeat: no-repeat; border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .18s, transform .18s, visibility 0s .18s; pointer-events: none; }
.pdp-hero.is-zooming .zoom-pane { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.lb { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 16px 24px; background: rgba(247, 248, 251, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .3s var(--ease); }
.lb.is-open { opacity: 1; }
.lb__stage { position: relative; width: min(1100px, 100%); flex: 1; min-height: 0; max-height: 82vh; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(75% 65% at 50% 40%, #ffffff 0%, #eef1f6 70%); }
.lb__stage img { max-width: 92%; max-height: 92%; object-fit: contain; cursor: zoom-in; transform: scale(.94); opacity: 0; transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s; user-select: none; -webkit-user-drag: none; }
.lb.is-open .lb__stage img { transform: none; opacity: 1; }
.lb__stage.is-zoomed img { transform: scale(2.4); cursor: zoom-out; transition: transform .35s var(--ease); }
.lb__stage.is-zoomed { touch-action: none; }
.lb__close { position: absolute; top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow); }
.lb__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 999px; border: 0; background: #fff; box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.lb__prev { left: 16px; } .lb__next { right: 16px; }
.lb__dots { display: flex; gap: 10px; }
.lb__dots button { width: 64px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb__dots button[aria-pressed="true"] { border: 2px solid var(--brand); }
.lb__dots img { max-height: 38px; width: auto; }
.lb__hint { font-size: 13px; color: var(--ink-2); }
@media (max-width: 734px) { .lb__nav { display: none; } .lb__stage { max-height: 70vh; } }

/* ---- quality page ---- */
.qsteps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qstep { position: relative; padding: 36px 36px 40px; border-radius: var(--r-lg); background: radial-gradient(90% 90% at 100% 0%, #eaf1ff 0%, #f5f6f8 60%); overflow: hidden; }
.qstep__n { display: block; font-size: 64px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: rgba(0, 57, 150, .14); margin-bottom: 18px; }
.qstep h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.qstep p { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 460px; }
.certgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.cert__mark { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--brand); background: #eaf1ff; border-radius: 999px; padding: 5px 12px; }
.cert h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.cert p { font-size: 15px; color: var(--ink-2); }
.cert .link { margin-top: auto; padding-top: 6px; font-size: 15px; }
.docgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.doccard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); cursor: zoom-in; }
.doccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doccard__img { display: flex; align-items: center; justify-content: center; height: 260px; padding: 20px; background: var(--bg-2); }
.doccard__img img { max-height: 100%; width: auto; box-shadow: 0 6px 24px rgba(16, 24, 40, .12); }
.doccard__b { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.doccard__b strong { font-size: 19px; font-family: var(--mono); letter-spacing: 0; }
.doccard__b span { font-size: 15px; color: var(--ink-2); }
.lb__stage img[src*="/docs/"] { max-width: 96%; max-height: 96%; box-shadow: 0 10px 40px rgba(16, 24, 40, .15); background: #fff; }
@media (max-width: 1023px) { .certgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .qsteps, .certgrid, .docgrid { grid-template-columns: minmax(0, 1fr); } .doccard__img { height: 200px; } }

/* ---------- languages ---------- */
.footer__langs { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.footer__langs svg { margin-right: -6px; }
.footer__langs a[aria-current] { color: var(--ink); font-weight: 600; }

/* Chinese: Latin glyphs from the system UI font, CJK from the platform's best Chinese font */
:root:lang(zh-Hans) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif; }
:root:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", sans-serif; }
html[lang^="zh"] body, html[lang^="zh"] body * { letter-spacing: 0; }
html[lang^="zh"] body { line-height: 1.6; }
html[lang^="zh"] .display { line-height: 1.16; }
html[lang^="zh"] .headline { line-height: 1.2; }
html[lang^="zh"] .title, html[lang^="zh"] .subhead { line-height: 1.4; }
html[lang^="zh"] .lede, html[lang^="zh"] .prose { line-height: 1.75; }
/* big Chinese headlines: break at punctuation (and marked phrase breaks) rather than mid-word */
html[lang^="zh"] :is(.display, .headline) { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
