/* DSRI Labs — site stylesheet. Light, precise, generous. No framework. */
:root {
  --ink: #1d1d1f;
  --ink-2: #3a3a3c;
  --ink-3: #6e6e73;
  --ink-4: #a1a1a6;
  --line: #e8e8ed;
  --line-2: #d2d2d7;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #ececf0;
  --accent: #0a5cff;
  --accent-2: #0043c4;
  --accent-soft: #eaf1ff;
  --signal: #ff7a00;
  --ok: #1d9a4b;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 24px 60px -24px rgba(0,0,0,.18);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.06), 0 60px 120px -40px rgba(10,60,160,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: .88em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: #000; color: #f5f5f7; }
.section.dark .muted { color: #a1a1a6; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--font); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; font-weight: 600; }
.dark .eyebrow { color: #6ea8ff; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-3); max-width: 60ch; line-height: 1.45; font-weight: 400; }
.dark .lede { color: #c7c7cc; }
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } .section.tight { padding: 48px 0; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Page transitions (issue #2). Cross-document View Transitions where supported
   (Chrome/Edge 126+, Safari 18.2+): the sticky header stays put, the page body
   crossfades with a small upward slide. Elsewhere site.js adds html.leaving on
   link click (fade out) and html.js-vt-fallback on load (fade in). */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .18s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2,.7,.2,1) both; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
html.js-vt-fallback body { animation: vt-in .32s cubic-bezier(.2,.7,.2,1) both; }
html.leaving body { opacity: 0; transform: translateY(-6px); transition: opacity .18s cubic-bezier(.4,0,1,1), transform .18s cubic-bezier(.4,0,1,1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.js-vt-fallback body, html.leaving body { animation: none; transition: none; opacity: 1; transform: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 500; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .12s, box-shadow .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(10,92,255,.7); }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--ink-4); background: #fff; }
.dark .btn.ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.dark .btn.ghost:hover { background: rgba(255,255,255,.14); }
.btn.sm { padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 16px; height: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; max-width: 1240px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 10px; align-items: center; }
.nav > a, .nav .menu > button { color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: 6px 0; opacity: .85; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav > a:hover, .nav .menu > button:hover { color: var(--ink); text-decoration: none; opacity: 1; }
.nav > a.active, .nav .menu.active > button { color: var(--ink); opacity: 1; font-weight: 600; }
.nav .menu { position: relative; }
.nav .drop { display: none; position: absolute; top: 34px; left: -12px; min-width: 200px; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border: 1px solid rgba(0,0,0,.08); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; }
/* Invisible hover bridge over the gap between the button and the panel —
   without it the pointer leaves .menu while crossing the gap and the menu
   closes before an item can be reached (issue #4). */
.nav .drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.nav .drop a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-size: .92rem; white-space: nowrap; }
.nav .drop a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nav .menu:hover .drop, .nav .menu.open .drop, .nav .menu:focus-within .drop { display: block; }
.top .cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.top .cta .btn { white-space: nowrap; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 38px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; }
@media (max-width: 1080px) {
  .nav, .top .cta { display: none; }
  .burger { display: block; }
  .top.open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 60px; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 10px 28px 110px; gap: 0; max-height: calc(100vh - 60px); overflow: auto; }
  .top.open .nav > a, .top.open .nav .menu > button { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .top.open .nav .drop { display: none; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; }
  .top.open .nav .menu.open .drop { display: block; }
  .top.open .nav .drop a { padding: 10px 0; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .top.open .cta { display: flex; position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 60; gap: 10px; }
  .top.open .cta .btn { flex: 1; justify-content: center; }
  body:has(.top.open) .quote-fab { display: none; }
  /* backdrop-filter makes .top the containing block for fixed children, which pinned the CTAs over the logo — drop it while open */
  .top.open { position: fixed; left: 0; right: 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 50% -10%, #e9f0ff 0%, #f7f9ff 40%, #fff 75%); color: var(--ink); }
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 72px; display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; }
.hero h1 { color: var(--ink); max-width: 18ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #0a5cff, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--ink-3); max-width: 56ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; mask-image: linear-gradient(#000, transparent 85%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(10,92,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(10,92,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 65%); pointer-events: none; }
.hero-side { position: relative; width: 100%; max-width: 980px; }
.spec-card { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); padding: 26px 30px; backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); text-align: left; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 28px; }
.spec-card h4 { grid-column: 1 / -1; margin: 0 0 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.spec-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.spec-row b { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.spec-row span { color: var(--ink-3); font-size: .85rem; }
.hero .spec-card h4 + .spec-row, .spec-card .spec-row:nth-child(-n+5) { border-top: 0; }
.accred { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: .9rem; color: var(--ink-3); justify-content: center; }
.accred img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 4px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero .wrap { padding-top: 64px; padding-bottom: 56px; } .spec-card { grid-template-columns: repeat(2, 1fr); } .spec-card .spec-row:nth-child(-n+5) { border-top: 1px solid var(--line); } .spec-card .spec-row:nth-child(-n+3) { border-top: 0; } }

/* Secondary (inner-page) hero variant used by customers.html */
.hero.split .wrap { grid-template-columns: 1.1fr .9fr; text-align: left; justify-items: stretch; align-items: center; }
.hero.split .actions { justify-content: flex-start; }
.hero.split .spec-card { grid-template-columns: 1fr; gap: 0; }
.hero.split .spec-card .spec-row { flex-direction: row; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding: 10px 0; }
.hero.split .spec-card .spec-row b { font-size: 1rem; font-family: var(--mono); font-weight: 600; }
.hero.split .spec-card h4 + .spec-row { border-top: 0; }
@media (max-width: 900px) { .hero.split .wrap { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 8px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -.04em; font-weight: 700; background: linear-gradient(180deg, var(--ink), #4a4a4f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* cards */
.card { background: var(--bg-2); border: 1px solid transparent; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s; }
.alt .card, .dark .card { background: #fff; }
.dark .card { background: #1c1c1e; color: #f5f5f7; }
.dark .card p { color: #a1a1a6; }
.dark .card ul { color: #c7c7cc; }
.card.link { color: inherit; }
.card.link:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); background: #fff; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #0a5cff, #7c3aed); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(10,92,255,.6); }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 8px 0 0; }
.card p { color: var(--ink-3); margin: 0; font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .92rem; color: var(--accent); }
/* A card that has to contain its own links cannot be wrapped in one <a> --
   nesting anchors is invalid and the parser hoists the rest of the card out of
   the grid. Instead the card is a <div class="card link"> and its primary link
   carries .stretch, which covers the whole card; inner links sit above it. */
.card .stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
/* :not(.stretch) matters -- position:relative on the stretch link itself would
   make it, rather than the card, the containing block for its own ::after. */
.card p a:not(.stretch), .card .more a:not(.stretch) { position: relative; z-index: 1; }
.card a.more:hover, .card .more a:hover { text-decoration: none; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .95rem; }
.card ul li { margin: 4px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.alt .chip { background: var(--bg-2); }
.chip.acc { background: var(--accent-soft); color: var(--accent-2); border-color: #cfdcff; }
a.chip:hover, button.chip:hover { border-color: var(--ink-4); text-decoration: none; cursor: pointer; }
.range { font-family: var(--display); color: var(--accent); font-weight: 700; letter-spacing: -.01em; }

/* two-col feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature .art { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; min-height: 260px; }
.alt .feature .art { background: #fff; }
.dark .feature .art { background: #1c1c1e; box-shadow: none; border: 1px solid #2c2c2e; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 22px 20px 20px; box-shadow: var(--shadow); }
.dark .step { background: #1c1c1e; box-shadow: none; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.dark .step::before { color: #6ea8ff; }
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-3); font-size: .92rem; }
.dark .step p { color: #a1a1a6; }
.step .who { margin-top: 12px; font-size: .74rem; color: var(--ink-4); font-family: var(--mono); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr !important; } }

/* timeline */
.timeline { display: grid; gap: 0; max-width: 880px; }
.tl { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl:first-child { border-top: 0; }
.tl .n { font-family: var(--display); color: var(--accent); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; padding-top: 2px; }
.tl h3 { margin: 0 0 6px; font-size: 1.35rem; }
.tl p { color: var(--ink-2); margin: 0 0 10px; }
.tl .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tl .meta span { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; }

/* tables */
table.spec { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.spec th, table.spec td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--bg-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); border-top: 0; font-weight: 600; }
table.spec td.mono { font-family: var(--mono); font-size: .82rem; color: var(--ink-2); }
table.spec tr:hover td { background: #fafafc; }

/* scope explorer */
.explorer { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 22px; }
.filters h4 { margin: 0 0 8px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: .93rem; padding: 4px 0; cursor: pointer; }
.filters label small { margin-left: auto; color: var(--ink-4); font-family: var(--mono); font-size: .72rem; }
.filters input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.search { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 1.05rem; background: transparent; }
.search svg { width: 20px; height: 20px; color: var(--ink-4); flex: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 4px 10px; font-size: .9rem; color: var(--ink-3); }
.results-head b { color: var(--ink); }
.group-h { margin: 28px 4px 10px; display: flex; align-items: baseline; gap: 10px; }
.group-h h3 { margin: 0; font-size: 1.05rem; }
.group-h small { color: var(--ink-4); font-family: var(--mono); font-size: .75rem; }
mark { background: #fff3bf; padding: 0 2px; border-radius: 3px; }
.empty { padding: 44px; text-align: center; color: var(--ink-3); background: var(--bg-2); border-radius: var(--radius); }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } .filters { position: static; } }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field label i { color: var(--ink-4); font-weight: 400; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #c62828; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e53935; }
.field.invalid .err { display: block; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.notice { border-radius: 14px; padding: 16px 18px; font-size: .95rem; }
.notice.ok { background: #e9f9ee; color: #14532d; }
.notice.bad { background: #fdecec; color: #7f1d1d; }
.notice.info { background: var(--accent-soft); color: var(--accent-2); }
.hp { position: absolute; left: -9999px; top: -9999px; }

/* misc */
.logos { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.logos img { height: 52px; width: auto; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; font-size: .92rem; color: var(--ink-2); background: var(--bg-2); }
.alt .pill { background: #fff; }
.cta-band { background: linear-gradient(120deg, #0a0a0c 0%, #1a1a3a 60%, #0a5cff 140%); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; color: #c7c7cc; }
.cta-band .btn.primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn.primary:hover { background: #f5f5f7; }
.cta-band .btn.ghost { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.post { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.post:first-child { border-top: 0; }
.post time { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.post .tag { display: inline-block; margin-left: 8px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 600; }
.post h3 { margin: 6px 0 8px; font-size: 1.4rem; }
.post p { color: var(--ink-2); }
.post details summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; gap: 6px; } }
.job { border-radius: var(--radius); padding: 24px 26px; background: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: start; }
.alt .job { background: #fff; }
.job .type { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.job ul { grid-column: 1 / -1; margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; font-size: .9rem; color: var(--ink-2); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 12px; font-weight: 600; }
footer a { color: var(--ink-2); display: block; padding: 4px 0; }
footer .brand img { height: 24px; margin-bottom: 12px; }
footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); }
footer .fine a { display: inline; padding: 0; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

/* prose pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose ul { padding-left: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* gallery: slideshow + click-to-load video */
.gallery { display: grid; gap: 16px; margin: 22px 0 6px; }
.slides { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; }
.slides .track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slides figure { margin: 0; flex: 0 0 100%; position: relative; height: 100%; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slides figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.slide-btn.prev { left: 14px; } .slide-btn.next { right: 14px; }
.slide-btn:hover { background: #fff; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.dots button.on { background: #fff; width: 20px; border-radius: 4px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.videos.hero-video { grid-template-columns: 1fr; max-width: 880px; margin-left: auto; margin-right: auto; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s, opacity .3s; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.video .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--shadow-lg); }
.video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink); }
.video .vtitle { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tbl-grid { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .tbl-grid { grid-template-columns: 1fr; } }

/* FEA illustration (pure CSS) on the home analysis feature */
.fea-art { position: relative; min-height: 340px; background: #0b0f1a; color: #fff; }
.fea-mesh { position: absolute; inset: 0; background:
  radial-gradient(ellipse 34% 30% at 62% 46%, rgba(255,60,60,.85) 0%, rgba(255,140,0,.75) 28%, rgba(255,220,0,.55) 48%, rgba(40,220,120,.4) 66%, rgba(30,120,255,.35) 82%, rgba(10,40,120,.2) 100%),
  linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 55% 50%, #000 55%, transparent 100%); }
.fea-legend { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; color: #c7c7cc; }
.fea-legend i { display: block; width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1e4fd8, #28dc78, #ffdc00, #ff8c00, #ff3c3c); }
.fea-tag { position: absolute; right: 22px; top: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; font-family: var(--mono); font-size: .8rem; line-height: 1.4; }
.fea-tag small { color: #a1a1a6; }

/* home: lab tiles (photo + headline number) */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 32px; }
.tile { position: relative; grid-column: span 2; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; background: #0b0f1a; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-align: left; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.tile.wide { grid-column: span 3; }
.tile.xwide { grid-column: span 4; }
.tile.full { grid-column: span 6; min-height: 200px; flex-direction: row; align-items: flex-end; gap: 32px; }
.tile.full .num { font-size: 1.5rem; }
.tile.full p { max-width: 60ch; }
.tiles { grid-auto-rows: minmax(300px, auto); }
.tile.tall { min-height: 380px; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.tile .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover .bg { transform: scale(1.04); }
.tile .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%); }
.tile.nophoto .bg { background: linear-gradient(135deg, #0a5cff, #1d1d1f 70%); }
.tile.t-climatic.nophoto .bg { background: linear-gradient(135deg, #0ea5e9, #0b1220 70%); }
.tile.t-fluid.nophoto .bg { background: linear-gradient(135deg, #14b8a6, #0b1220 70%); }
.tile.t-mechanical.nophoto .bg { background: linear-gradient(135deg, #f59e0b, #1d1d1f 70%); }
.tile.t-emc.nophoto .bg { background: linear-gradient(135deg, #8b5cf6, #1d1d1f 70%); }
.tile.t-nvh.nophoto .bg { background: linear-gradient(135deg, #ec4899, #1d1d1f 70%); }
.tile.t-analysis.nophoto .bg { background: linear-gradient(135deg, #22c55e, #0b1220 70%); }
.tile > * { position: relative; }
.tile .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #cfd8e8; }
.tile .num { white-space: nowrap; font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 4px; }
.tile .num small { font-size: .5em; font-weight: 500; color: #d7deea; letter-spacing: 0; }
.tile h3 { color: #fff; margin: 0 0 6px; font-size: 1.15rem; }
.tile p { margin: 0; color: #d7deea; font-size: .9rem; max-width: 40ch; }
.tile .chips { margin-top: 10px; }
.tile .chip { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.tile .badge { position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255,255,255,.22); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; } .tile, .tile.wide, .tile.xwide { grid-column: span 1; min-height: 260px; } .tile.full { grid-column: span 2; flex-direction: column; align-items: stretch; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* sector cards */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.sector { background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.section:not(.alt) .sector { background: var(--bg-2); box-shadow: none; }
.sector .sicon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #0a5cff, #7c3aed); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(10,92,255,.6); }
.sector .sicon svg { width: 22px; height: 22px; }
.sector h3 { margin: 6px 0 0; font-size: 1.05rem; }
.sector p { margin: 0; color: var(--ink-3); font-size: .92rem; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ── shine pass: glow, glass, gradient borders, gentle motion ─────────── */
.hero { background: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.hero::before { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -12vw; top: -30vw; background: radial-gradient(circle, #9fc0ff 0%, #d7e3ff 45%, transparent 70%); }
.hero::after { width: 50vw; height: 50vw; max-width: 760px; max-height: 760px; right: -15vw; top: -10vw; background: radial-gradient(circle, #e2d4ff 0%, #f0e9ff 45%, transparent 70%); animation-delay: -9s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4vw, 3vw, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
.hero .wrap { z-index: 1; }
.hero h1 em { background: linear-gradient(90deg, #0a5cff 0%, #6d5bff 50%, #b249f8 100%); -webkit-background-clip: text; background-clip: text; }

.spec-card { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.7)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 80px -30px rgba(10,60,160,.35), 0 2px 8px rgba(0,0,0,.04); }

.btn.primary { background: linear-gradient(180deg, #2b74ff 0%, #0a5cff 60%, #0650e6 100%); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -10px rgba(10,92,255,.75); }
.btn.primary:hover { background: linear-gradient(180deg, #3a80ff 0%, #1462ff 60%, #0a55f0 100%); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -10px rgba(10,92,255,.85); }
.btn.ghost { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.75)); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 16px -10px rgba(0,0,0,.25); }

.card, .sector, .step, .job, table.spec { position: relative; background-clip: padding-box; }
.card::before, .sector::before, .step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%, rgba(10,92,255,.10) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.step::before { content: counter(step, decimal-leading-zero); position: static; padding: 0; background: none; -webkit-mask: none; mask: none; }
.alt .card { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--shadow); }
.card.link:hover, .sector:hover { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -20px rgba(10,60,160,.35); }
.card .icon, .sector .sicon { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 10px 20px -10px rgba(10,92,255,.7); background: linear-gradient(145deg, #3d84ff 0%, #0a5cff 45%, #7c3aed 100%); }

.tile { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.08); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.tile .badge { background: rgba(255,255,255,.22); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset; }
.tile:hover { box-shadow: 0 40px 80px -30px rgba(10,60,160,.55), 0 2px 10px rgba(0,0,0,.08); }

.section.alt { background: linear-gradient(180deg, #f7f8fb 0%, #f2f4f8 100%); }
.section.dark { background: radial-gradient(900px 500px at 20% 0%, #14213a 0%, #06090f 60%), #06090f; }
.section.dark .card { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.section.dark .card::before { background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%); }

.stats { position: relative; padding: 18px 0; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,247,250,.9)); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, var(--shadow); }
.stat b { background: linear-gradient(180deg, #0a5cff, #6d5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cta-band { background: radial-gradient(800px 400px at 15% 20%, rgba(10,92,255,.55), transparent 60%), radial-gradient(700px 400px at 90% 90%, rgba(124,58,237,.55), transparent 60%), #0a0c14; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, var(--shadow-lg); }

.search { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 30px -16px rgba(10,60,160,.35); }
table.spec { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, var(--shadow); }
.top { background: rgba(255,255,255,.65); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset; }
footer { background: linear-gradient(180deg, #f5f5f7, #eef0f4); }

/* larger wordmark in the header (and footer) */
.top .wrap { height: 68px; }
.brand img { height: 36px; }
.top .cta { gap: 12px; }
@media (max-width: 1080px) { .top.open .nav { top: 68px; } }
footer .brand img { height: 32px; }

/* ── layered marketing components ─────────────────────────────────────── */
/* full-bleed hero with photo / video — same light, Apple-esque treatment as the rest of the site */
.hero.hero-full { min-height: 72vh; display: flex; align-items: center; }
.hero.hero-full.short { min-height: 54vh; }
.hero.hero-full .wrap { padding-top: 96px; padding-bottom: 88px; text-align: left; justify-items: start; grid-template-columns: 1fr; }
.hero.hero-full .hero-copy { max-width: 720px; }
.hero.hero-full h1 { max-width: 16ch; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero.hero-full .lede { max-width: 58ch; }
.hero.hero-full .actions { justify-content: flex-start; margin-top: 18px; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.10) translate3d(-1.2%, -.8%, 0); } }
.hero-video { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); pointer-events: none; border: 0; }
/* photo/video sits behind a white veil so copy stays ink-on-white; the image reads through on the right */
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 38%, rgba(255,255,255,.55) 68%, rgba(255,255,255,.25) 100%), linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.75)); }
.hero-media:not(.has-photo) .hero-veil { background: radial-gradient(1200px 600px at 50% -10%, #e9f0ff 0%, #f7f9ff 40%, #fff 75%); }
.hero-media:not(.has-photo)::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(10,92,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(10,92,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 10%, #000 10%, transparent 65%); }
.hero.hero-full::before, .hero.hero-full::after { z-index: 1; }
.hero.hero-full .wrap { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-photo-bg { animation: none; } }
.eyebrow.light { color: var(--accent); }
.btn.lg { padding: 15px 28px; font-size: 1.05rem; }
.btn.glass { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset; }
.btn.glass:hover { background: #fff; border-color: var(--ink-4); }

/* doors */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; text-align: left; }
.door { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; overflow: hidden; }
.door::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%, rgba(10,92,255,.14)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.door .dn { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.door h3 { margin: 4px 0 0; font-size: 1.15rem; line-height: 1.25; }
.door p { margin: 0; color: var(--ink-3); font-size: .93rem; }
.door .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent); font-size: .92rem; }
@media (max-width: 1000px) { .doors { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr !important; } }

/* split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel.photo { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.panel.photo:hover { transform: translateY(-4px); text-decoration: none; }
.panel.photo .bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0a5cff, #0b0f1a 70%); background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.panel.photo:nth-child(2) .bg { background: linear-gradient(135deg, #7c3aed, #0b0f1a 70%); background-size: cover; background-position: center; }

.panel.photo:hover .bg { transform: scale(1.04); }
.panel.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.86) 100%); }
.panel-body { position: relative; z-index: 1; padding: 32px; }
.panel-body h2 { color: #fff; margin: 6px 0 8px; }
.panel-body p { color: #d7deea; max-width: 44ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .panel.photo { min-height: 340px; } }

/* stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.story { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.story blockquote { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.story .who { margin: 0; font-size: .82rem; color: var(--ink-3); font-family: var(--mono); }
.story .sum { margin: 0; color: var(--ink-2); font-size: .95rem; }
.story .chip { align-self: flex-start; margin-top: auto; }
.story.big { padding: 0; box-shadow: none; background: transparent; }
.story.big h3 { font-size: 1.5rem; margin: 6px 0 12px; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }
.trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; margin-top: 36px; padding: 26px 30px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.trust-item { display: flex; gap: 18px; align-items: center; }
.trust-item img { height: 92px; }
.trust-item b { display: block; font-size: .98rem; }
.trust-item span { color: var(--ink-3); font-size: .88rem; }
.trust-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.trust-nums b { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: -.03em; background: linear-gradient(180deg, #0a5cff, #6d5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-nums span { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } .trust-nums { grid-template-columns: repeat(2, 1fr); } }

/* sector strip */
.sector-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.sector-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-weight: 500; transition: transform .2s, box-shadow .2s; }
.sector-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.sector-pill .sicon { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(145deg, #3d84ff, #7c3aed); color: #fff; display: grid; place-items: center; }
.sector-pill .sicon svg { width: 17px; height: 17px; }

/* lab cards */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lab-card { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.lab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.lab-card .bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a3a8a, #0b0f1a 75%); background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lab-card:hover .bg { transform: scale(1.05); }
.lab-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.86) 100%); }
.lab-card.eng .bg, .lab-card.t-analysis .bg { background: linear-gradient(135deg, #22c55e, #0b1220 75%); }
.lab-card.t-climatic .bg { background: linear-gradient(135deg, #0ea5e9, #0b1220 70%); }
.lab-card.t-fluid .bg { background: linear-gradient(135deg, #14b8a6, #0b1220 70%); }
.lab-card.t-mechanical .bg { background: linear-gradient(135deg, #f59e0b, #1d1d1f 70%); }
.lab-card.t-emc .bg { background: linear-gradient(135deg, #8b5cf6, #1d1d1f 70%); }
.lab-card.t-nvh .bg { background: linear-gradient(135deg, #ec4899, #1d1d1f 70%); }
.lab-card.t-dynamic .bg { background: linear-gradient(135deg, #0a5cff, #1d1d1f 70%); }
.lab-card[style*="background-image"] .bg, .lab-card .bg[style*="background-image"] { background: none; background-size: cover; background-position: center; }
.lab-card, .panel.photo { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.08); }
.lab-card::before, .panel.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.lab-card:hover, .panel.photo:hover { box-shadow: 0 40px 80px -30px rgba(10,60,160,.55), 0 2px 10px rgba(0,0,0,.08); }
.lab-body { position: relative; z-index: 1; padding: 24px; }
.lab-body .num { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.lab-body .numlabel { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #cfd8e8; margin: 4px 0 10px; }
.lab-body h3 { color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.lab-body p { margin: 0; color: #d7deea; font-size: .92rem; max-width: 36ch; }
.lab-body .more { display: inline-block; margin-top: 10px; font-weight: 600; color: #9fc0ff; font-size: .9rem; }
@media (max-width: 1000px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lab-grid { grid-template-columns: 1fr; } .lab-card { min-height: 280px; } }

/* stat cards, bands, disclosure */
.stat-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.stat-card b { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: -.03em; background: linear-gradient(180deg, #0a5cff, #6d5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { color: var(--ink-3); font-size: .9rem; }
.band { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, #1a3a8a, #0b0f1a 70%); box-shadow: var(--shadow-lg); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.band.nophoto figcaption { color: #cfd8e8; font-family: var(--mono); font-size: .78rem; }
.band.nophoto::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.disclose summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 12px 0; }
.center .lede { text-align: center; }
.story[hidden] { display: none; }
.story .draft-tag { color: var(--signal); font-weight: 600; }
.story a.chip { align-self: flex-start; margin-top: auto; }

/* "Can we test to…" quick check */
.qcheck { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 28px auto 0; max-width: 760px; padding: 8px 8px 8px 18px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.qcheck label { font-weight: 600; white-space: nowrap; color: var(--ink-2); font-size: .95rem; }
.qcheck input { flex: 1; min-width: 200px; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px 6px; background: transparent; color: var(--ink); }
.qcheck .btn { border-radius: 999px; }
.qcheck.lg { margin: 22px 0 0; max-width: 720px; }
.qcheck.lg input { font-size: 1.08rem; }
.qc-out { max-width: 720px; margin-top: 14px; display: grid; gap: 10px; }
.qc-hit { padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.qc-hit.yes { border-left-color: var(--ok); } .qc-hit.none { border-left-color: var(--signal); }
.qc-hit b { display: block; } .qc-hit span { color: var(--ink-3); font-size: .92rem; }
.qc-group { padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.qc-gh { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.qc-group ul { margin: 0; padding-left: 18px; font-size: .92rem; } .qc-group li { margin: 3px 0; } .qc-group em { color: var(--ink-3); font-style: normal; }
@media (max-width: 600px) { .qcheck { border-radius: 22px; } .qcheck label { width: 100%; } }

/* people */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.person { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.person img, .person .ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.person .ph { display: grid; place-items: center; background: linear-gradient(145deg, #3d84ff, #7c3aed); color: #fff; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.person h3 { margin: 0 0 2px; font-size: 1.1rem; } .person .role { color: var(--accent-2); font-size: .88rem; margin: 0 0 8px; font-weight: 600; }
.person p { font-size: .92rem; color: var(--ink-2); margin: 0 0 6px; } .person a { font-size: .85rem; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
/* approvals wall */
.approvals { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 22px; }
.approval { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); position: relative; padding-left: 44px; }
.approval .tick { position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.approval b { font-size: .95rem; } .approval span:not(.tick) { color: var(--ink-3); font-size: .8rem; }
a.approval:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.approvals.compact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.approvals.compact .approval { flex-direction: row; align-items: center; padding: 8px 16px 8px 38px; border-radius: 999px; }
.approvals.compact .approval .tick { left: 10px; top: 8px; width: 20px; height: 20px; }
/* sticky quote button */
.quote-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 12px 30px -10px rgba(10,92,255,.8), 0 1px 0 rgba(255,255,255,.3) inset; transition: transform .2s, box-shadow .2s; }
.quote-fab:hover { text-decoration: none; transform: translateY(-2px); background: var(--accent-2); }
@media (max-width: 600px) { .quote-fab span { display: none; } .quote-fab { padding: 14px; right: 14px; bottom: 14px; } }

/* ── mobile pass (390 px) ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .hero.hero-full { min-height: auto; }
  .hero.hero-full .wrap { padding-top: 56px; padding-bottom: 48px; }
  .hero.hero-full h1 { font-size: clamp(2rem, 9vw, 2.6rem); max-width: none; }
  .hero.hero-full .lede { font-size: 1.05rem; }
  .hero.hero-full .actions .btn { width: 100%; justify-content: center; }
  .btn.lg { padding: 13px 20px; font-size: 1rem; }
  .doors { gap: 12px; margin-top: 24px; }
  .door { padding: 20px 18px 18px; }
  .split .panel.photo { min-height: 260px; }
  .panel-body { padding: 22px; }
  .lab-card { min-height: 240px; }
  .lab-body { padding: 18px; }
  .lab-body .num { font-size: 1.35rem; }
  .stat-card b { font-size: 1.4rem; }
  .qcheck { padding: 10px 12px; border-radius: 22px; }
  .qcheck input { min-width: 0; width: 100%; }
  .qcheck .btn { width: 100%; justify-content: center; }
  .qc-group ul { padding-left: 16px; }
  .trust { padding: 20px 18px; }
  .trust-item img { height: 64px; }
  .trust-nums b { font-size: 1.35rem; }
  .sector-strip { gap: 8px; }
  .sector-pill { padding: 8px 14px 8px 8px; font-size: .92rem; }
  .cta-band { padding: 32px 22px; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band .btn { width: 100%; justify-content: center; }
  table.spec { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .88rem; }
  table.spec th, table.spec td { padding: 10px 12px; white-space: normal; }
  .approvals { grid-template-columns: 1fr 1fr; }
  .people { gap: 12px; }
  .quote-fab { bottom: 16px; }
  footer .wrap { padding-bottom: 72px; }   /* keep the sticky button off the footer links */
  .stories { gap: 12px; }
  .story { padding: 22px; }
  .story blockquote { font-size: 1.1rem; }
}
@media (max-width: 400px) {
  .hero.hero-full h1 { font-size: 2rem; }
  .approvals { grid-template-columns: 1fr; }
}

.enq-grid { grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .enq-grid { grid-template-columns: 1fr; } .enq-grid > aside, .enq-grid > div:last-child { order: 2; } }
