/* Quantified Energy — single stylesheet. No inline styles anywhere (CSP: style-src 'self'). */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("/fonts/chillax.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  /* Fluid scale ported 1:1 from the original quantified-energy.com theme (10px root, 360-1600px viewports) */
  --space-4xs: clamp(0.52rem, calc(0.09vw + 0.5rem), 0.67rem);
  --space-3xs: clamp(0.66rem, calc(0.14vw + 0.61rem), 0.89rem);
  --space-2xs: clamp(0.82rem, calc(0.23vw + 0.75rem), 1.18rem);
  --space-xs: clamp(1.02rem, calc(0.34vw + 0.91rem), 1.58rem);
  --space-s: clamp(1.28rem, calc(0.51vw + 1.12rem), 2.1rem);
  --space-m: clamp(1.6rem, calc(0.75vw + 1.36rem), 2.8rem);
  --space-l: clamp(2rem, calc(1.08vw + 1.65rem), 3.73rem);
  --space-xl: clamp(2.5rem, calc(1.55vw + 2rem), 4.97rem);
  --space-2xl: clamp(3.13rem, calc(2.19vw + 2.42rem), 6.63rem);
  --space-3xl: clamp(3.91rem, calc(3.08vw + 2.92rem), 8.84rem);
  --space-4xl: clamp(4.88rem, calc(4.31vw + 3.5rem), 11.78rem);
  --space-5xl: clamp(6.1rem, calc(6vw + 4.18rem), 15.71rem);
  --text-xs: 1.4rem;
  --text-s: clamp(1.5rem, calc(0.1vw + 1.45rem), 1.65rem);
  --text-m: clamp(1.7rem, calc(0.25vw + 1.55rem), 2rem);
  --text-l: clamp(2rem, calc(0.4vw + 1.85rem), 2.6rem);
  --text-xl: clamp(2.4rem, calc(0.6vw + 2.2rem), 3.4rem);
  --text-2xl: clamp(2.8rem, calc(1vw + 2.5rem), 4.4rem);
  --text-3xl: clamp(3.2rem, calc(1.6vw + 2.6rem), 5.8rem);
  --text-4xl: clamp(3.8rem, calc(2.4vw + 3rem), 7.4rem);
  --font-label: "Chillax", var(--font-body);
  --bg: #070709;
  --bg-2: #0e0e12;
  --bg-3: #16161b;
  --text: #c0c0c0;
  --muted: #8d8d94;
  --heading: #ffffff;
  --primary: #4f2562;
  --primary-hover: #63307a;
  --secondary: #bb6cdf;
  --lime: #b7bc60;
  --border: hsla(274, 14%, 32%, 1);
  --card-bg: linear-gradient(45deg, #1e1f1f, #070709 55%, #070709);
  --radius: 5px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --header-h: 76px;
  --ink: 255 255 255;          /* hairlines and washes: white on night, black on day (z-theme-day.css) */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* author display rules (e.g. .form-group { display: flex }) must not show hidden elements */
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(1.6rem, 1.52rem + 0.25vw, 1.8rem)/1.65 var(--font-body); overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: var(--secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #d29cf0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(3.36rem, 2.24rem + 3vw, 5.44rem); font-weight: 500; }
h2 { font-size: clamp(2.56rem, 1.92rem + 1.6vw, 4rem); font-weight: 600; }
h3 { font-size: clamp(2rem, 1.76rem + .6vw, 2.56rem); font-weight: 500; }
h4 { font-size: 1.76rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .3em 0; }
strong { color: var(--heading); font-weight: 600; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip:focus { top: 8px; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding: clamp(56px, 8vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.center { text-align: center; }
.stack > * + * { margin-top: 1.6rem; }
.lead { font-size: clamp(1.76rem, 1.6rem + .5vw, 2.16rem); color: #d6d6d6; }
.muted { color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--border); margin: clamp(32px, 5vw, 64px) 0; }

/* ------------------------------------------------------------------ type helpers */
.eyebrow { display: block; font: 500 1.312rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin: 0 0 1.28rem; }
.rule { width: 100%; max-width: 260px; height: 1px; background: var(--secondary); border: 0; margin: 2.4rem 0; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.3em; border-radius: var(--radius); background: var(--primary); color: #fff; font: 500 1.6rem/1.2 var(--font-head); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--primary-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--heading); }
.btn--ghost:hover { background: var(--bg-3); border-color: var(--secondary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.4rem; }
.link-arrow { font-family: var(--font-head); text-decoration: none; color: var(--secondary); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 9, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: rgb(var(--ink) / .06); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 128px; height: auto; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font: 400 1.68rem/1 var(--font-head); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--secondary); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--heading); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: stretch; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.header-actions .dash { display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--text); text-decoration: none; font: 400 1.6rem/1 var(--font-head); }
.header-actions .dash:hover { color: #fff; }
.menu-btn { width: 40px; height: 38px; display: grid; place-items: center; border: 0; background: var(--primary); color: #fff; cursor: pointer; }
.menu-btn:hover { background: var(--primary-hover); }
@media (max-width: 960px) { .nav { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 420px) { .header-actions .dash span { display: none; } }

/* Off-canvas menu (works without JS via :target, JS adds focus handling) */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer:target, .drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: var(--bg-2); border-left: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 8px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.drawer:target .drawer__backdrop, .drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer:target .drawer__panel, .drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer__close { color: var(--text); font-size: 2.88rem; line-height: 1; text-decoration: none; padding: 4px 10px; }
.drawer nav a { display: block; padding: 10px 0; color: var(--heading); text-decoration: none; font: 400 2.16rem/1.2 var(--font-head); border-bottom: 1px solid rgb(var(--ink) / .05); }
.drawer nav a:hover { color: var(--secondary); }
.drawer .btn { margin-top: 20px; justify-content: center; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(40px, 6vw, 90px) 0 clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); }
.hero--glow::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; background: radial-gradient(closest-side, rgba(79, 37, 98, .55), transparent); pointer-events: none; }
.hero p { max-width: 34em; }
@media (max-width: 760px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__media { order: -1; } }

/* ------------------------------------------------------------------ cards & features */
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 32px); transition: border-color .3s, transform .3s; }
.card--accent { border-color: var(--secondary); }
.card:hover { border-color: var(--secondary); }
.card h3 { margin-bottom: .5em; }
.card__head { text-align: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 80px); }
.split + .split { border-top: 1px solid var(--border); padding-top: clamp(32px, 5vw, 64px); margin-top: clamp(32px, 5vw, 64px); }
.split__title { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } .split__title { position: static; } }
.feature { margin-bottom: 3.2rem; }
.feature h3 { display: flex; align-items: center; gap: 12px; }
.feature h3::before { content: ""; flex: 0 0 22px; height: 10px; background: var(--lime); transform: skewX(-35deg); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 6px; background: var(--lime); transform: skewX(-35deg); }
.ticks strong { display: block; }
.dots li::marker { color: var(--secondary); }

/* ------------------------------------------------------------------ media */
.frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.frame img { width: 100%; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.logos img { height: 52px; width: auto; opacity: .85; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: none; }
.logos--lg img { height: 80px; }
.stat { text-align: center; }
.stat__num { display: block; font: 600 clamp(3.84rem, 3.2rem + 2vw, 5.76rem)/1 var(--font-head); color: var(--secondary); margin-bottom: .3em; }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px); isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 7, 9, .92), rgba(7, 7, 9, .55)); }
.cta-band p { max-width: 36em; }

/* ------------------------------------------------------------------ accordions (no JS) */
details.more { border-top: 1px solid var(--border); margin-top: 1.6rem; }
details.more > summary { cursor: pointer; list-style: none; padding: 12px 0; color: var(--secondary); font-family: var(--font-head); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+ More"; }
details.more[open] > summary::before { content: "− Less"; }

/* ------------------------------------------------------------------ steps (process) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 clamp(32px, 4vw, 56px) 72px; border-left: 1px solid var(--border); margin-left: 22px; }
.steps > li:last-child { border-left-color: transparent; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: -23px; top: -4px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font: 500 1.6rem/1 var(--font-head); border: 1px solid var(--secondary); }

/* ------------------------------------------------------------------ posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.post-card { display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.post-card:hover { border-color: var(--secondary); transform: translateY(-3px); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.92rem; }
.post-card h3 a { color: var(--heading); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { font-size: 1.52rem; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 1.36rem; color: var(--muted); margin-bottom: 1.28rem; }
.tag { display: inline-block; padding: 2px 10px; border: 1px solid var(--border); border-radius: 99px; color: var(--secondary); font-size: 1.248rem; letter-spacing: .03em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filters button { font: 400 1.52rem/1 var(--font-head); padding: 9px 16px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--primary); border-color: var(--secondary); color: #fff; }
.post-card[hidden] { display: none; }

.article-hero { padding: clamp(32px, 5vw, 72px) 0 24px; }
.article-hero h1 { font-size: clamp(2.88rem, 2.08rem + 2.2vw, 4.48rem); }
.article-cover { margin: 0 0 40px; }
.article-cover img { border-radius: var(--radius); width: 100%; max-height: 560px; object-fit: cover; }

/* Markdown content */
.prose { font-size: 1.68rem; }
.prose h2 { font-size: 2.72rem; margin-top: 2em; }
.prose h3 { font-size: 2.08rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 1.36rem; color: var(--muted); text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--secondary); color: #ddd; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1.52rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--bg-3); color: var(--heading); }
.prose code { background: var(--bg-3); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 500 1.44rem/1.3 var(--font-head); color: var(--heading); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-2); color: var(--heading); font: inherit; font-size: 1.6rem; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(187, 108, 223, .2); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font: 400 1.44rem/1.5 var(--font-body); color: var(--text); }
.form .check input { width: auto; margin-top: 4px; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff8a8a; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid rgb(var(--ink) / .06); padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--bg); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-cta h2 { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 1.36rem; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--heading); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; font-size: 1.36rem; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.anim { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); }
.anim canvas { width: 100%; height: 100%; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.scan { position: relative; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(187, 108, 223, .28), transparent); animation: scan 4.5s ease-in-out infinite; pointer-events: none; mix-blend-mode: screen; }
@keyframes scan { 0% { transform: translateY(-40%); } 100% { transform: translateY(300%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* technology / process / service additions (from tech agent) */
/* Alternate image side on the technology blocks (desktop only; mobile keeps image first) */
@media (min-width: 761px) { .tech-media--right { order: 2; } }
/* Closing drone + solutions button on /technology/ */
.tech-drone { margin: 0 auto 8px; max-width: min(560px, 100%); }
.tech-center { justify-content: center; }

/* home / company / solutions additions */
/* centered button row (home "View Solutions", company "Contact our experts") */
.btn-row--center { justify-content: center; }

/* home hero: panel image sits under the floating drone */
.hero__media .float + img { margin-top: -8%; }

/* home bottleneck heading: subtitle span inside the h3 */
h3 .eyebrow { margin: 0.64rem 0 0; text-transform: none; letter-spacing: 0; font-size: 1.6rem; }

/* home split titles carry a decorative icon under the h2 */
.split__title img { max-width: 220px; margin-top: 2.4rem; }

/* company team cards are <figure class="card"> */
figure.card { margin: 0; }
figure.card img { border-radius: var(--radius); margin: 0 auto 1.6rem; }

/* company: space between investor logos and the text/chart row; logos are links */
.logos + .grid-2 { margin-top: clamp(32px, 5vw, 56px); }
.logos a { display: block; }

/* company: HQ/branch list rendered as <ul class="grid-3 ticks"> */
ul.grid-3 { margin-top: 3.2rem; }

/* solutions: Request Demo button below the details accordion; stats chart under the stat cards */
.split details.more + .btn { margin-top: 0.8rem; }
.stat + .stat, .grid-3 + .reveal > img { margin-inline: auto; }
.grid-3 + .reveal { margin-top: 3.2rem; }

/* ================================================================== QE Motion Library animations
   Canvas motions extracted from the QE Motion Library by migration/extract-anim.mjs and played by
   public/js/qem/player.js (16:9, 1920x1080 logical). Mount markup: components.mjs anim() / motion().
   The player adds .anim--qem to the mount, .is-ready after the first frame and .is-done when a
   play-once motion (the home hero) rests on its last frame. */
.anim--wide { aspect-ratio: 16 / 9; }
.anim--qem { background: var(--bg); }
.anim--qem canvas { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .5s ease; }
.anim--qem.is-ready canvas { opacity: 1; }
/* static fallback inside a mount (no JS, or until the first frame); the box is reserved by aspect-ratio */
.anim__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6% 10%; }
.anim--qem.is-ready .anim__fallback { visibility: hidden; transition: visibility 0s .5s; }
.anim--hero > .anim__fallback { object-fit: cover; padding: 0; }

/* home hero: full-width m01 logo sting on top, headline and lead below */
.hero-stage { position: relative; padding-bottom: clamp(48px, 7vw, 110px); }
/* The sting fills the full width and melts into the page: no box, no border; it is cropped to a wide band
   (the canvas stays 16:9 and is centred, overflow hidden) and every edge fades into the page background. */
/* The band leaves room for the headline and CTA on the first screen (about 470 px tall at 1440 x 900). When the
   sting is cropped top and bottom, it shifts down by 22 % of the cropped height so the logo and tagline,
   which sit above the centre of the frame, stay in the middle of the band. */
.hero-stage__motion { --hero-h: clamp(300px, 56.25vw, max(420px, calc(100svh - var(--header-h) - 24rem))); position: relative; overflow: hidden; height: var(--hero-h); background: var(--bg); }
.anim--hero { position: absolute; left: 50%; top: 50%; width: max(100%, calc(var(--hero-h) * 16 / 9)); min-width: 0; aspect-ratio: 16 / 9; transform: translate(-50%, -50%);
  margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.hero-stage__motion::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg), transparent 14%, transparent 86%, var(--bg)),
              linear-gradient(180deg, var(--bg), transparent 12%, transparent 78%, var(--bg)); }
.hero-stage__text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.hero-stage__text h1 { margin: 0; }
.hero-stage__text .lead { margin: 0; max-width: 32em; }
@media (max-width: 860px) { .hero-stage__text { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; } }
/* logo watermark in the hero band (review R-21): small, top right, above the edge fades */
.hs-mark { position: absolute; z-index: 2; top: clamp(14px, 4%, 32px); right: max(var(--gutter, 20px), calc(50% - var(--wrap, 1200px) / 2)); width: clamp(88px, 9vw, 128px); height: auto; opacity: .75; pointer-events: none; }
/* The sting (src/pages/home.mjs): GPU-drawn field (canvas.hs-gl) under logo parts animated by CSS, ~5 s.
   Base styles are the final frame, so reduced motion (and browsers without animations) just show it. */
.hero-sting { container-type: inline-size; overflow: hidden; background: #010101; }
.hero-sting > img, .hs-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-sting.is-gl .hs-sky { visibility: hidden; }
.hs-logo { position: absolute; left: 26.589%; top: 22.357%; width: 46.875%; aspect-ratio: 1640 / 432; }
.hs-part { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-bar { position: absolute; left: 46.354%; top: 50.42%; width: 7.292%; height: max(2px, .28%); background: #bb6cdf; }
.hs-line { position: absolute; left: max(4%, calc(50% - 50vw + 20px)); right: max(4%, calc(50% - 50vw + 20px)); top: 53.9%; margin: 0; isolation: isolate;
  text-align: center; text-wrap: balance; overflow-wrap: break-word; font: 500 max(2.292cqw, 14px)/1.25 var(--font-body); color: #fff; letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 .6em rgba(0, 0, 0, .85), 0 0 1.4em rgba(0, 0, 0, .6); }
/* dark scrim behind the tagline: the lit module field under it is almost white */
.hs-line::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(100%, 52em); height: 3.4em; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(4, 3, 8, .82), rgba(4, 3, 8, .6) 55%, rgba(4, 3, 8, 0)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  /* the still only fades in if the GPU field has not taken over by then */
  .hs-sky { animation: hs-sky 1s ease 1.2s backwards; }
  .hs-ring { animation: hs-ring .67s cubic-bezier(.87, 0, .13, 1) 1.8s backwards; }
  .hs-t1 { animation: hs-drop .37s cubic-bezier(.34, 1.56, .64, 1) 2.3s backwards; }
  .hs-t2 { animation: hs-drop .37s cubic-bezier(.34, 1.56, .64, 1) 2.4s backwards; }
  .hs-w1 { --hs-l: 29%; animation: hs-wipe .57s cubic-bezier(.16, 1, .3, 1) 2.57s backwards; }
  .hs-w2 { --hs-l: 30%; animation: hs-wipe .57s cubic-bezier(.16, 1, .3, 1) 2.67s backwards; }
  .hs-bar { animation: hs-bar .6s cubic-bezier(.16, 1, .3, 1) 3.07s backwards; }
  .hs-line { animation: hs-rise .6s cubic-bezier(.2, .7, .3, 1) 3.2s backwards; }
  /* after the sting: a slow glow breathes once behind the logo */
}
.hero-sting.hs-reset, .hero-sting.hs-reset *, .hero-sting.hs-reset::after { animation: none !important; }
@property --hs-sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.hs-ring { -webkit-mask: conic-gradient(from 138.6deg at 11.4% 45.4%, #000 var(--hs-sweep), transparent 0); mask: conic-gradient(from 138.6deg at 11.4% 45.4%, #000 var(--hs-sweep), transparent 0); }
@keyframes hs-sky { from { opacity: 0; } }
@keyframes hs-ring { from { --hs-sweep: 0deg; } }
@keyframes hs-drop { from { opacity: 0; transform: translate(-9.5%, -52.2%); } 33% { opacity: 1; } }
@keyframes hs-wipe { from { opacity: 0; clip-path: inset(-10% calc(100% - var(--hs-l)) -10% var(--hs-l)); transform: translateX(-4.4%); } 50% { opacity: 1; } to { clip-path: inset(-10% -2% -10% var(--hs-l)); } }
@keyframes hs-bar { from { transform: scaleX(0); } }
@keyframes hs-rise { from { opacity: 0; transform: translateY(40%); } }
@keyframes qem-idle { 50% { opacity: 1; } }

/* captioned motions in page sections */
.motion { margin: 0; }
.motion figcaption { margin-top: 12px; font-size: 1.44rem; color: var(--muted); text-align: left; max-width: 72ch; }
.motion-band { margin-top: clamp(32px, 4vw, 56px); }
.motion-band--top { margin-top: 0; margin-bottom: clamp(32px, 4vw, 56px); }
.motion + .ticks { margin-top: clamp(24px, 4vw, 40px); }


/* ================================================================== Original design scale
   Type, spacing and component sizes mapped onto the original theme's tokens (see :root), so the site
   scales with the viewport exactly like the WordPress version did. */
html { font-size: 62.5%; }
body { font-size: var(--text-m); line-height: 1.3; }
p, li { line-height: 1.3; }
h1 { font-size: var(--text-3xl); line-height: 1.25; font-weight: 500; }
h2 { font-size: var(--text-2xl); font-weight: 500; }
h3 { font-size: var(--text-xl); font-weight: 500; line-height: 1.25; }
h4 { font-size: var(--text-l); font-weight: 500; }
.hero-stage__text h1, .hero:first-child h1 { font-size: var(--text-4xl); }
.lead { font-size: var(--text-m); color: var(--text); }
.wrap { max-width: calc(1920px + 2 * var(--space-5xl)); padding: 0 var(--space-5xl); }
.wrap--narrow { max-width: calc(1000px + 2 * var(--space-5xl)); }
.section { padding: var(--space-3xl) 0; }
.section--tight { padding: var(--space-2xl) 0; }
.section__head { max-width: 900px; margin-bottom: var(--space-4xl); }
@media (max-width: 991px) { .wrap { padding: 0 var(--space-3xl); } }
@media (max-width: 478px) { h1, .hero-stage__text h1 { font-size: var(--text-3xl); } }

/* labels: the original uses Chillax for eyebrows, card links and form labels */
.eyebrow { font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; margin-bottom: var(--space-s); }
.link-arrow { font: 500 var(--text-s)/1.3 var(--font-label); }

/* header */
:root { --header-h: clamp(88px, 1.9vw + 80.6px, 112px); }
.logo img { width: clamp(120px, 5vw + 90px, 175px); }
.nav { gap: var(--space-l); }
.nav a { font-size: var(--text-m); }
.header-actions .dash { height: 4rem; padding: 0 1.4rem 0 1.3rem; font-size: var(--text-m); gap: 8px; }
.header-actions .dash:hover { background: var(--secondary); color: #fff; }
.menu-btn { width: auto; height: 4rem; padding: 0 1.3rem; }

/* buttons */
.btn { font: 600 var(--text-m)/1.3 var(--font-head); padding: var(--space-xs) var(--space-s); border-radius: 5px; }
.btn:hover { background: var(--secondary); }
.btn-row { margin-top: var(--space-2xl); }

/* cards ("How can we help" etc.): secondary border, title band with divider */
.card { border-color: var(--secondary); background: var(--bg); padding: var(--space-l); }
.card__head { padding: 0 0 var(--space-l); margin: 0 calc(-1 * var(--space-l)) var(--space-l); border-bottom-color: var(--secondary); }
.card__head h3, .card > h3 { font-size: var(--text-xl); }
.feature h3 { font-size: var(--text-xl); line-height: 1.3; margin-bottom: var(--space-m); }
.feature h3::before { flex-basis: 3rem; height: 1.2rem; }
.split { gap: var(--space-4xl); }
.split + .split { padding-top: var(--space-4xl); margin-top: var(--space-4xl); }
.split__title h2 { font-size: var(--text-2xl); }

/* news / resources cards */
.post-grid { gap: var(--space-xl); }
.post-card { border-color: #1e1f1f; }
.post-card h3 { font-size: var(--text-l); line-height: 1.3; }
.post-card p { font-size: var(--text-s); line-height: 1.4; }
.post-card__body { padding: var(--space-m); gap: var(--space-xs); }
.meta { font-size: var(--text-s); }
.tag { font-size: var(--text-xs); }
.filters button { font-size: var(--text-s); padding: var(--space-3xs) var(--space-s); }
.article-hero h1 { font-size: var(--text-3xl); }
.prose { font-size: var(--text-m); }
.prose p, .prose li { line-height: 1.5; }
.prose h2 { font-size: var(--text-2xl); }
.prose h3 { font-size: var(--text-xl); }
.prose h4 { font-size: var(--text-l); }

/* forms: secondary outlines and Chillax labels like the original */
.form { gap: var(--space-s); }
.form label { font: 500 var(--text-xs)/1.3 var(--font-label); text-transform: uppercase; letter-spacing: .5px; color: var(--secondary); }
.form input, .form select, .form textarea { font-size: var(--text-s); border-color: var(--secondary); border-radius: var(--space-2xs); background: transparent; padding: .8rem 2rem; }
.form textarea { min-height: 16rem; }
.form .check { font-size: var(--text-xs); line-height: 1.25; text-transform: none; letter-spacing: 0; color: var(--text); }

/* footer: gradient and the purple bottom bar */
.site-footer { background: linear-gradient(180deg, var(--bg), hsla(200, 9.68%, 12.16%, 1)); border-bottom: 1.7rem solid var(--primary); padding: 5rem 0 4rem; }
.footer-grid a { font-size: var(--text-s); color: var(--heading); line-height: 1.3; }
.footer-grid li { margin: .6rem 0; }
.footer-grid h4 { font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; }
.footer-bottom { font-size: var(--text-xs); }
.footer-cta h2 { font-size: var(--text-2xl); }

/* motion captions */
.motion figcaption { font-size: var(--text-s); }
.section__head h2, .footer-cta h2 { font-size: var(--text-3xl); }
.h-intro { font-size: var(--text-l); font-weight: 700; line-height: 1.46; }

/* Section motions blend into the page like the hero: no frame, no box, all four edges feathered. */
.anim--wide:not(.anim--hero) { border: 0; border-radius: 0; box-shadow: none; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 88%, transparent);
  mask-composite: intersect; }
/* Light-theme motions (player.js adds .anim--light from the motion's theme): a feather would fade their pale
   background into a blurry halo over the dark page and wash out labels at the edges, so they get a clean frame. */
.anim--wide.anim--light:not(.anim--hero) { -webkit-mask-image: none; mask-image: none; border: 1px solid rgb(var(--ink) / .08); border-radius: var(--radius); background: #f6f5f8; }
/* Phones: 16:9 motions shrink to under 300 px inside the gutter, so the canvas runs to the screen edges
   (the negative margin equals the .wrap gutter below 992 px); the caption stays inside the gutter. */
@media (max-width: 767px) {
  .motion > .anim--wide:not(.anim--hero) { width: auto; margin-inline: calc(-1 * var(--space-3xl)); }
  .motion > .anim--wide.anim--light:not(.anim--hero) { border-radius: 0; border-inline: 0; }
}

/* Global fixes from the page-by-page comparison */
:root { --space-6xl: clamp(7.63rem, calc(8.32vw + 4.97rem), 20.94rem); }
p, li { line-height: 1.6; }                       /* live body copy: 38.2px on 22.47px */
.lead, .hero-stage__text .lead, .card li, .ticks li { line-height: 1.3; }
.btn { padding: .48em .825em; border: 0; letter-spacing: .5px; }  /* live: ~51px tall at 1440 */

/* Language switcher (footer and menu) */
.verify-embed { padding: 0 0 var(--space-l, 4rem); }
.verify-embed__frame { display: block; width: 100%; height: 44rem; border: 0; background: transparent; color-scheme: dark; }
.lang-switch details { display: inline-block; }
.lang-icon { flex: none; width: 1.8rem; height: 1.8rem; }
.lang-switch a { display: inline-flex; align-items: center; gap: .8rem; }
/* in the menu, beat `.drawer nav a` (block links in the large menu font) */
.drawer .lang-switch a { display: inline-flex; align-items: center; gap: .8rem; padding: .4rem 0; border: 0; font: 400 var(--text-s)/1.3 var(--font-body); }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: .8rem; cursor: pointer; padding: .5rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-xs); font: 400 var(--text-s)/1.3 var(--font-body); color: var(--text); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2rem) rotate(45deg); transition: transform .2s; }
.lang-switch details[open] summary::after { transform: translateY(.2rem) rotate(-135deg); }
.lang-switch summary:hover { color: var(--heading); }
.lang-switch ul { display: flex; flex-direction: column; gap: .4rem; list-style: none; margin: .8rem 0 0; padding: 0; }
.lang-switch a { font: 400 var(--text-s)/1.3 var(--font-body); color: var(--text); text-decoration: none; }
.lang-switch a:hover { color: var(--heading); }
.lang-switch a[aria-current] { color: var(--secondary); font-weight: 600; }
.footer-main .lang-switch { margin-top: var(--space-m); }
.drawer .lang-switch { margin-top: var(--space-m); }
.drawer .lang-switch { display: flex; justify-content: center; }
.drawer .lang-switch ul { align-items: center; }
/* Japanese: break headings between phrases, not between any two characters (Chromium 119+; others ignore it) */
:lang(ja) :is(h1, h2, h3, h4, .lead) { word-break: auto-phrase; }
/* German: long compounds hyphenate instead of overflowing narrow columns and cards */
:lang(de) :is(h1, h2, h3, h4, h5, h6, li, dt, dd, figcaption, .eyebrow) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Whitepaper request form (post pages with a pdf) */
.request-form { margin-top: var(--space-l); padding: var(--space-m); border: 1px solid var(--secondary); border-radius: var(--space-2xs); }
.request-form__title { margin: 0; font-size: var(--text-l); }
.request-form__lead { margin: 0 0 var(--space-xs); }
.request-form .form-foot { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; justify-content: space-between; }
.request-form .form-group[hidden], .request-form .form-foot[hidden], .request-form__lead[hidden] { display: none; }
.request-form__download { margin-top: var(--space-xs); }

/* Embedded motions (one rule for every page): the figure takes the content width of its column, capped at
   1280 px and centred in the content column. The motion ground is the page colour
   (player.js siteGround), so there is no box, frame, glow or edge feather. Captions are left-aligned. */
.motion-band .motion, .motion-band > .motion { max-width: 1280px; margin-inline: auto; }
.theme-video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg-2); }
.anim--wide:not(.anim--hero) { -webkit-mask-image: none; mask-image: none; }
/* Step slider over a motion's drawn timeline (player.js stepper): transparent hit area, focus ring for keyboard */
.anim--steps { position: relative; }
.anim-steps { position: absolute; z-index: 2; cursor: pointer; touch-action: pan-y; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.anim-steps:focus { outline: none; }
.anim-steps:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; }

/* Portrait hero photo (Solutions, Process): on desktop the photo fills a near-square frame at the full hero height on the
   right, starting close to the middle of the page, with a clean vertical edge (same as the Technology hero). The crop keeps
   the drone, the Milky Way and the trackers in view. On tablet and phone it is the hero's background behind the text,
   under the same dark overlay as every other hero (in a block of its own below the text it took more than a screen). */
@media (min-width: 992px) {
  .hero-portrait .qa-hero__media, .hero-portrait .b-hero__img { left: auto; width: auto; aspect-ratio: 1 / 1; max-width: 50%; background: none; }
  .hero-portrait .qa-hero__media::before, .hero-portrait .b-hero__img::before { content: none; }
  .hero-portrait .qa-hero__media img, .hero-portrait .b-hero__img img { object-position: 50% 62%; }
  .hero-portrait .b-hero__img img[src*="process-hero"] { object-position: 50% 55%; }
  /* Every side-photo hero (Technology, Process, Service): clean vertical edge between the text side and the photo, no fade,
     photo at full brightness (user rule). Tablet and phone keep their overlay where text sits on the photo. */
  .b-hero .b-hero__img::before { content: none; }
}
@media (max-width: 991px) {
  .hero-portrait .qa-hero__media img { object-position: 70% 30%; }   /* Solutions: the drone, high on the right */
}

/* ==================================================================== Home / Company / Solutions
   Section layouts ported from the original Bricks theme (home-*, audience-*, benefits-*, company-*,
   solutions-*, service-item rules; breakpoints 991 / 767 / 478 px). Page-scoped classes only. */
:root {
  --space-6xl: clamp(7.63rem, calc(8.32vw + 4.97rem), 20.94rem);
  --bg-box-dark: #1e1f1f;
  --qe-gradient-bl: linear-gradient(45deg, var(--bg-box-dark), var(--bg), var(--bg));
  --qe-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 14'%3E%3Cpath fill='%23B6BC60' fill-rule='evenodd' d='M23 0H7.811L4.339 6.222H19.528L23 0ZM18.66 7.778H3.472L0 14H15.189L18.66 7.778Z'/%3E%3C/svg%3E");
  --qe-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M1 1L25 25L49 1' stroke='%23BB6CDF' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* shared: section header with the Chillax label above the heading (original .subtitle--no-line) */
.hp-head { display: flex; flex-direction: column; margin-bottom: var(--space-2xl); }
.hp-head h2 { font-size: var(--text-3xl); margin: 0; overflow-wrap: break-word; hyphens: auto; }
.hp-head .eyebrow { order: -1; margin: 0; }
.hp-head--center { align-items: center; text-align: center; margin-bottom: 0; }
.hp-line { width: 100%; height: 0; border: 0; border-top: 2px solid var(--secondary); margin: 0; }

/* shared: purple CTA strip (original .solutions-cta) */
.qe-cta-strip { position: relative; padding: var(--space-2xl) 0; background: var(--bg-box-dark) url("/media/home-cta-2.webp") center / cover no-repeat; isolation: isolate; }
.qe-cta-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--primary), rgba(0, 0, 0, 0)); }
.qe-cta-strip__row { display: flex; justify-content: space-between; align-items: center; column-gap: var(--space-3xl); row-gap: var(--space-2xl); }
.qe-cta-strip__title { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; font: 600 var(--text-xl)/1.3 var(--font-head); color: var(--heading); }
.qe-cta-strip__title span { color: var(--secondary); }
.qe-cta-strip__btn { flex-shrink: 0; display: inline-flex; align-items: center; padding: 0.5em 1em; border-radius: 5px; background: #fff; color: var(--primary); font: 600 var(--text-m)/1.3 var(--font-head); letter-spacing: .5px; text-decoration: none; transition: background .2s, color .2s; }
.qe-cta-strip__btn:hover { background: var(--secondary); color: #fff; }
@media (max-width: 767px) {
  .qe-cta-strip__row { flex-direction: column; justify-content: center; text-align: center; }
  .qe-cta-strip__title { justify-content: center; }
}
@media (max-width: 478px) { .qe-cta-strip__title { font-size: var(--text-2xl); } }

/* ------------------------------------------------------------------ HOME */
/* hero text under the sting: stacked like the original hero column */
/* the original's bottom-left glow, faded out above the text so it never meets the sting's edge */
.hp-hero { background-image: linear-gradient(180deg, var(--bg) 62%, rgba(7, 7, 9, 0) 96%), var(--qe-gradient-bl); padding-bottom: var(--space-3xl); }
.hp-hero { padding-bottom: var(--space-2xl); }
.hp-hero .hero-stage__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xl); margin-top: clamp(16px, 2vw, 32px); }
.hp-hero .hero-stage__text h1 { max-width: min(100%, 80rem); text-wrap: balance; }
.hp-hero__aside { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-l); }
.hp-hero .hero-stage__text .lead { max-width: 45rem; line-height: 1.3; }
@media (max-width: 1366px) { .hp-hero .hero-stage__text h1 { font-size: var(--text-3xl); } }
/* wide screens: headline left, lead and CTA right, so both sit on the first screen under the sting */
@media (min-width: 992px) {
  .hp-hero .hero-stage__text { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; column-gap: var(--space-4xl); }
  .hp-hero__aside { padding-top: .6rem; }
}

/* proof points: four facts in a row under the hero */
.hp-proof { margin-top: var(--space-2xl); }
.hp-proof__row { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: var(--space-l); margin: 0; padding: var(--space-l) 0 0; list-style: none; border-top: 1px solid rgb(var(--ink) / .12); }
.hp-proof__item { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.hp-proof__item strong { font: 600 var(--text-xl)/1.15 var(--font-head); color: var(--heading); overflow-wrap: break-word; }
.hp-proof__item span { font-size: var(--text-s); line-height: 1.4; color: var(--muted); }
@media (max-width: 991px) { .hp-proof__row { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; row-gap: var(--space-xl); } }
@media (min-width: 1200px) { .hp-proof__item span { white-space: nowrap; } }

/* intro: text left, m06 zoom (plant, module, cell) right over the plant photo */
.hp-intro { position: relative; padding: var(--space-5xl) 0; background: url("/media/home-intro.webp") top right / 50% 100% no-repeat; }
.hp-intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg), var(--bg) 45%, rgba(7, 7, 9, 0)); }
.hp-intro__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-4xl); }
.hp-intro__text { display: flex; flex-direction: column; row-gap: 6rem; }
.hp-intro__text .h-intro { margin: 0; }
.hp-intro__text p { line-height: 1.6; margin: 0 0 1.2em; }
.hp-intro__text p:last-child { margin-bottom: 0; }
.hp-intro__chart-title { font: 700 var(--text-m)/1.6 var(--font-body); color: var(--heading); margin: 0; }
.hp-intro__chart-desc { font-size: var(--text-s); line-height: 1.6; margin: 0; }
.hp-intro__motion { margin-top: var(--space-m); }
.hp-intro__motion .anim { background: #040405; }
.hp-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-m); margin: var(--space-m) 0 0; padding: 0; list-style: none; counter-reset: lvl; }
.hp-levels li { display: flex; flex-direction: column; gap: .4rem; padding-top: var(--space-xs); border-top: 2px solid var(--secondary); counter-increment: lvl; min-width: 0; }
.hp-levels strong { font: 600 var(--text-m)/1.2 var(--font-head); color: var(--heading); }
.hp-levels strong::before { content: counter(lvl, decimal-leading-zero) " "; color: var(--secondary); }
.hp-levels span { font-size: var(--text-s); line-height: 1.4; color: var(--muted); }
@media (max-width: 478px) { .hp-levels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991px) {
  .hp-intro { background-size: 100%; background-position: bottom center; }
  .hp-intro__grid { display: flex; flex-direction: column; }
}

/* customer logos: label left, logo grid right */
.hp-logos { padding: var(--space-4xl) 0; }
.hp-logos__row { display: flex; align-items: center; column-gap: var(--space-4xl); row-gap: var(--space-xl); }
.hp-logos__title { flex: 0 0 auto; max-width: 27rem; margin: 0; line-height: 1.3; text-wrap: balance; }
.hp-logos__grid { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px; align-items: center; }
.hp-logos__grid img { width: 100%; height: 84px; object-fit: contain; }
@media (max-width: 991px) { .hp-logos__row { flex-direction: column; align-items: flex-start; } .hp-logos__grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 478px) { .hp-logos__grid { gap: 30px; } }

/* "How can we help you?" over the dimmed field photo */
.hp-help { position: relative; padding: var(--space-5xl) 0 calc(2 * var(--space-4xl)); background: url("/media/company-cta.webp") center / cover no-repeat; isolation: isolate; }
.hp-help::before { content: ""; position: absolute; inset: 0; z-index: -1; background: hsla(240, 14%, 3%, .5); }
.hp-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin: var(--space-4xl) auto 0; max-width: 1500px; }
.hp-help__card { display: flex; flex-direction: column; background: var(--qe-gradient-bl); background-color: var(--bg); border: 1px solid var(--secondary); border-radius: 5px; }
.hp-help__title { margin: 0; padding: var(--space-l); border-bottom: 1px solid var(--secondary); font-size: var(--text-xl); line-height: 1.25; text-align: center; }
.hp-help__list { margin: 0; padding: var(--space-l) var(--space-l) var(--space-l) calc(var(--space-l) + 1.3em); list-style: disc; line-height: 1.3; }
.hp-help__list li { margin: 0 0 13px; overflow-wrap: break-word; hyphens: auto; }
.hp-help__btn { margin-top: var(--space-3xl); }
@media (min-width: 992px) and (max-width: 1600px) { .hp-help__title { min-height: 15.1rem; display: grid; align-items: center; } }
@media (max-width: 991px) { .hp-help__grid { display: flex; flex-direction: column; max-width: 600px; row-gap: var(--space-4xl); } }

/* benefits: heading + layered illustration left, lime-bullet features right */
.hp-benefits { padding: var(--space-4xl) 0; }
.hp-benefit { display: flex; column-gap: var(--space-4xl); row-gap: var(--space-2xl); padding-bottom: var(--space-4xl); margin-bottom: var(--space-4xl); border-bottom: 1px solid var(--border); }
.hp-benefit:last-of-type { border-bottom: 0; margin-bottom: 0; }
.hp-benefit__side { flex: 0 0 max(30%, 40rem); }
.hp-benefit__side h2 { font-size: var(--text-2xl); margin: 0 0 var(--space-m); text-wrap: balance; }
.hp-benefit__side .eyebrow { margin: 0; line-height: 1.6; }
.hp-benefit__art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hp-benefit__art img { position: absolute; max-height: 100%; object-fit: contain; }
.hp-benefit__bottom { z-index: 1; left: 0; width: 100%; }
.hp-benefit__middle { z-index: 2; }
.hp-benefit__top { z-index: 3; animation: hp-float 6s ease-in-out 1; } /* plays once (site rule: no looping motion) */
.hp-benefit--1 .hp-benefit__bottom, .hp-benefit--1 .hp-benefit__middle { top: 36.3%; left: 0; width: 100%; }
.hp-benefit--1 .hp-benefit__top { top: 30%; left: 50%; width: 50%; }
.hp-benefit--2 .hp-benefit__bottom { bottom: 0; }
.hp-benefit--2 .hp-benefit__middle { bottom: 20%; left: 25%; width: 50%; }
.hp-benefit--2 .hp-benefit__top { top: 59%; left: 34%; width: 31%; animation-name: hp-needle; transform-origin: 50% 50%; }
.hp-benefit--3 .hp-benefit__bottom { bottom: 0; }
.hp-benefit--3 .hp-benefit__top { top: 30%; left: 22%; width: 25%; }
@keyframes hp-float { 50% { transform: translate(-10px, -11px); } }
@keyframes hp-needle { 50% { transform: rotate(18deg); } }
.hp-benefit__list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 55px; }
.hp-bullet h3 { display: flex; align-items: flex-start; column-gap: 1.1rem; margin: 0 0 23px; font: 400 var(--text-xl)/1.3 var(--font-body); color: var(--heading); min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.hp-bullet h3::before { content: ""; flex: 0 0 3rem; height: 1.8rem; margin-top: var(--space-xs); background: var(--qe-bullet) center / contain no-repeat; }
.hp-bullet p { margin: 0; line-height: 1.6; }
@media (max-width: 991px) { .hp-benefit { flex-direction: column; } .hp-benefit__side { flex-basis: auto; } .hp-benefit__art { max-width: 40rem; } }
@media (max-width: 478px) { .hp-bullet h3::before { margin-top: 0.6rem; } }

/* corporate news: one featured card */
.hp-news { padding: var(--space-5xl) 0; }
.hp-news__card { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-2xl); border: 1px solid var(--secondary); border-radius: 5px; overflow: hidden; }
.hp-news__img { overflow: hidden; background: var(--bg-3); }
.hp-news__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease-in-out; }
.hp-news__card:hover .hp-news__img img { transform: scale(1.05); }
.hp-news__info { display: flex; flex-direction: column; justify-content: center; padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) 0; }
.hp-news__info .eyebrow { margin: 0 0 var(--space-xs); }
.hp-news__info h3 { font-size: var(--text-l); line-height: 1.3; margin: 0 0 var(--space-xs); }
.hp-news__info h3 a { color: var(--heading); text-decoration: none; }
.hp-news__info h3 a::after { content: ""; position: absolute; inset: 0; }
.hp-news__info p { line-height: 1.6; margin: 0 0 var(--space-m); }
.hp-news__info .link-arrow { font-family: var(--font-head); }
.hp-news__all { margin: var(--space-2xl) 0 0; text-align: center; }
@media (max-width: 767px) {
  .hp-news__card { grid-template-columns: minmax(0, 1fr); }
  .hp-news__img img { aspect-ratio: 3 / 2; }
  .hp-news__info { padding: 0 var(--space-2xl) var(--space-2xl); }
}

/* ------------------------------------------------------------------ shared: Company / Solutions */
/* page hero (original .hero-default): label + title + rule left, photo bleeding the right half */
.qa-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100dvh - var(--header-h), 80rem - var(--header-h)); padding: calc(20rem - var(--header-h)) 0 var(--space-3xl); }
.qa-hero::before { content: ""; position: absolute; left: 0; top: 0; z-index: -1; width: 75vw; height: 100%; background: linear-gradient(312.28deg, #010101 34.33%, #24292c 76.94%); opacity: .8; }
.qa-hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; row-gap: 4rem; align-items: flex-start; width: calc(50% + var(--space-5xl) / 2 - var(--space-3xl) - var(--space-4xl)); }
.qa-hero__label { padding-bottom: .5rem; border-bottom: 2px solid var(--secondary); font: 500 var(--text-m)/1.6 var(--font-label); color: var(--secondary); }
.qa-hero h1 { width: 100%; margin: 0; font-size: var(--text-2xl); }
.qa-hero__rule { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--border); }
.qa-hero__text p { margin: 0; line-height: 1.6; }
.qa-hero__text .btn-row { margin-top: var(--space-m); }
.qa-hero__media { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; right: 0; background: var(--border); }
.qa-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
  .qa-hero { min-height: 0; padding-bottom: var(--space-5xl); }
  .qa-hero::before { width: 100%; opacity: .5; background: linear-gradient(312.28deg, #010101 34.33%, #24292c 76.94%, transparent 100%); }
  .qa-hero__text { width: 100%; }
  .qa-hero__media { left: 0; }
  .qa-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, hsla(240, 14%, 3%, .5) 60%, transparent 70%); }
}
/* mobile: the description leaves the photo and sits on a plain band below it (original .hero-description-mobile) */
@media (max-width: 991px) {
  .qa-hero:has(.qa-hero__desc) { padding-bottom: 0; }
  .qa-hero__text .qa-hero__desc { position: relative; z-index: 2; align-self: stretch; margin: -4rem calc(-1 * var(--space-3xl)) 0; padding: 4rem var(--space-3xl) var(--space-3xl); background: var(--bg); }
}
@media (max-width: 767px) { .qa-hero__media::before { background: linear-gradient(90deg, hsla(240, 14%, 3%, .9), hsla(240, 14%, 3%, .8) 80%, rgba(0, 0, 0, 0)); } }

/* section head: Chillax label, then a bold title line (original .subtitle--no-line + .h3-text) */
.qa-head { display: flex; flex-direction: column; row-gap: var(--space-m); max-width: 80rem; }
.qa-head .qa-head__label { order: -1; margin: 0; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--secondary); }
.qa-head .qa-head__title { margin: 0; font: 600 var(--text-xl)/1.3 var(--font-head); color: var(--heading); text-wrap: wrap; }
.qa-head p:not(.qa-head__title):not(.qa-head__label) { margin: 0; line-height: 1.6; }

/* lime double-stripe bullets */
.qa-bullets { list-style: none; padding: 0; margin: 0; }
.qa-bullets li { position: relative; padding-left: 40px; margin: 0 0 1rem; line-height: 1.6; }
.qa-bullets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 23px; height: 14px; background: var(--qe-bullet) center / contain no-repeat; }

/* ------------------------------------------------------------------ COMPANY */
.co-mission, .co-team, .co-logos, .co-career { padding: var(--space-4xl) 0; }
.co-global { padding: var(--space-4xl) 0 var(--space-5xl); }
.co-mission p, .co-global p, .co-career p { line-height: 1.6; }
.co-row { display: flex; align-items: center; }
.co-row > * { flex: 0 0 50%; min-width: 0; }
.co-row__text { display: flex; flex-direction: column; row-gap: var(--space-m); padding-right: var(--space-4xl); }
.co-row__text p { margin: 0; }
.co-row--top { align-items: flex-start; margin-top: var(--space-2xl); padding-bottom: var(--space-5xl); }
.co-row--top .co-row__media { padding-right: var(--space-4xl); }
.co-row--top .co-row__media img { width: min(100%, 60rem); aspect-ratio: 1; object-fit: contain; }
.co-row--top .co-row__text p { margin-bottom: 1.2em; }
.co-global__map .motion figcaption { text-align: left; }
.co-offices { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-s) var(--space-3xl); list-style: none; padding: 0; margin: var(--space-s) 0 0; }
.co-offices li { position: relative; margin: 0; padding-left: 40px; line-height: 1.3; }
.co-offices li::before { content: ""; position: absolute; left: 0; top: .35em; width: 23px; height: 14px; background: var(--qe-bullet) center / contain no-repeat; }
.co-offices strong { display: block; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--secondary); }
@media (max-width: 560px) { .co-offices { grid-template-columns: 1fr; } }
@media (max-width: 991px) {
  .co-row { flex-direction: column; align-items: flex-start; row-gap: var(--space-2xl); }
  .co-row > * { flex-basis: auto; width: 100%; }
  .co-row__text, .co-row--top .co-row__media { padding-right: 0; }
  .co-row--top { flex-direction: column-reverse; }
}

/* team */
.co-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 240px)); justify-content: center; gap: var(--space-2xl) var(--space-xl); margin-top: var(--space-2xl); }
.co-member { display: flex; flex-direction: column; align-items: center; margin: 0; text-align: center; }
.co-member img { flex: none; width: 168px; max-width: none; height: 168px; aspect-ratio: 1; object-fit: cover; margin-bottom: var(--space-m); border-radius: 50%; background: #1a171f; box-shadow: 0 0 0 1px rgb(var(--ink) / .08), 0 12px 32px rgba(0, 0, 0, .45); }
.co-member h3 { margin: 0 0 .25rem; font: 400 1.1em/1.3 var(--font-body); color: var(--heading); }
.co-member p { margin: 0; font-size: var(--text-s); line-height: 1.5; color: var(--muted); }
.co-team__btn { margin-top: var(--space-2xl); }
@media (max-width: 991px) { .co-team__grid { grid-template-columns: repeat(2, minmax(0, 240px)); } }
@media (max-width: 478px) { .co-member img { width: 128px; height: 128px; } }

/* investor logos row */
.co-logos__row { display: flex; align-items: center; column-gap: var(--space-4xl); row-gap: var(--space-xl); }
.co-logos__title { flex: 0 0 auto; margin: 0; font: 400 var(--text-m)/1.3 var(--font-body); color: var(--text); white-space: nowrap; }
.co-logos__grid { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; align-items: center; }
.co-logos__grid a { display: block; }
.co-logos__grid img { width: 100%; height: 84px; object-fit: contain; }
@media (max-width: 991px) { .co-logos__row { flex-direction: column; align-items: flex-start; } .co-logos__grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 478px) { .co-logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }

/* investors text + layered growth illustration */
.co-investors__art { position: relative; aspect-ratio: 4 / 3; }
.co-investors__art img { position: absolute; }
.co-investors__bottom { z-index: 1; left: 0; bottom: 10%; width: 100%; }
.co-investors__middle { z-index: 2; left: 0; top: 20%; width: 55%; animation: hp-float 6s ease-in-out 1; }
.co-investors__top { z-index: 3; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 991px) { .co-investors__art { max-width: 70rem; } }

/* career */
.co-career__row { display: flex; align-items: flex-start; column-gap: var(--space-4xl); row-gap: var(--space-2xl); }
.co-career__card { flex: 0 0 25rem; margin: 0; padding: 1.2rem; border: 1px solid var(--secondary); border-radius: 5px; text-align: center; }
.co-career__card img { display: block; width: 100%; margin-bottom: 0; border-radius: 5px; background: hsla(200, 9.68%, 12.16%, 1); }
.co-career__text { flex: 0 0 50%; max-width: 80rem; display: flex; flex-direction: column; row-gap: var(--space-m); }
.co-career__text p { margin: 0 0 1.2em; }
.co-career__text p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .co-career__text { flex: 1 1 auto; } }
@media (max-width: 478px) { .co-career__row { flex-direction: column-reverse; } .co-career__card { flex-basis: auto; width: 100%; } }

/* contact box over the field photo */
.co-cta { position: relative; isolation: isolate; overflow: hidden; padding: var(--space-5xl) 0 var(--space-3xl); background: var(--bg-box-dark); }
.co-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.co-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(79, 37, 98, .5), rgba(0, 0, 0, 0)); }
.co-cta__box { display: flex; flex-direction: column; row-gap: var(--space-m); max-width: 55rem; margin-bottom: 30rem; padding: var(--space-2xl); border-radius: 5px; background: linear-gradient(135deg, var(--bg), var(--bg-box-dark)); }
.co-cta__box h2 { margin: 0; font-size: var(--text-2xl); color: #fff; }
.co-cta__box p { margin: 0; line-height: 1.6; }
.co-cta__box > div { margin-top: var(--space-xl); }
.co-cta__btn { background: #fff; color: var(--primary); }
.co-cta__btn:hover { background: var(--secondary); color: #fff; }
@media (max-width: 767px) { .co-cta__btn { width: 100%; justify-content: center; } }

/* ------------------------------------------------------------------ SOLUTIONS */
.so-h4 { margin: 0; font: 400 var(--text-l)/1.3 var(--font-head); color: var(--heading); }
.so-services p, .so-methods p, .so-ops p { line-height: 1.6; }
.qa-hero .qa-hero__text > div:last-child .btn { margin-top: var(--space-m); }
.qa-hero .qa-hero__text > div.btn-row:last-child .btn { margin-top: 0; }

/* services: vertical timeline with stage labels, bordered cards */
.so-services { padding: var(--space-5xl) 0 var(--space-3xl); background-image: linear-gradient(90deg, var(--bg) 60%, var(--bg-box-dark)); }
.so-services__list { display: flex; flex-direction: column; row-gap: var(--space-3xl); }
.so-item { position: relative; display: flex; column-gap: var(--space-3xl); padding-left: var(--space-xl); }
.so-item::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: 1px; height: calc(100% + var(--space-3xl)); background: var(--secondary); }
.so-item:last-child::before { display: none; }
.so-item__timeline { flex: 0 0 35rem; display: flex; flex-direction: column; row-gap: 2rem; }
.so-item__stage { position: relative; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--secondary); }
.so-item__stage::before { content: ""; position: absolute; left: calc(-1 * var(--space-xl)); top: .8rem; width: 3rem; height: 1rem; background: var(--secondary); }
.so-item .so-item__sub { margin: 0; font-size: var(--text-l); line-height: 1.28; color: var(--heading); }
.so-item .so-item__sub--mobile { display: none; }
.so-item__card { width: 100rem; max-width: 100%; padding-bottom: var(--space-l); border: 1px solid var(--secondary); border-radius: 5px; }
.so-item__card h3 { margin: 0 0 var(--space-l); padding: var(--space-l); border-bottom: 1px solid var(--secondary); font-size: var(--text-xl); text-wrap: wrap; }
.so-item__text { margin: 0; padding: 0 var(--space-l); }
.so-item__foot { position: relative; padding: var(--space-l) var(--space-l) 0; }
/* centred on the MORE toggle row (summary min-height 5.1rem); translate, not transform, so .btn:active still works */
.so-item__cta { position: absolute; top: calc(var(--space-l) + 2.55rem); right: var(--space-l); translate: 0 -50%; }
.so-more > summary { display: flex; align-items: center; gap: 10px; min-height: 5.1rem; cursor: pointer; list-style: none; font: 500 1.6rem/1 var(--font-label); text-transform: uppercase; color: var(--secondary); }
.so-more > summary::-webkit-details-marker { display: none; }
.so-more > summary::before { content: ""; order: -1; width: 4.8rem; height: 2.4rem; background: var(--qe-chevron) center / contain no-repeat; transition: transform .3s; }
.so-more > summary:hover { color: var(--lime); }
.so-more[open] > summary::before { transform: rotate(180deg); }
.so-more__close, .so-more[open] .so-more__open { display: none; }
.so-more[open] .so-more__close { display: inline; }
.so-more__body { display: flex; flex-direction: column; row-gap: var(--space-l); padding: var(--space-l) 0 var(--space-m); }
.so-more__body h4 { margin: 0; font-size: var(--text-l); }
.so-more__body p { margin: 0; }
.so-more__body .qa-bullets li { margin-bottom: var(--space-s); }
.so-more__body .qa-bullets strong { display: block; }
.so-pill { display: inline-block; padding: var(--space-3xs) var(--space-s); border: 1px solid var(--secondary); border-radius: 999rem; background: var(--bg); color: var(--heading); font: 600 var(--text-s)/1.3 var(--font-head); text-decoration: none; }
.so-pill:hover { background: var(--secondary); color: #fff; }
@media (max-width: 991px) {
  .so-services__list { row-gap: var(--space-2xl); }
  .so-item { flex-direction: column; padding-left: 0; row-gap: var(--space-2xl); }
  .so-item::before { left: 50%; }
  .so-item:last-child::before { display: block; height: 10rem; }
  .so-item__timeline { flex-basis: auto; width: 100%; align-items: center; position: relative; }
  .so-item__stage { padding: var(--space-xs) var(--space-m); border: 1px solid var(--bg-box-dark); border-radius: 5px; background: var(--bg); font-size: var(--text-xs); font-weight: 400; text-align: center; }
  .so-item__stage::before { content: none; }
  .so-item .so-item__sub { display: none; }
  .so-item .so-item__sub--mobile { display: block; margin: 0 0 var(--space-xl); padding: 0 var(--space-l); font-size: var(--text-l); line-height: 1.3; }
  .so-item__card { position: relative; background: var(--bg); }
  .so-item__cta { font-size: var(--text-s); }
  .so-more > summary { font-size: var(--text-xs); }
  .so-more > summary::before { width: 2.5rem; height: 1.3rem; }
}

/* Solutions: finding-to-claim motion and products beyond the inspection service */
.so-products { padding: var(--space-5xl) 0; background-image: linear-gradient(270deg, var(--bg) 60%, var(--bg-box-dark)); }
.so-products__list { display: flex; flex-direction: column; row-gap: var(--space-4xl); }
.so-product:not(:has(.so-product__media)) { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.so-product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: var(--space-4xl); }
.so-product--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.so-product--flip .so-product__text { order: 2; }
.so-product__text { display: flex; flex-direction: column; row-gap: var(--space-s); }
.so-product__text .eyebrow { margin: 0; }
.so-product__text h3 { margin: 0 0 var(--space-2xs); }
.so-product__text p { margin: 0; line-height: 1.6; }
.so-product__sub { margin: var(--space-s) 0 0; color: var(--heading); }
.so-product__list { margin: var(--space-2xs) 0 0; }
.so-product__list li { margin-bottom: var(--space-s); line-height: 1.5; }
.so-product__list strong { display: block; color: var(--heading); }
@media (max-width: 991px) {
  .so-product, .so-product--flip { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .so-product--flip .so-product__text { order: 0; }
}
@media (max-width: 767px) {
}


/* methods: visible, IR and EL cards; EL marked as the core technology */
.so-methods { padding: var(--space-5xl) 0 var(--space-4xl); background-image: linear-gradient(270deg, var(--bg) 60%, var(--bg-box-dark)); }
.so-methods__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); align-items: stretch; }
.so-method { position: relative; display: flex; flex-direction: column; row-gap: var(--space-s); min-width: 0; padding: var(--space-l); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg); }
.so-method--core { border-color: var(--secondary); box-shadow: 0 0 0 1px var(--secondary) inset; }
.so-method__tag { align-self: flex-start; padding: .2em .8em; border-radius: 999rem; background: var(--primary); color: #fff; font: 500 var(--text-xs)/1.4 var(--font-label); letter-spacing: .5px; text-transform: uppercase; }
.so-method__when { font: 500 var(--text-xs)/1.4 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--secondary); }
.so-method h3 { margin: 0; font-size: var(--text-xl); }
.so-method h4 { margin: var(--space-2xs) 0 0; font-size: var(--text-s); color: var(--heading); }
.so-method p { margin: 0; }
.so-method .qa-bullets li { margin-bottom: .4rem; line-height: 1.6; }
.so-why { max-width: 80rem; margin-top: var(--space-3xl); padding-left: var(--space-l); border-left: 3px solid var(--secondary); }
.so-why h3 { margin: 0 0 var(--space-s); }
.so-why p { margin: 0 0 var(--space-s); }
@media (max-width: 991px) { .so-methods__grid { grid-template-columns: minmax(0, 1fr); } }

/* coverage table: which method sees which defect */
.so-matrix__title { margin: var(--space-3xl) 0 var(--space-m); }
.so-matrix { margin: 0; }
.so-matrix__scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.so-matrix table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: var(--text-s); }
.so-matrix th, .so-matrix td { padding: .9rem 1.2rem; border-bottom: 1px solid rgb(var(--ink) / .08); text-align: center; }
.so-matrix thead th { font: 500 var(--text-xs)/1.3 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.so-matrix thead tr:first-child th { border-bottom: 0; padding-bottom: 0; }
.so-matrix thead tr:first-child th:first-child { text-align: left; vertical-align: bottom; }
.so-matrix tbody th { font-weight: 400; text-align: left; color: var(--text); }
.so-matrix tbody tr:last-child > * { border-bottom: 0; }
.so-matrix .so-matrix__el { background: rgba(187, 108, 223, .08); color: var(--heading); }
.so-matrix thead .so-matrix__night { background: rgba(187, 108, 223, .08); }
.so-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.so-dot--f { background: var(--secondary); }
.so-dot--h { border: 2px solid var(--secondary); background: linear-gradient(90deg, var(--secondary) 50%, transparent 50%); }
.so-matrix figcaption { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-l); margin-top: var(--space-s); font-size: var(--text-xs); color: var(--muted); }
.so-matrix figcaption > span { display: inline-flex; align-items: center; gap: .6rem; }


/* delivery through QE Ops: numbered steps beside the m11 animation */
.so-ops { padding: var(--space-5xl) 0; background-image: linear-gradient(90deg, var(--bg) 60%, var(--bg-box-dark)); }
.so-ops__steps { margin: 0; padding: 0; list-style: none; counter-reset: so-ops; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-l); }
.so-ops__steps li { counter-increment: so-ops; align-content: start; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); column-gap: var(--space-s); row-gap: .2rem; }
.so-ops__steps li::before { content: counter(so-ops, decimal-leading-zero); grid-row: span 2; font: 500 var(--text-s)/1.5 var(--font-label); color: var(--secondary); }
.so-ops__steps strong { color: var(--heading); font-family: var(--font-head); font-weight: 500; }
.so-ops__steps span { font-size: var(--text-s); line-height: 1.5; }

/* home: credentials trust band under the customer logos (heading left, three credentials right) */
.hp-cred { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid rgb(var(--ink) / .12); }
.hp-cred__title { margin: .6rem 0 var(--space-l); font-size: var(--text-xl); line-height: 1.2; text-wrap: balance; }
.hp-cred__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.hp-cred__list li { display: flex; flex-direction: column; gap: .25rem; padding-left: var(--space-m); border-left: 2px solid var(--secondary); }
.hp-cred__list strong { font: 600 var(--text-m)/1.3 var(--font-head); color: var(--heading); }
.hp-cred__list span { font-size: var(--text-s); line-height: 1.4; color: var(--muted); }
.hp-cred__motion { margin: 0; }
@media (max-width: 767px) { .hp-cred__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-m); } }
@media (max-width: 767px) {
  .so-matrix tbody th, .so-matrix thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 1; min-width: 15rem; background: #0d0d10; }
}

/* Solutions: left-aligned section heads, like the rest of the site's content pages */
.so-section .section__head { text-align: left; margin-left: 0; max-width: 80rem; }
/* daytime scans and docks: three text columns with a purple rule, no figures */
.so-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.so-tool { display: flex; flex-direction: column; row-gap: var(--space-s); min-width: 0; padding-left: var(--space-m); border-left: 2px solid var(--secondary); }
.so-tool .eyebrow { margin: 0; }
.so-tool h3 { margin: 0; font-size: var(--text-xl); }
.so-tool h4 { margin: var(--space-2xs) 0 0; font-size: var(--text-m); color: var(--heading); }
.so-tool p { margin: 0; line-height: 1.6; }
.so-tool .qa-bullets li { margin-bottom: .6rem; line-height: 1.5; }
.so-tool .qa-bullets strong { color: var(--heading); font-weight: 500; }
.so-ops__shot { margin: var(--space-3xl) 0 0; }
.so-ops__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.so-ops__shot figcaption { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--muted); }
@media (max-width: 991px) { .so-tools, .so-ops__steps { grid-template-columns: minmax(0, 1fr); } }
/* Company hero: field photo, keep engineers and drone in frame at every width */
.qa-hero__media img[src*="company-hero-field"] { object-position: 62% 40%; }
/* Company hero on tablet and phone: show the photo in full below the text instead of darkened behind it */
@media (max-width: 991px) {
  .qa-hero__media:has(img[src*="company-hero-field"]) { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .qa-hero__media:has(img[src*="company-hero-field"])::before { content: none; }
  .qa-hero__media img[src*="company-hero-field"] { object-position: 70% 55%; }
}

/* QE Ops views (src/ops-views.mjs): redrawn dashboard mock-ups in tabs, dark UI in site fonts. */
.ov { margin: var(--space-3xl) 0 0; }
.ov__tabs { margin-bottom: var(--space-s); }
.ov__panel { margin: 0; min-width: 0; }
.ov__panel + .ov__panel { margin-top: var(--space-xl); }
.is-tabbed .ov__panel + .ov__panel { margin-top: 0; }
:root:not(.no-js) .ov:not(.is-tabbed):not(.is-stacked) .ov__panel + .ov__panel { display: none; }
.ov__ptitle { margin: 0 0 var(--space-xs); font: 500 var(--text-m)/1.3 var(--font-head); color: var(--heading); }
.is-tabbed .ov__ptitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ov__panel figcaption { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--muted); }
.ov__disclaimer { margin: var(--space-3xs) 0 0; font-size: 1.3rem; color: var(--muted); }

.ov-app { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; font: 400 1.4rem/1.45 var(--font-body); color: var(--text); }
.ov-app__bar { display: flex; align-items: center; gap: var(--space-s); padding: 1rem 1.6rem; border-bottom: 1px solid #23232b; background: var(--bg-3); }
.ov-app__brand { font: 600 1.5rem/1 var(--font-head); color: var(--heading); }
.ov-app__crumb { font-size: 1.3rem; color: var(--muted); }
.ov-app__body { padding: 1.6rem; }

.ov-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 1.6rem; background: #23232b; border: 1px solid #23232b; border-radius: 4px; overflow: hidden; }
.ov-kpis div { padding: 1rem 1.2rem; background: var(--bg-2); }
.ov-kpis strong { display: block; font: 500 2.2rem/1.2 var(--font-head); color: var(--heading); }
.ov-kpis span { font-size: 1.3rem; color: var(--muted); }

.ov-table { width: 100%; border-collapse: collapse; }
.ov-table th, .ov-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid #1f1f26; white-space: nowrap; }
.ov-table thead th { font: 500 1.2rem/1.3 var(--font-label); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ov-table tbody th { font-weight: 500; color: var(--heading); }
.ov-table tbody tr:last-child > * { border-bottom: 0; }
.ov-num { text-align: right !important; font-variant-numeric: tabular-nums; }
.ov-phase { display: inline-flex; gap: 3px; vertical-align: middle; }
.ov-phase i { width: 1.6rem; height: .6rem; border-radius: 1px; background: #2a2a33; }
.ov-phase i.is-done { background: var(--secondary); }
.ov-phase i.is-now { background: #6b4a7c; }
.ov-pill { display: inline-block; padding: .15rem .8rem; border-radius: 99px; font-size: 1.25rem; border: 1px solid #34343e; color: var(--text); }
.ov-pill--done { border-color: #5e6233; color: var(--lime); }
.ov-pill--live { border-color: #6b4a7c; color: var(--secondary); }
.ov-pill--wait { color: var(--muted); }

.ov-map { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.6rem; }
.ov-map__main { min-width: 0; }
.ov-tools { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.ov-seg { display: inline-flex; border: 1px solid #34343e; border-radius: 4px; overflow: hidden; }
.ov-seg b { padding: .35rem 1rem; font-weight: 500; font-size: 1.3rem; color: var(--muted); }
.ov-seg b + b { border-left: 1px solid #34343e; }
.ov-seg b.is-on { background: var(--primary); color: #fff; }
.ov-map__svg { display: block; width: 100%; height: auto; border-radius: 3px; }
.ov-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: 1.3rem; }
.ov-legend li { display: inline-flex; align-items: center; gap: .6rem; }
.ov-sw { width: 1.1rem; height: 1.1rem; }
.ov-card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 1rem 1.4rem; align-content: start; padding: 1.4rem; border: 1px solid #2a2a33; border-radius: 4px; background: var(--bg); }
.ov-card__id { grid-column: 1 / -1; margin: 0; font: 500 1.35rem/1.35 var(--font-head); color: var(--heading); }
.ov-el { display: block; width: 9rem; height: auto; }
.ov-card__list { margin: 0; display: grid; gap: .8rem; align-content: start; }
.ov-card__list dt { font-size: 1.2rem; color: var(--muted); }
.ov-card__list dd { margin: 0; font-size: 1.3rem; color: var(--heading); }
.ov-card__loss dd { font: 500 2rem/1.2 var(--font-head); color: var(--secondary); }

.ov-find { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.4rem; }
.ov-sub { margin: 0 0 1rem; font: 500 1.2rem/1.3 var(--font-label); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ov-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.ov-bars li { display: grid; grid-template-columns: 19rem minmax(0, 1fr) 5.6rem; align-items: center; gap: 1.2rem; }
.ov-bar { display: block; width: 100%; height: .8rem; border-radius: 1px; }
.ov-bars b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--heading); }
.ov-files { margin: 0; padding: 0; list-style: none; border: 1px solid #23232b; border-radius: 4px; }
.ov-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto 1.6rem; align-items: center; gap: 1.2rem; padding: .8rem 1.2rem; }
.ov-files li + li { border-top: 1px solid #1f1f26; }
.ov-files span { color: var(--heading); }
.ov-files small { font-size: 1.25rem; color: var(--muted); }
.ov-ico { width: 1.6rem; height: 1.6rem; color: var(--secondary); }
.ov-note { margin: 1.2rem 0 0; font-size: 1.3rem; color: var(--muted); }

@media (max-width: 991px) {
  .ov-map, .ov-find { grid-template-columns: minmax(0, 1fr); }
  .ov-card { grid-template-columns: 7rem minmax(0, 1fr); }
  .ov-el { width: 7rem; }
  .ov-hide-m { display: none; }
}
@media (max-width: 600px) {
  .ov-app__body { padding: 1.2rem; }
  .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-hide-s { display: none; }
  .ov-table { font-size: 1.3rem; }
  .ov-table th, .ov-table td { padding: .7rem .5rem; }
  .ov-table th:first-child, .ov-table td:first-child { padding-left: 0; }
  .ov-table th:last-child, .ov-table td:last-child { padding-right: 0; }
  .ov-phase { gap: 2px; }
  .ov-phase i { width: .9rem; }
  .ov-files li { padding: .8rem 1rem; gap: .8rem; }
  .ov-bars li { grid-template-columns: minmax(0, 1fr) 5.2rem; gap: .3rem 1rem; }
  .ov-bars li span { grid-column: 1 / -1; }
  .ov-bars li .ov-bar { grid-column: 1; }
  .ov__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* QE Ops flow: design -> digital twin, then solar inspection steps and general drone missions. Hairlines, no boxes. */
.so-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: var(--space-xl); margin-top: var(--space-xl); }
.so-flow__label { margin: 0 0 var(--space-s); font: 500 var(--text-xs)/1.4 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); }
.so-flow__label span { display: block; margin-top: .3rem; font: 400 var(--text-xs)/1.4 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.so-flow__twin { padding-right: var(--space-l); border-right: 1px solid var(--border); }
.so-flow__chain { margin: 0; padding: 0; list-style: none; counter-reset: tw; }
.so-flow__chain li { counter-increment: tw; position: relative; display: grid; gap: .2rem; padding: 0 0 var(--space-m) 3.6rem; }
.so-flow__chain li::before { content: counter(tw); position: absolute; left: 0; top: .15rem; width: 2.4rem; height: 2.4rem; border: 1px solid var(--secondary); border-radius: 50%; display: grid; place-items: center; font: 500 1.3rem/1 var(--font-label); color: var(--secondary); }
.so-flow__chain li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 3rem; bottom: .6rem; width: 1px; background: var(--border); }
.so-flow__chain li:last-child { padding-bottom: 0; }
.so-flow strong { color: var(--heading); font: 500 var(--text-s)/1.35 var(--font-head); }
.so-flow li span { font-size: var(--text-xs); line-height: 1.5; color: var(--text); }
.so-flow__foot { margin: var(--space-m) 0 0; padding-top: var(--space-s); border-top: 1px solid var(--border); font: 500 var(--text-s)/1.45 var(--font-head); color: var(--heading); }
.so-flow__uses { display: grid; gap: var(--space-xl); align-content: start; }
.so-flow__steps, .so-flow__missions { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-s); }
.so-flow__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: st; }
.so-flow__missions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.so-flow__steps li, .so-flow__missions li { display: grid; grid-template-rows: auto 1fr auto; gap: .4rem; padding-top: var(--space-xs); border-top: 1px solid var(--border); }
.so-flow__steps li { counter-increment: st; }
.so-flow__steps strong::before { content: counter(st, decimal-leading-zero) "  "; white-space: pre; font: 500 1.3rem/1 var(--font-label); color: var(--secondary); }
.so-flow__steps em { justify-self: start; margin-top: .4rem; padding: .2rem .9rem; border: 1px solid #4a3a55; border-radius: 99px; font: normal 500 1.25rem/1.5 var(--font-body); color: var(--secondary); }
.so-flow__missions li { grid-template-rows: auto 1fr; }
@media (max-width: 1199px) {
  .so-flow { grid-template-columns: minmax(0, 1fr); }
  .so-flow__twin { padding: 0 0 var(--space-l); border-right: 0; border-bottom: 1px solid var(--border); }
  .so-flow__chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-s); }
  .so-flow__chain li { padding: 3.4rem 0 0; }
  .so-flow__chain li:not(:last-child)::after { left: 3.2rem; right: -.8rem; top: 1.2rem; bottom: auto; width: auto; height: 1px; }
}
@media (max-width: 767px) {
  .so-flow__chain { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .so-flow__chain li { padding: 0 0 var(--space-s) 3.6rem; }
  .so-flow__chain li:not(:last-child)::after { left: 1.2rem; right: auto; top: 3rem; bottom: .6rem; width: 1px; height: auto; }
  .so-flow__steps, .so-flow__missions { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .so-flow__steps li, .so-flow__missions li { grid-template-rows: auto; }
}

/* ================================================================== Technology / Process / Service
   Section layouts ported from the original Bricks theme (hero-default, tech-*, technology-item, process-item,
   service-*, company-cta). Everything is scoped to .b-page (the wrapper of these three pages) or b-* classes.
   Breakpoints follow the original: 1200 / 991 / 767 / 478 px. */

.b-page { --b-dark-box: #1e1f1f; --b-radius-xs: .5rem; --b-radius-m: clamp(1rem, calc(.13vw + .96rem), 1.2rem); }
/* the original sets body copy at line-height 1.7 */
.b-page p, .b-page li { line-height: 1.6; }
.b-page p { margin: 0; }

/* ------------------------------------------------------------------ shared bits */
.b-gradient { background-image: linear-gradient(90deg, var(--bg) 60%, var(--b-dark-box)); }
.b-subtitle { align-self: flex-start; font: 500 var(--text-m)/1.6 var(--font-label); color: var(--secondary); border-bottom: 2px solid var(--secondary); padding-bottom: .5rem; }
.b-label { display: block; margin: 0; font: 500 var(--text-s)/1.25 var(--font-label); color: var(--secondary); text-transform: uppercase; letter-spacing: .5px; }
.b-h3, .b-page .b-h3 { margin: 0; line-height: 1.3; font: 600 var(--text-xl)/1.3 var(--font-head); color: var(--heading); text-wrap: balance; }
.b-btn-light { background: #fff; color: var(--primary); }
.b-btn-light:hover { background: var(--secondary); color: #fff; }

/* outlined card with a title band (technology-item__content / service-item__content) */
.b-card { border: 1px solid var(--secondary); border-radius: var(--b-radius-xs); padding-bottom: var(--space-l); min-width: 0; }
.b-card__title { margin: 0 0 var(--space-l); padding: var(--space-l); border-bottom: 1px solid var(--secondary); font-size: var(--text-xl); line-height: 1.3; }
.b-card__body { padding: 0 var(--space-l); }

/* list-styles: lime double-bar icon, bold white lead-in on its own line */
.b-list ul { list-style: none; padding: 0; margin: 0; }
.b-list p + ul { margin-top: 3rem; }
.b-list ul > li { position: relative; padding-left: 4.5rem; margin: 0 0 10px; }
.b-list ul > li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 2.4rem; height: 2.4rem; background: no-repeat url("data:image/svg+xml,%3Csvg%20width='23'%20height='14'%20viewBox='0%200%2023%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23%200H7.81101L4.33941%206.22229H19.5284L23%200ZM18.6605%207.77785H3.47152L0%2014H15.189L18.6605%207.77785Z'%20fill='%23B6BC60'/%3E%3C/svg%3E"); }
.b-list strong { display: block; color: var(--heading); font-weight: 600; }
.b-list ul ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.b-list ul ul > li { padding-left: 0; }
.b-list ul ul > li::before { display: none; }
.b-list ul ul strong { display: inline; }
.b-list ul + p { margin-top: 1em; }

/* two columns, media | text, vertically centred (tech-intro__container) */
.b-split { display: flex; align-items: center; }
.b-split > * { flex: 1 1 0; min-width: 0; }
.b-split__media img { width: 100%; object-fit: contain; }
.b-split__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-m); }
@media (max-width: 767px) { .b-split { flex-direction: column-reverse; align-items: stretch; gap: var(--space-2xl); } }

/* ------------------------------------------------------------------ hero (hero-default + tech-hero) */
/* pulled up under the sticky header so the image starts at the top edge like the original's fixed header */
.b-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  margin-top: calc(-1 * var(--header-h)); min-height: min(100dvh, 80rem); padding-bottom: var(--space-3xl); }
.b-hero::before { content: ""; position: absolute; left: 0; top: 0; width: 75vw; height: 100%; z-index: -1; opacity: .8; pointer-events: none;
  background: linear-gradient(312.28deg, #010101 34.33%, #24292c 76.94%); }
.b-hero__img { position: absolute; top: 0; right: 0; bottom: 0; left: 50%; background: var(--border); }
.b-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.b-hero__img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--bg) 0%, hsla(240, 14%, 3%, .5) 60%, transparent 70%, transparent 100%); }
.b-hero__body, .b-hero__more { position: relative; z-index: 2; --b-hero-w: calc((100% + var(--space-5xl)) / 2 - var(--space-3xl) - var(--space-4xl)); }
.b-hero__body { padding-top: 20rem; display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; }
.b-hero__more { padding-top: 4rem; }
.b-hero__body > :not(.b-subtitle), .b-hero__more > * { width: var(--b-hero-w); max-width: 100%; }
.b-hero h1 { margin: 0; font-size: var(--text-2xl); line-height: 1.25; text-wrap: balance; }
.b-hero__body .btn { margin-top: var(--space-m); }
.b-hero__body .b-hero__desc { max-width: 50rem; }
.b-hero__divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
@media (max-width: 991px) {
  .b-hero { min-height: 0; }
  .b-hero__img { left: 0; z-index: 1; }
  .b-hero__body > :not(.b-subtitle), .b-hero__more > * { width: 100%; }
  /* service: only the title block sits on the image, the description follows below it */
  .b-hero--split { padding-bottom: 0; }
  .b-hero--split::before { height: 100%; }
  .b-hero--split .b-hero__img { position: relative; left: auto; grid-row: 1; grid-column: 1; }
  .b-hero--split .b-hero__body { grid-row: 1; grid-column: 1; }
  .b-hero--split .b-hero__more { grid-row: 2; padding-bottom: var(--space-3xl); }
  .b-hero--split .b-hero__more > * { max-width: 70rem; }
}
@media (max-width: 767px) {
  .b-hero::before { width: 100vw; opacity: .5; background: linear-gradient(312.28deg, #010101 34.33%, #24292c 76.94%, transparent 100%); }
  .b-hero__img::before { opacity: .5; background-image: linear-gradient(90deg, hsla(240, 14%, 3%, .9), hsla(240, 14%, 3%, .8) 80%, transparent); }
  .b-hero__body > div:has(.btn) { align-self: center; width: auto; }
  .b-hero__body .btn { font-size: var(--text-s); }
}
@media (max-width: 478px) {
  .b-hero { padding-bottom: var(--space-5xl); }
  .b-hero--split { padding-bottom: 0; }
}

/* ------------------------------------------------------------------ technology */
.b-tech-intro { padding: var(--space-4xl) 0 var(--space-3xl); }
.b-tech { padding: var(--space-3xl) 0; }
.b-tech > .wrap { display: flex; flex-direction: column; gap: var(--space-4xl); }
.b-tech__head { display: flex; flex-direction: column; gap: var(--space-m); }
.b-tech__grid { display: flex; flex-direction: column; gap: var(--space-4xl); }
.b-tech-item { display: flex; align-items: flex-start; gap: var(--space-4xl); }
.b-tech-item__media { width: max(36.5%, 35rem); max-width: 100%; flex-shrink: 0; display: flex; flex-direction: column; gap: var(--space-2xl); }
.b-tech-item__media img { width: 100%; }
.b-tech-item__tagline, .b-tech-item__tagline-m { font: 400 var(--text-l)/1.28 var(--font-head); color: var(--heading); }
.b-page .b-tech-item__tagline { line-height: 1.28; margin-top: var(--space-l); }
.b-page .b-tech-item__tagline-m { display: none; line-height: 1.28; margin: 0 0 var(--space-m); padding: 0 var(--space-l); }
.b-tech-item .b-card { flex: 1 1 auto; }
.b-tech-item .b-list ul { padding-left: 2.5rem; }
.b-tech-motion { margin: 0 auto; width: 100%; }
@media (max-width: 1200px) {
  .b-tech-item { flex-direction: column-reverse; align-items: center; gap: var(--space-xl); }
  .b-tech-item .b-card { width: 100%; }
  .b-page .b-tech-item__tagline { display: none; }
  .b-page .b-tech-item__tagline-m { display: block; }
}
@media (max-width: 767px) { .b-tech-item { gap: var(--space-2xl); } }

/* closing CTA: night sky band with a purple fade and the drone overlapping it on the right */
.b-tech-cta { position: relative; overflow: hidden; padding-top: var(--space-3xl); display: flex; flex-direction: column; }
.b-tech-cta__drone { position: absolute; z-index: 1; top: -9%; left: 45%; width: 55%; height: calc(100% + var(--space-3xl)); }
.b-tech-cta__drone img { width: 100%; height: 100%; object-fit: contain; }
.b-tech-cta__band { position: relative; isolation: isolate; padding: var(--space-5xl) 0; }
.b-tech-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 43% 35.93%; }
.b-tech-cta__band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(90deg, var(--primary), transparent); }
.b-tech-cta__text { position: relative; z-index: 2; max-width: min(65%, 70rem); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xl); }
.b-tech-cta__title { color: var(--heading); }
@media (max-width: 991px) { .b-tech-cta__drone { top: 0; } }
@media (max-width: 767px) {
  .b-tech-cta { align-items: center; }
  .b-tech-cta__drone { position: relative; top: 0; left: auto; width: min(100%, 45rem); height: auto; margin-bottom: -20rem; }
  .b-tech-cta__band > .wrap { margin-top: clamp(7.63rem, calc(8.32vw + 4.97rem), 20.94rem); }
  .b-tech-cta__text { max-width: 100%; align-items: center; text-align: center; }
}

/* ------------------------------------------------------------------ process timeline */
.b-steps { padding: var(--space-5xl) 0; }
.b-steps__head { display: flex; flex-direction: column; gap: var(--space-m); margin-bottom: var(--space-4xl); }
.b-steps__list { counter-reset: b-step; list-style: none; margin: 0; padding: 0; width: 140rem; max-width: 100%; display: flex; flex-direction: column; gap: var(--space-3xl); }
.b-page .b-step { counter-increment: b-step; position: relative; display: flex; gap: var(--space-3xl); margin: 0; padding-left: var(--space-2xl); }
.b-step::before { content: ""; position: absolute; left: 0; top: calc(1rem + var(--space-l)); width: 1px; height: calc(100% + var(--space-3xl)); background: var(--secondary); }
.b-step:last-child::before { display: none; }
.b-step__timeline { position: relative; flex-shrink: 0; width: 15rem; padding-top: var(--space-l); }
.b-step__timeline::before { content: counter(b-step, decimal-leading-zero); position: absolute; left: -1rem; top: -1rem; z-index: 2; font: 100 calc(2 * var(--text-3xl))/1 var(--font-body); color: var(--secondary); }
.b-step__label { position: relative; display: block; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--bg); }
.b-step__label::before { content: ""; position: absolute; top: .8rem; right: calc(100% + var(--space-2xl) - 3rem); width: 3rem; height: 1rem; background: var(--secondary); }
.b-step .b-card { flex: 0 1 100rem; }
.b-step .b-list ul + p, .b-step .b-list p + p { margin-top: 1em; }
@media (max-width: 991px) {
  .b-steps__list { gap: var(--space-4xl); }
  .b-page .b-step { flex-direction: column; align-items: center; padding-left: 0; gap: var(--space-4xl); }
  .b-step::before { left: 50%; transform: translateX(-50%); height: calc(100% + var(--space-4xl)); }
  .b-step:last-child::before { display: block; height: calc(100% - 3rem); }
  .b-step__timeline { width: 100%; display: flex; justify-content: center; }
  .b-step__timeline::before { content: none; }
  .b-step__label { font: 400 var(--text-xs)/1.3 var(--font-label); color: var(--secondary); text-align: center; padding: var(--space-xs) var(--space-m); border: 1px solid var(--b-dark-box); border-radius: var(--b-radius-xs); background: var(--bg); }
  .b-step__label::before { content: none; }
  .b-step .b-card { flex: none; width: 100%; position: relative; background: var(--bg); }
  .b-page .b-step { gap: var(--space-l); }
}

/* bottom CTA (company-cta): photo with purple tint, dark gradient box */
.b-cta { position: relative; isolation: isolate; padding: var(--space-5xl) 0 var(--space-3xl); }
.b-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.b-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(135deg, rgba(79, 37, 98, .5), transparent), hsla(240, 14%, 3%, .5); }
.b-cta > .wrap { margin-bottom: 30rem; }
.b-cta__box { max-width: 55rem; padding: var(--space-2xl); border-radius: var(--b-radius-xs); background: linear-gradient(135deg, var(--bg), var(--b-dark-box)); }
.b-cta__box h2 { margin: 0; font-size: var(--text-2xl); color: #fff; }
.b-cta__line { border: 0; border-top: 2px solid var(--secondary); margin: var(--space-m) 0; }
.b-page .b-cta__box p { color: rgb(var(--ink) / .8); max-width: 540px; }
.b-cta__actions { margin-top: var(--space-xl); display: flex; gap: var(--space-s); }
@media (max-width: 767px) {
  .b-cta__actions { flex-direction: column; }
  .b-page .b-cta__actions .btn { justify-content: center; padding-block: var(--space-s); }
}

/* ------------------------------------------------------------------ service */
  font: 100 calc(2 * var(--text-3xl))/1.6 var(--font-body); color: var(--heading); }
.b-pricing .b-split__text > div, .b-duo__details > div { margin-top: 0; }

/* partnership / deliverables: text left, details right (service-partnership) */
.b-duo { padding: var(--space-4xl) 0; }
.b-duo__wrap { display: flex; }
.b-duo__text { flex: 1 1 0; min-width: 0; padding-right: var(--space-4xl); display: flex; flex-direction: column; gap: var(--space-m); }
.b-duo__details { flex: 0 0 50%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-m); }
.b-duo__details h3 { margin: 0; font-size: var(--text-xl); }
.b-duo__details .b-list ul, .b-duo__details > ul { align-self: stretch; }
.b-page .b-duo__details ul + p { margin-top: 0; }
@media (max-width: 991px) {
  .b-duo__wrap { flex-direction: column; gap: var(--space-2xl); }
  .b-duo__text { padding-right: 0; }
}

/* digital platform: text, then the dashboard screenshots full width in tabs (see public/js/tabs.js) */
.b-platform { padding: var(--space-4xl) 0; }
.b-platform__wrap { display: flex; flex-direction: column; gap: var(--space-2xl); }
.b-platform__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-m); max-width: 72rem; }
.b-platform__btns { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-m); }
.b-platform__media { min-width: 0; }
.b-platform__tabs { margin-bottom: var(--space-s); }
.b-platform__panel { margin: 0; min-width: 0; }
.b-platform__panel + .b-platform__panel { margin-top: var(--space-xl); }
.is-tabbed .b-platform__panel + .b-platform__panel { margin-top: 0; }
:root:not(.no-js) .b-platform__media:not(.is-tabbed):not(.is-stacked) .b-platform__panel + .b-platform__panel { display: none; }
.is-tabbed .b-platform__ptitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-platform__ptitle { margin: 0 0 var(--space-xs); font: 500 var(--text-m)/1.3 var(--font-head); color: var(--heading); }
.b-platform__panel img { display: block; width: 100%; height: auto; border-radius: var(--b-radius-m); }
.b-platform__panel figcaption { margin-top: var(--space-xs); font-size: var(--text-s); line-height: 1.6; }
.b-platform__note { margin: var(--space-3xs) 0 0; font-size: var(--text-s); line-height: 1.3; color: var(--muted); }
/* auto-play progress: a thin bar along the bottom of the active tab, same length as data-tabs-autoplay (4000ms) */
.b-platform__tabs .b-tabs__tab { position: relative; overflow: hidden; }
.b-platform__tabs .b-tabs__tab.is-running::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--secondary); transform-origin: left; animation: b-dash-run 4000ms linear forwards; }
@keyframes b-dash-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* service models: four plain cards */
.b-models { padding: var(--space-4xl) 0; }
.b-models .wrap { display: flex; flex-direction: column; gap: var(--space-xl); align-items: flex-start; }
.b-models__head { display: flex; flex-direction: column; gap: var(--space-s); max-width: 72rem; }
.b-models__head p { margin: 0; }
.b-models__list { align-self: stretch; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-m); }
.b-models__list li { display: flex; flex-direction: column; gap: var(--space-2xs, .6rem); padding: var(--space-m); border: 1px solid var(--border); border-radius: var(--b-radius-m); background: var(--b-dark-box); }
.b-models__list strong { font: 500 var(--text-m)/1.3 var(--font-head); color: var(--heading); }
.b-models__list span { font-size: var(--text-s); line-height: 1.5; }
@media (max-width: 991px) { .b-models__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 478px) { .b-models__list { grid-template-columns: minmax(0, 1fr); } }

/* buttons on the original are padded .5em 1em without a border (global .btn is taller; scoped fix here) */
.b-page .btn { padding: .5em 1em; border-width: 0; }
.b-page .btn--ghost { border-width: 1px; }
.b-page .b-duo__details h3 { line-height: 1.3; }

/* technology: EL alongside visual and IR inspection */
.b-tech-views { padding: var(--space-3xl) 0; }
.b-tech-views__head { display: flex; flex-direction: column; gap: var(--space-m); max-width: 76rem; }
.b-tech-views__head p { margin: 0; }

/* ------------------------------------------------------------------ process: current injection tabs (step 2)
   Without JS all panels show stacked with their own titles. public/js/tabs.js adds .is-tabbed (or .is-stacked if it
   cannot run); until then only the first panel shows, so the other animations do not load early. */
.b-inject, .b-twin { margin-top: var(--space-2xl); padding-top: var(--space-l); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--space-m); }
.b-page .b-inject__title { margin: 0; font: 600 var(--text-l)/1.3 var(--font-head); color: var(--heading); }
.b-tabs__list { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.b-tabs__tab { padding: .55em 1.1em; border: 1px solid var(--border); border-radius: var(--b-radius-xs); background: transparent; color: var(--text); font: 500 var(--text-s)/1.3 var(--font-head); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.b-tabs__tab:hover { border-color: var(--secondary); color: #fff; }
.b-tabs__tab[aria-selected="true"] { background: var(--primary); border-color: var(--secondary); color: #fff; }
.b-tabs__panel { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.b-tabs__panel:focus-visible { outline-offset: 6px; }
.b-page .b-tabs__ptitle { margin: 0; font: 600 var(--text-m)/1.3 var(--font-head); color: var(--heading); }
.b-tabs__panel + .b-tabs__panel { margin-top: var(--space-l); }
.is-tabbed .b-tabs__panel + .b-tabs__panel { margin-top: 0; }
.is-tabbed .b-tabs__ptitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root:not(.no-js) .b-inject:not(.is-tabbed):not(.is-stacked) .b-tabs__panel + .b-tabs__panel { display: none; }
.b-inject .motion figcaption, .b-twin .motion figcaption { text-align: left; line-height: 1.3; }
@media (max-width: 767px) { .b-inject .motion, .b-twin .motion { margin-inline: calc(-1 * var(--space-l)); } .b-inject .motion figcaption, .b-twin .motion figcaption { padding-inline: var(--space-l); } }
@media (max-width: 478px) {
  .b-tabs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .b-tabs__tab { padding: .5em .4em; font-size: var(--text-xs); text-align: center; overflow-wrap: anywhere; hyphens: auto; }
}

/* long lead-ins (e.g. "Quantitative electroluminescence analysis (QELA)") wrap inside narrow cards */
.b-list strong { overflow-wrap: anywhere; hyphens: auto; }
/* the space between a lead-in and its text: hidden in Chinese, where the lead-in ends with a full-width colon */
:lang(zh) .sp { display: none; }
@media (max-width: 479px) {
  .b-step .b-card__body { padding: 0 var(--space-s); }
  .b-step .b-list > ul > li { padding-left: 3.6rem; }
  .b-step .b-inject .motion, .b-step .b-twin .motion { margin-inline: calc(-1 * var(--space-s)); }
  .b-step .b-inject .motion figcaption, .b-step .b-twin .motion figcaption { padding-inline: var(--space-s); }
}
/* the motion under each technology item sits close to it (the grid gap alone separates the items) */
.b-tech__grid > .b-tech-motion { margin-top: calc(var(--space-l) - var(--space-4xl)); }
/* motions under a technology item use the full content width, so their labels read at the same scale as the figures */
.b-tech__grid > .b-tech-motion { max-width: none; }

/* ================================================================== chrome, news, resources, posts, contact, legal, 404
   Ported from the original Bricks theme (header-row, offcanvas-content, footer, card-news-content,
   card-resources-content, single-post-*, page-section/.text-styles, contact). Breakpoints 991 / 767 / 478. */
:root { --tertiary: #a0b549; --box-dark: #1e1f1f; --border-primary: hsla(274, 14%, 32%, 1); --radius-xs: 5px; --radius-s: .75rem; --radius-m: 1.15rem; }

/* ------------------------------------------------------------------ header */
.site-header { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(7, 7, 9, .9); backdrop-filter: saturate(1.8) blur(7px); -webkit-backdrop-filter: saturate(1.8) blur(7px); }
.site-header__inner { display: flex; align-items: center; gap: 0; height: var(--header-h); padding: 0 2.9rem; }
.logo img { width: clamp(119px, 4.19vw + 102.7px, 185px); height: auto; }
.nav { gap: 4rem; margin: 0 4rem 0 auto; }
.nav a { font: 400 var(--text-m)/1.6 var(--font-head); color: var(--text); padding: 0; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.nav a::after { content: none; }
.nav a:hover { color: var(--tertiary); border-color: var(--tertiary); }
.nav a[aria-current="page"] { color: var(--secondary); font-weight: 700; border-color: var(--secondary); }
.header-actions { background: none; border-radius: 0; overflow: visible; }
.header-actions .dash { height: 4rem; padding: 0 1.4rem 0 1.3rem; gap: 8px; background: var(--box-dark); color: var(--text); border-radius: var(--radius-xs) 0 0 var(--radius-xs); font: 400 var(--text-m)/1 var(--font-head); transition: background-color .25s, color .25s; }
.header-actions .dash:hover { background: var(--secondary); color: #fff; }
.menu-btn { width: auto; height: 4rem; padding: 0 1.3rem; background: var(--primary); color: #fff; border-radius: 0 var(--radius-xs) var(--radius-xs) 0; transition: background-color .25s; }
.menu-btn:hover { background: var(--secondary); }
/* six menu items: tighter spacing on narrower desktops, drawer below 1180px */
@media (max-width: 1365px) { .nav { gap: 2.4rem; margin: 0 2.4rem 0 auto; } }
/* longer menu words (German, Spanish) plus the language button: tighter spacing so the header stays on one line */
@media (max-width: 1599px) { .site-header__inner .nav { gap: 2.4rem; margin: 0 2rem 0 auto; } }
@media (max-width: 1439px) { .site-header__inner .nav { gap: 1.8rem; margin: 0 1.4rem 0 auto; } .site-header__inner .lang-menu, .site-header__inner .theme-menu { margin-right: .6rem; } }
.header-actions .dash { white-space: nowrap; }
@media (max-width: 1259px) { .site-header__inner .nav { gap: 1.4rem; margin-right: 1rem; } }
/* narrower desktops: the Client Portal button keeps its icon only (label stays for screen readers; full label in the menu) */
@media (min-width: 1180px) and (max-width: 1399px) { .header-actions .dash { padding: 0 1.2rem; } .header-actions .dash span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 1179px) { .nav { display: none; } .header-actions { margin-left: auto; } }
/* "you are here" trail: only while the menu items are folded away; on phones just the section (a link up from a post) */
.crumbs { display: none; }
@media (max-width: 1179px) {
  .crumbs { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; margin: 0 2rem 0 3.2rem; font: 400 var(--text-s)/1.3 var(--font-head); color: var(--muted); white-space: nowrap; }
  .crumbs > * { overflow: hidden; text-overflow: ellipsis; }
  .crumbs a { flex: none; color: var(--text); text-decoration: none; transition: color .25s; }
  .crumbs a:hover { color: var(--secondary); }
  .crumbs a::after { content: "›"; margin: 0 .8rem; color: var(--muted); }
  .crumbs [aria-current] { min-width: 0; color: var(--heading); }
  .crumbs > [aria-current]:only-child { color: var(--secondary); font-weight: 600; }
}
@media (max-width: 599px) {
  .crumbs { margin: 0 1rem 0 1.6rem; }
  .crumbs a + [aria-current] { display: none; }
  .crumbs a::after { content: none; }
  .crumbs a::before { content: "‹"; margin-right: .5rem; }
}
@media (max-width: 767px) { .header-actions .dash { display: none; } .menu-btn { border-radius: var(--radius-xs); } }

/* ------------------------------------------------------------------ off-canvas menu
   >= 768px: a small panel that drops from the toggle (the close button sits on top of the toggle);
   <= 767px: a 350px panel sliding in from the right over a purple backdrop. */
.drawer { z-index: 60; }
.drawer__backdrop { background: transparent; }
.drawer__panel { top: calc(var(--header-h) / 2 + 2rem); right: 2.9rem; bottom: auto; width: 24rem; max-height: none; padding: 0; gap: 0; border: 0; overflow: visible;
  background: linear-gradient(139deg, var(--bg) 0%, var(--box-dark) 100%); opacity: 0; transform: translateY(-6px); transition: opacity .2s cubic-bezier(.25, 0, .25, 1), transform .2s cubic-bezier(.25, 0, .25, 1); }
.drawer:target .drawer__panel, .drawer.is-open .drawer__panel { opacity: 1; transform: none; }
.drawer__top { position: relative; height: 0; margin: 0; padding: 0; }
.drawer__logo { display: none; width: 4.9rem; height: auto; }
.drawer__close { position: absolute; right: 0; bottom: 0; width: 4.4rem; height: 4rem; display: grid; place-items: center; padding: 0; background: var(--box-dark); color: var(--heading); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.drawer__close svg { width: 1.5rem; height: 1.5rem; }
.drawer__close:hover { color: var(--secondary); }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { margin: 0; }
.drawer__list--main { display: none; }
.drawer nav { margin: 2rem 0 1.5rem; }
.drawer__list a, .drawer nav .drawer__list a { display: flex; justify-content: center; text-align: center; padding: .7rem 2rem; font: 400 var(--text-m)/1.6 var(--font-head); color: var(--text); text-decoration: none; border: 0; }
.drawer__list a:hover, .drawer nav .drawer__list a:hover { color: var(--tertiary); }
.drawer__list a[aria-current="page"], .drawer nav .drawer__list a[aria-current="page"] { color: var(--secondary); font-weight: 700; }
.drawer__contact { display: flex; justify-content: center; padding: 1.1rem 2rem; background: var(--primary); color: #fff; font: 600 var(--text-m)/1.3 var(--font-head); text-decoration: none; transition: background-color .25s, color .25s; }
.drawer__contact:hover { background: #fff; color: var(--secondary); }
.drawer__dash { display: none; align-items: center; justify-content: center; gap: 8px; padding: 1.6rem 2rem; color: var(--text); font: 600 var(--text-m)/1.3 var(--font-head); text-decoration: none; }
.drawer__dash:hover { color: var(--tertiary); }
@media (min-width: 768px) { .drawer__contact { margin-bottom: 0; } }
/* the main links move into the drawer at the same width the header's .nav hides them (1179px, above) */
@media (max-width: 1179px) {
  .drawer__list--main { display: block; }
  .drawer nav { margin-top: 0; }
}
@media (max-width: 767px) {
  /* only the full-height panel has its own close button; above 767 px it covers the toggle at the toggle's size */
  .drawer__close { width: auto; height: auto; padding: .8rem; border-radius: 0 0 0 var(--radius-xs); }
  .drawer__close svg { width: 1.8rem; height: 1.8rem; }
  .drawer__backdrop { background: rgba(79, 37, 98, .65); }
  .drawer__panel { top: 0; right: 0; width: min(35rem, 100%); max-height: 100%; overflow-y: auto; opacity: 1; transform: translateX(100%); transition: transform .2s cubic-bezier(.25, 0, .25, 1); }
  .drawer:target .drawer__panel, .drawer.is-open .drawer__panel { transform: none; }
  .drawer__top { height: auto; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 0 0 2rem; margin-bottom: 2rem; }
  .drawer__logo { display: block; margin-top: 2rem; }
  .drawer__close { position: static; }
  .drawer__dash { display: flex; }
  .drawer__dash::after { content: ""; }
  .drawer__panel { padding-bottom: 2rem; }
}

/* ------------------------------------------------------------------ footer */
.site-footer { background: none; border: 0; padding: 0; }
.footer-cta { background: var(--box-dark); padding: var(--space-2xl) 0; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-l) var(--space-3xl); }
.footer-cta__title { margin: 0; font: 600 var(--text-xl)/1.3 var(--font-head); color: var(--heading); }
.footer-cta__title span { color: var(--secondary); }
.footer-cta__btn { flex-shrink: 0; display: inline-flex; justify-content: center; padding: .5em 1em; border-radius: var(--radius-xs); background: #fff; color: var(--primary); font: 600 var(--text-m)/1.3 var(--font-head); letter-spacing: .5px; text-decoration: none; transition: background-color .25s, color .25s; }
.footer-cta__btn:hover { background: var(--secondary); color: #fff; }
.footer-main { display: flex; align-items: flex-start; gap: var(--space-4xl); padding: 5rem max(var(--space-2xl), 14rem) 4rem var(--space-2xl); background: linear-gradient(180deg, var(--bg), hsla(200, 9.68%, 12.16%, 1)); border-bottom: 1.7rem solid var(--primary); }
.footer-logo { flex-shrink: 0; margin-top: 1rem; }
.footer-logo img { height: 4rem; width: auto; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; width: min(100%, 700px); }
.footer-nav { flex: 1; }
.footer-nav li { margin: 0; display: flex; min-width: 0; line-height: 1.3; }
.footer-nav a { min-width: 0; font-size: var(--text-s); line-height: 1.3; color: var(--heading); text-decoration: none; overflow-wrap: anywhere; hyphens: auto; transition: color .25s; }
.footer-nav a:hover { color: var(--secondary); }
.to-top { position: fixed; z-index: 10; right: var(--space-2xl); bottom: 6.2rem; width: 4.8rem; height: 4.8rem; display: grid; place-items: center; border-radius: 50%; color: var(--secondary); }
.to-top:hover { color: var(--tertiary); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.to-top__ring circle { fill: none; stroke: var(--box-dark); stroke-width: 15; }
.to-top__ring .to-top__line { stroke: #fff; stroke-width: 16; stroke-dasharray: 100; stroke-dashoffset: 0; }
.to-top__icon { position: relative; width: 1.6rem; height: auto; }
@supports (animation-timeline: scroll()) {
  .to-top { animation: to-top-show linear both; animation-timeline: scroll(root); animation-range: 0 100px; }
  .to-top__line { animation: to-top-progress linear both; animation-timeline: scroll(root); }
}
@keyframes to-top-show { from { opacity: 0; visibility: hidden; transform: translateY(10px); } to { opacity: 1; visibility: visible; transform: none; } }
@keyframes to-top-progress { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (max-width: 991px) {
  .footer-main { flex-direction: column; align-items: center; gap: var(--space-2xl); padding-right: var(--space-2xl); }
  .footer-nav { flex: none; width: 100%; display: flex; justify-content: center; }
  .footer-nav li { justify-content: center; text-align: center; }
  .to-top { bottom: 4rem; right: 2.3rem; }
}
@media (max-width: 767px) {
  .footer-cta__inner { flex-direction: column; align-items: flex-start; }
  /* two columns wide enough for long German labels (Datenschutzerklärung, Nutzungsbedingungen); they hyphenate if still too long */
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-m); width: min(100%, 36rem); }
  /* back-to-top: smaller and on a solid disc so it does not sit transparently over text */
  .to-top { width: 4rem; height: 4rem; right: 1.6rem; bottom: 2.4rem; background: var(--bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
  .to-top__icon { width: 1.4rem; }
}
@media (max-width: 478px) { .footer-main { padding-bottom: calc(4rem + var(--space-5xl)); } }

/* ------------------------------------------------------------------ news / resources hero */
.list-hero { position: relative; isolation: isolate; padding: calc(15rem - var(--header-h)) 0 var(--space-3xl); }
.list-hero::before { content: ""; position: absolute; z-index: -1; left: 0; top: calc(-1 * var(--header-h)); width: 75vw; height: calc(100% + var(--header-h)); background: linear-gradient(312.28deg, #010101 34.33%, #24292c 100%); opacity: .5; pointer-events: none; }
.list-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--space-xl) var(--space-4xl); }
.list-hero__info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
.subtitle { display: inline-block; margin: 0; padding-bottom: .5rem; border-bottom: 2px solid var(--secondary); font: 500 var(--text-m)/1.25 var(--font-label); color: var(--secondary); }
.list-hero__heading { margin: 0; font: 400 var(--text-2xl)/1.25 var(--font-body); color: var(--heading); text-wrap: balance; }
.list-hero--news .list-hero__info { padding-bottom: calc(var(--space-m) + 2rem); } /* the original keeps an empty row under the news heading */
.list-hero__desc { margin: 0; max-width: 540px; line-height: 1.3; }
.list-hero__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
@media (max-width: 991px) { .list-hero__grid { grid-template-columns: minmax(0, 1fr); } .list-hero__media { display: none; } }
@media (max-width: 767px) { .list-hero { padding-top: calc(15rem - var(--header-h)); } }

.list-content { padding: var(--space-m) 0 var(--space-3xl); }
.list-content--resources { padding-top: var(--space-3xl); }

/* news filter (original jet radio buttons) */
.news-filter { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 2rem; margin: 0 0 calc(var(--space-m) + var(--space-xl)); }
.news-filter button { font: 400 2.016rem/1.3 var(--font-body); padding: .4166em .654em; border: 0; border-radius: var(--radius-xs); background: var(--box-dark); color: var(--heading); cursor: pointer; transition: background-color .25s; }
.news-filter button[aria-pressed="true"] { background: var(--primary); border: 0; }
.news-filter button:hover, .news-filter button:focus-visible { background: var(--secondary); }

/* ------------------------------------------------------------------ news cards (.card-news-content) */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3xl); }
.post-card { position: relative; display: flex; flex-direction: column; gap: var(--space-m); height: 100%; background: none; border: 1px solid var(--box-dark); border-radius: var(--radius-xs); overflow: hidden; transition: border-color .3s; }
.post-card:hover { transform: none; border-color: var(--border-primary); }
.post-card.reveal.is-in:hover { transform: none; }
.post-card__img { position: relative; isolation: isolate; aspect-ratio: 3 / 2; display: flex; align-items: flex-end; justify-content: flex-start; padding: var(--space-s); background: none; overflow: visible; }
.post-card__img img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--box-dark); }
.post-card__tag { padding: var(--space-4xs) var(--space-2xs); border-radius: var(--radius-s); background: #fff; color: var(--bg); font: 500 var(--text-s)/1.5 var(--font-body); }
.post-card__body { flex: 1; display: flex; flex-direction: column; gap: var(--space-m); padding: var(--space-m); border-radius: var(--radius-m); }
.post-card__text { display: flex; flex-direction: column; gap: var(--space-xs); }
.post-card h3 { margin: 0; font: 500 var(--text-l)/1.3 var(--font-head); }
.post-card h3 a { color: var(--heading); text-decoration: none; transition: color .25s; }
.post-card h3 a:hover { color: var(--secondary); }
.post-card p { margin: 0; font-size: var(--text-m); line-height: 1.4; color: var(--text); }
.post-card__more { margin-top: auto; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; color: var(--secondary); transition: color .25s; }
.post-card:hover .post-card__more { color: var(--heading); }
@media (max-width: 1200px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .post-grid { gap: var(--space-2xl); } .post-card { gap: var(--space-s); } }
@media (max-width: 767px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 478px) { .post-grid { gap: var(--space-4xl); } }

/* ------------------------------------------------------------------ resources list (.card-resources-content) */
.res-group { margin: 0 0 var(--space-3xs); font: 600 var(--text-xl)/1.3 var(--font-head); color: var(--heading); }
.res-group__desc { margin: 0 0 var(--space-l); color: var(--text); }
.res-list + .res-group { margin-top: var(--space-4xl); }
.res-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.res-row { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: var(--space-xl) 0; border-bottom: 1px solid var(--secondary); }
.res-row:first-child { border-top: 1px solid var(--secondary); }
.res-row__tax { margin: 0; font: 500 var(--text-s)/1.6 var(--font-label); letter-spacing: .5px; text-transform: uppercase; color: var(--secondary); }
.res-row__main { display: flex; gap: 0; }
.res-row__title { flex: 1 1 0; margin: 0; padding-right: calc(var(--space-s) + var(--space-4xl)); font: 600 var(--text-xl)/1.3 var(--font-head); }
.res-row__title a { color: var(--heading); text-decoration: none; transition: color .25s; }
.res-row__title a:hover { color: var(--secondary); }
.res-row__side { flex: 1 1 0; display: flex; flex-direction: column; gap: var(--space-xl); }
.res-row__excerpt { margin: 0; line-height: 1.3; }
.res-row__btn { align-self: flex-end; padding: var(--space-3xs) var(--space-xs) var(--space-4xs); border: 1px solid var(--secondary); border-radius: var(--radius-xs); color: var(--secondary); font: 500 var(--text-xs)/1.3 var(--font-label); letter-spacing: .5px; text-decoration: none; transition: background-color .25s, color .25s; }
.res-row__btn:hover { background: var(--secondary); color: var(--bg); }
@media (max-width: 767px) { .res-row__main { flex-direction: column; gap: var(--space-m); } .res-row__title { padding-right: 0; } }

/* ------------------------------------------------------------------ post page (.single-post-*) */
.post-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; gap: var(--space-xl) var(--space-4xl); padding: calc(15rem - var(--header-h)) 0 var(--space-3xl) var(--space-5xl); }
.post-hero__info { display: flex; flex-direction: column; justify-content: center; gap: var(--space-xs); }
.post-hero__tax { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.post-hero__tax li { margin: 0; font: 500 var(--text-m)/1.6 var(--font-label); color: var(--secondary); }
.post-hero h1 { margin: 0; font-size: var(--text-2xl); line-height: 1.25; }
.post-hero__img { margin: 0; aspect-ratio: 3 / 2; background: var(--primary); align-self: center; width: 100%; } /* not stretched: a tall title row would widen a 3:2 figure past the screen */
.post-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.post-content { padding: var(--space-3xl) var(--space-5xl); }
.post-content__inner { max-width: 900px; display: flex; flex-direction: column; gap: var(--space-xl); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--primary); font-size: var(--text-s); line-height: 1.6; color: var(--text); }
.post-meta__avatar { width: 30px; height: 30px; }
.post-meta__divider { width: 20px; border-top: 2px solid var(--border-primary); }
.post-meta__reading { display: inline-flex; align-items: center; gap: 6px; }
.post-pdf { margin: 0; }
.post-foot { display: flex; align-items: center; justify-content: space-between; padding: var(--space-m) 0; border-top: 1px solid var(--primary); border-bottom: 1px solid var(--primary); }
.post-back { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--text-s)/1.3 var(--font-label); letter-spacing: .5px; color: var(--secondary); text-decoration: none; transition: color .25s; }
.post-back:hover { color: var(--tertiary); }
.post-related { padding: var(--space-3xl) 0; border-top: 1px solid var(--box-dark); }
.post-related h2 { font-size: var(--text-2xl); margin-bottom: var(--space-xl); }
@media (max-width: 991px) {
  .post-hero { padding: calc(15rem - var(--header-h)) var(--space-3xl) var(--space-3xl); }
  .post-content { padding: var(--space-3xl); }
}
@media (max-width: 767px) {
  .post-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-top: max(1.2rem, calc(10rem - var(--header-h))); }
  .post-hero__img { order: -1; }
  .post-hero__info { padding-right: var(--space-2xl); }
}

/* ------------------------------------------------------------------ rich text (.text-styles: posts + legal pages) */
.text-styles { font-size: var(--text-m); line-height: 1.6; color: var(--text); overflow-wrap: break-word; }
.text-styles p { margin: 0 0 1.2em; line-height: 1.6; }
.text-styles > :last-child { margin-bottom: 0; }
.text-styles h2, .text-styles h3, .text-styles h4 { margin: 1.5em 0 .5em; color: var(--heading); font-weight: 500; }
.text-styles h2 { font-size: var(--text-2xl); line-height: 1.25; }
.text-styles h3 { font-size: var(--text-xl); line-height: 1.3; }
.text-styles h4 { font-size: var(--text-l); line-height: 1.3; }
.text-styles h2 + h3, .text-styles h3 + h4 { margin-top: .5em; }
.text-styles > :first-child { margin-top: 0; }
.text-styles ul, .text-styles ol { margin: 1em 0; padding-left: 40px; }
.text-styles li { margin: 0; line-height: 1.6; }
.text-styles a { color: var(--secondary); text-decoration: underline; }
.text-styles a:hover { color: var(--tertiary); }
.text-styles strong { font-weight: 700; }
.text-styles img { border-radius: 0; margin: 1em 0; }
.text-styles figure { margin: 1em 0 1.4em; }
.text-styles figcaption { font-size: var(--text-s); color: var(--muted); text-align: center; }
.text-styles hr { border: 0; border-top: 2px solid #808080; margin: 1em 0; }
.text-styles blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--secondary); font-style: italic; }
.text-styles table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--text-s); display: block; overflow-x: auto; }
.text-styles th, .text-styles td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.text-styles code { background: var(--bg-3); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
/* posts: headings bold, bullet lists with the lime double-bar marker */
.post .text-styles h2 { font-weight: 700; }
.post .text-styles ul { list-style: none; padding-left: 0; margin: 30px 0 var(--space-m); }
.post .text-styles ul > li { position: relative; padding-left: 45px; margin-bottom: 8px; }
.post .text-styles ul > li::before { content: ""; position: absolute; left: 0; top: calc(.85em - 7px); width: 23px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='14' viewBox='0 0 23 14'%3E%3Cpath fill-rule='evenodd' d='M23 0H7.81101L4.33941 6.22229H19.5284L23 0ZM18.6605 7.77785H3.47152L0 14H15.189L18.6605 7.77785Z' fill='%23B6BC60'/%3E%3C/svg%3E") no-repeat; }

/* ------------------------------------------------------------------ legal pages (.page-section) */
.page-section { min-height: 60dvh; padding: calc(15rem - var(--header-h)) var(--space-5xl) var(--space-3xl); }
.page__container { width: 100%; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2xl); }
.page__title { margin: 0; font-size: var(--text-3xl); line-height: 1.25; }
@media (max-width: 991px) { .page-section { padding-left: var(--space-3xl); padding-right: var(--space-3xl); } }

/* ------------------------------------------------------------------ 404 */
.not-found { min-height: 45rem; padding: calc(15rem - var(--header-h)) 0 var(--space-3xl); display: flex; align-items: center; }
.not-found__container { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: var(--space-4xl) var(--space-5xl); }
.not-found__code { margin: 0; font: 500 clamp(12rem, 26.36vw, 50rem)/1.25 var(--font-label); color: var(--primary); }
.not-found__info { max-width: 34.4rem; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xl); }
.not-found__info h1 { margin: 0; font-size: var(--text-3xl); line-height: 1.3; }
.not-found__info p { margin: 0; line-height: 1.4; }
@media (min-width: 768px) { .not-found__code { margin-top: 12vw; } }
@media (max-width: 767px) { .not-found__container { flex-direction: column; align-items: flex-start; } .not-found__info { max-width: none; } }

/* ------------------------------------------------------------------ contact page */
.contact { position: relative; overflow-x: clip; padding: calc(30rem - var(--header-h)) 0 var(--space-5xl); min-height: calc(100vh - 19.67rem); }
.contact .wrap { padding-left: var(--space-4xl); padding-right: var(--space-4xl); }
.contact__container { position: relative; z-index: 2; display: flex; gap: var(--space-4xl); }
.contact-info { flex: 0 0 38rem; display: flex; flex-direction: column; gap: var(--space-s); }
.contact-info h1 { margin: 0; font-size: var(--text-3xl); line-height: 1.25; }
.contact-info__subtitle { order: -1; margin: 0; font: 500 var(--text-s)/1.6 var(--font-label); text-transform: uppercase; color: var(--secondary); }
.contact__image-mobile { display: none; order: -2; }
.contact-info__desc { margin: 0 0 2rem; line-height: 1.4; }
.contact-info__details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-m); }
.contact-info__details li { margin: 0; display: flex; gap: 1.6rem; font-size: var(--text-s); line-height: 1.3; color: var(--heading); }
.contact-info__details a { color: var(--heading); text-decoration: none; overflow-wrap: anywhere; transition: color .25s; }
.contact-info__details a:hover { color: var(--tertiary); }
.contact-info__icon { flex-shrink: 0; width: 2rem; height: 2rem; margin-top: 1px; fill: var(--secondary); }
.contact__form-container { position: relative; flex: 1; min-width: 0; max-width: 55rem; }
.contact__image { position: absolute; z-index: -1; left: 100%; bottom: 100%; width: 55rem; max-width: none; transform: translate(-25%, 40%); pointer-events: none; }
@media (max-width: 991px) {
  .contact { overflow: hidden; padding-top: calc(20rem - var(--header-h)); }
  .contact .wrap { padding-left: var(--space-3xl); padding-right: var(--space-3xl); }
  .contact__image { display: none; }
  .contact__image-mobile { display: block; }
  /* tablets: two columns leave the form too narrow, so details and form stack as on phones */
  .contact__container { flex-direction: column; gap: var(--space-3xl); }
  .contact-info { flex-basis: auto; }
}
@media (max-width: 767px) {
  .contact { padding-top: 0; }
  .contact__container { margin-top: calc(5rem - var(--header-h)); }
  .contact__container { flex-direction: column; gap: var(--space-3xl); }
  .contact-info { flex-basis: auto; }
  .contact__image-mobile { max-width: 30rem; align-self: flex-end; }
}

/* contact form (original .contact-form) */
.form.contact-form { display: flex; flex-wrap: wrap; gap: 0; }
.contact-form .form-group { flex: 1 1 100%; display: flex; flex-direction: column; padding-bottom: 20px; }
.contact-form .form-group--half-left, .contact-form .form-group--half-right { flex-basis: 50%; }
.contact-form label { display: block; padding-left: 2rem; margin: 0 0 .5rem; font: 500 var(--text-xs)/1.6 var(--font-label); text-transform: uppercase; letter-spacing: .4px; color: var(--secondary); }
.contact-form label.required::after { content: "*"; margin-left: 2px; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { width: 100%; padding: 4.5px 2rem; border: 1px solid var(--secondary); border-radius: var(--space-2xs); background-color: var(--bg); color: var(--text); font: 400 var(--text-s)/40px var(--font-body); box-shadow: none; }
.contact-form textarea { min-height: 9rem; height: 9rem; line-height: 1.6; resize: vertical; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 4rem;
  background-image: linear-gradient(45deg, transparent 50%, #808080 0), linear-gradient(135deg, #808080 50%, transparent 0); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px); background-size: 4px 4px; background-repeat: no-repeat; }
.contact-form input:not([type=checkbox]):focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(187, 108, 223, .35); }
.contact-form .form-group--half-left input { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-width: .5px; }
.contact-form .form-group--half-right input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-width: .5px; }
.contact-form .form-foot { flex: 1 1 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem 2.2rem; }
.contact-form .check { display: flex; gap: 0; align-items: flex-start; max-width: 32.8rem; padding: 0; margin: 0; font: 400 var(--text-xs)/1.25 var(--font-label); text-transform: none; letter-spacing: 0; color: var(--text); }
.contact-form .check a { color: var(--text); text-decoration: underline; }
.contact-form .check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; padding: 0; margin: 2px 17px 0 0; border: 1px solid var(--secondary); border-radius: 50%; background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.contact-form .check input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); transform: scale(0); transition: transform .15s; }
.contact-form .check input:checked::before { transform: scale(1); }
.contact-form .check input:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.contact-form__submit.btn { flex: 0 0 20rem; justify-content: center; padding: .5em 1em; border: 1px solid var(--primary); font: 600 var(--text-s)/1.3 var(--font-head); letter-spacing: .5px; }
.contact-form__submit.btn:hover { background: var(--secondary); border-color: var(--secondary); }
.contact-form .form-status { flex: 1 1 100%; margin-top: 1.2rem; font-size: var(--text-s); }
@media (max-width: 767px) {
  .contact-form .form-group--half-left, .contact-form .form-group--half-right { flex-basis: 100%; }
  .contact-form .form-group--half-left input, .contact-form .form-group--half-right input { border-radius: var(--space-2xs); border-width: 1px; }
  .contact-form .form-foot { flex-wrap: wrap; justify-content: flex-end; }
}

/* contact form human check: the backend's image captcha (fallback) or the Cloudflare Turnstile widget */
.contact-form .captcha__row { display: flex; align-items: center; gap: var(--space-s); flex-wrap: wrap; margin-bottom: var(--space-xs); }
.contact-form .captcha__img { width: 180px; height: 60px; border-radius: var(--space-2xs); background: var(--bg-3); }
.contact-form .captcha__new { background: transparent; border: 1px solid var(--secondary); color: var(--secondary); border-radius: var(--space-2xs); padding: .4em 1em; font: 500 var(--text-xs)/1.3 var(--font-label); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; transition: background-color .2s, color .2s; }
.contact-form .captcha__new:hover, .contact-form .captcha__new:focus-visible { background: var(--secondary); color: var(--bg); }
.contact-form .captcha input { text-transform: uppercase; letter-spacing: .2em; max-width: 30rem; }
.contact-form .captcha input::placeholder { text-transform: none; letter-spacing: normal; }
.contact-form .captcha-ts { min-height: 65px; }

/* Typography tuned to a Sitemark-like rhythm (Nov 2026): body ~19–20 px at 1.6 line spacing on desktop,
   headings tighter (1.1–1.15) with slightly closer letter spacing. Sizes come from the --text-* scale in site.css. */
h1, h2, h3 { letter-spacing: -0.01em; }
h1, .hero-stage__text h1 { line-height: 1.1; }
h2 { line-height: 1.15; }
h3 { line-height: 1.2; }
.lead { line-height: 1.45; }
.site-header__inner .nav a { font-size: 1.8rem; }
main h1 { line-height: 1.15; }
.hero-stage__text h1 { line-height: 1.1; }

/* Alignment pass: one heading scale for inner pages, readable line spacing, content edges lined up */
/* Solutions section heads match the other inner pages (h2 below the 39px page title, not above it) */
.so-section .section__head h2 { font: 600 var(--text-xl)/1.3 var(--font-head); }
/* Resources and News heroes use the same title face and weight as the other page heroes */
.list-hero__heading { font: 500 var(--text-2xl)/1.15 var(--font-head); }
.list-hero__desc { margin-top: var(--space-2xs); line-height: 1.5; }
.res-row__excerpt { line-height: 1.5; }
/* Company mission: chart at its own proportions, centered on the text, without the extra empty band below */
.co-row--top { align-items: center; padding-bottom: 0; }
.co-row--top .co-row__media img { aspect-ratio: auto; height: auto; }
/* Contact and footer start on the same left edge as the page content */
.contact .wrap { padding-left: var(--space-5xl); padding-right: var(--space-5xl); }
@media (min-width: 992px) { .footer-main { padding-left: var(--space-5xl); padding-right: var(--space-5xl); } }
@media (max-width: 991px) { .contact .wrap { padding-left: var(--space-3xl); padding-right: var(--space-3xl); } }
/* Phone header: the page-name crumb has no room next to the language and theme buttons, so hide it there and keep the buttons full size */
.header-actions, .header-actions > *, .site-header__inner .lang-menu { flex-shrink: 0; }
@media (max-width: 479px) { .crumbs { display: none; } }
/* German: hyphenate only long words (short ones like "beherrschen" or "gescannte" move to the next line whole) */
:lang(de) * { hyphenate-limit-chars: 12 5 5; }
:lang(de) :is(h1, h2) { hyphenate-limit-chars: 14 6 6; }

/* ================================================================== daytime theme
   The site follows the device's light/dark setting unless the visitor picks Daytime or Night in the header's theme
   menu. <html data-theme="light"> (set by /js/theme.js from that mode) switches
   to the daytime theme: the corporate light look (light grey wash F1F0F3, Pitchblack headings, Dark Grey body,
   black logo with the green accent, Purple only for links and small accents). No stark white page grounds.
   Photo heroes, photo bands and the night-plant animations stay dark ("night islands"), so the photography and the
   white text on it are unchanged. Loaded last, so it overrides the rules above with the same specificity + 1. */

/* ---------- theme menu (both themes): a solid button like "Dashboard", so it reads over every hero and photo.
   Shown as soon as theme.js has run in <head> (.has-theme); without JavaScript there is nothing to switch. */
.theme-menu { position: relative; flex: none; margin-right: 1rem; }
:root:not(.has-theme) .theme-menu { display: none; }
.theme-btn { display: grid; place-items: center; width: 4rem; height: 4rem; padding: 0; list-style: none; border-radius: var(--radius-xs); background: var(--box-dark); color: var(--heading); cursor: pointer; transition: color .25s, background-color .25s; }
.theme-btn::-webkit-details-marker { display: none; }
.theme-btn:hover, .theme-menu[open] .theme-btn { background: var(--secondary); color: #fff; }
.theme-btn svg { width: 2rem; height: 2rem; }
.theme-btn svg, .logo-day { display: none; }
:root[data-theme-mode="system"] .theme-btn .theme-ico--system,
:root[data-theme-mode="light"] .theme-btn .theme-ico--light,
:root[data-theme-mode="dark"] .theme-btn .theme-ico--dark { display: block; }
.theme-menu__list { position: absolute; top: calc(100% + .6rem); right: 0; z-index: 70; min-width: 16rem; margin: 0; padding: .6rem; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-xs); background: linear-gradient(139deg, var(--bg) 0%, var(--box-dark) 100%); box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.theme-menu__list li { margin: 0; }
.theme-menu__list button { display: flex; align-items: center; gap: 1rem; width: 100%; padding: .8rem 1rem; border: 0; border-radius: var(--radius-xs); background: none; color: var(--text); font: 400 var(--text-s)/1.3 var(--font-body); text-align: left; cursor: pointer; }
.theme-menu__list button:hover { color: var(--heading); background: rgb(var(--ink) / .06); }
.theme-menu__list button[aria-checked="true"] { color: var(--secondary); font-weight: 600; }
.theme-menu__list svg { flex: none; width: 1.8rem; height: 1.8rem; }
/* language button in the header (globe + current language), styled like the theme button */
.lang-menu { position: relative; flex: none; margin-right: 1rem; }
.lang-btn { display: flex; align-items: center; gap: .6rem; height: 4rem; padding: 0 1.2rem; list-style: none; border-radius: var(--radius-xs); background: var(--box-dark); color: var(--heading); font: 500 var(--text-s)/1 var(--font-head); cursor: pointer; white-space: nowrap; transition: color .2s, background .2s; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover, .lang-menu[open] .lang-btn { background: var(--secondary); color: #fff; }
.lang-btn .lang-icon { width: 1.9rem; height: 1.9rem; }
.lang-menu__list { position: absolute; top: calc(100% + .6rem); right: 0; z-index: 70; min-width: 16rem; margin: 0; padding: .6rem; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-xs); background: linear-gradient(139deg, var(--bg) 0%, var(--box-dark) 100%); box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.lang-menu__list li { margin: 0; }
.lang-menu__list a { display: block; padding: .8rem 1rem; border-radius: var(--radius-xs); color: var(--text); font: 400 var(--text-s)/1.3 var(--font-body); text-decoration: none; }
.lang-menu__list a:hover { color: var(--heading); background: rgb(var(--ink) / .06); }
.lang-menu__list a[aria-current] { color: var(--secondary); font-weight: 600; }
:root[data-theme="light"] .lang-menu__list { box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
@media (max-width: 1179px) { .lang-menu { margin-left: auto; } .lang-menu + .theme-menu { margin-left: 0; } .theme-menu { margin-left: auto; } .lang-menu ~ .theme-menu { margin-left: 0; } .theme-menu + .header-actions { margin-left: 0; } }
@media (max-width: 420px) { .lang-btn { padding: 0 1rem; } .lang-menu { margin-right: .6rem; } }

:root[data-theme="light"] .logo-night { display: none; }
:root[data-theme="light"] .logo-day { display: block; }
:root[data-theme="light"] .theme-menu__list { box-shadow: 0 8px 24px rgb(0 0 0 / .12); }

/* ---------- palette */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f0f3;
  --bg-2: #e9e7ec;
  --bg-3: #e1dfe5;
  --text: #3d4247;
  --muted: #625c69;
  --heading: #010101;
  --strong: #24292c;
  --secondary: #86399f;        /* Purple, deepened for text contrast on the light wash (>= 5:1) */
  --tertiary: #6f7a1f;
  --lime: #7f8432;             /* Green family, readable on light */
  --border: #d3d0d8;
  --border-primary: #cfc6d6;
  --line: rgba(1, 1, 1, .1);
  --ink: 1 1 1;
  --box-dark: #e6e4ea;         /* name kept from the night theme: the secondary panel colour */
  --bg-box-dark: #e3e1e6;
  --b-dark-box: #e3e1e6;
  --panel: #f8f7f9;
  --card-bg: linear-gradient(45deg, #e6e4ea, #f6f5f8 55%, #f6f5f8);
  --qe-gradient-bl: linear-gradient(45deg, #e3e1e6, var(--bg), var(--bg));
  --qe-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 14'%3E%3Cpath fill='%2395993E' fill-rule='evenodd' d='M23 0H7.811L4.339 6.222H19.528L23 0ZM18.66 7.778H3.472L0 14H15.189L18.66 7.778Z'/%3E%3C/svg%3E");
  --qe-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M1 1L25 25L49 1' stroke='%2386399F' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ---------- night islands
   By day the page is light end to end. The night photographs stay as photographs: in the side-photo heroes the text column
   is light and the photo keeps its own frame. Only where text sits on a night photo (every hero on tablet and phone)
   does the block keep the night palette. */
@media (max-width: 991px) {
  :root[data-theme="light"] :is(.b-hero, .qa-hero) {
    color-scheme: dark;
    --bg: #070709; --bg-2: #0e0e12; --bg-3: #16161b;
    --text: #c0c0c0; --muted: #8d8d94; --heading: #ffffff; --strong: #d6d6d6;
    --secondary: #bb6cdf; --tertiary: #a0b549; --lime: #b7bc60;
    --border: hsla(274, 14%, 32%, 1); --border-primary: hsla(274, 14%, 32%, 1); --line: rgba(255, 255, 255, .1); --ink: 255 255 255;
    --box-dark: #1e1f1f; --bg-box-dark: #1e1f1f; --b-dark-box: #1e1f1f; --panel: #15181b;
    --card-bg: linear-gradient(45deg, #1e1f1f, #070709 55%, #070709);
    --qe-gradient-bl: linear-gradient(45deg, #1e1f1f, #070709, #070709);
    --qe-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 14'%3E%3Cpath fill='%23B6BC60' fill-rule='evenodd' d='M23 0H7.811L4.339 6.222H19.528L23 0ZM18.66 7.778H3.472L0 14H15.189L18.66 7.778Z'/%3E%3C/svg%3E");
    --qe-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M1 1L25 25L49 1' stroke='%23BB6CDF' stroke-width='1.5'/%3E%3C/svg%3E");
    color: var(--text);
    background-color: #070709;
  }
  :root[data-theme="light"] .b-page .b-hero { --b-dark-box: #1e1f1f; }
}

/* ---------- base */
:root[data-theme="light"] a:hover { color: #5f2178; }
:root[data-theme="light"] .lead { color: var(--strong); }
:root[data-theme="light"] .prose blockquote { color: var(--strong); }
:root[data-theme="light"] .form input, :root[data-theme="light"] .form select, :root[data-theme="light"] .form textarea { background: var(--panel); color: var(--heading); }
:root[data-theme="light"] .form-status.err { color: #b42318; }

/* ---------- header and menu */
:root[data-theme="light"] .site-header.is-scrolled { background: rgba(241, 240, 243, .92); border-bottom-color: var(--line); }
:root[data-theme="light"] .nav a:hover { color: var(--tertiary); border-color: var(--tertiary); }
:root[data-theme="light"] .header-actions .dash { background: var(--box-dark); color: var(--strong); }
:root[data-theme="light"] .header-actions .dash:hover, :root[data-theme="light"] .menu-btn:hover { background: var(--secondary); color: #fff; }
:root[data-theme="light"] .drawer__panel { background: linear-gradient(139deg, #f6f5f8 0%, #e6e4ea 100%); box-shadow: 0 10px 30px rgba(1, 1, 1, .12); }
:root[data-theme="light"] .drawer__close { background: var(--box-dark); color: var(--heading); }
:root[data-theme="light"] .drawer__logo { color: var(--heading); }
:root[data-theme="light"] .drawer__logo g { fill: #95993e; }
:root[data-theme="light"] .drawer nav a { border-bottom-color: var(--line); }
:root[data-theme="light"] .drawer__contact:hover { background: var(--secondary); color: #fff; }
:root[data-theme="light"] .lang-switch summary:hover, :root[data-theme="light"] .lang-switch a:hover { color: var(--secondary); }

/* ---------- footer */
:root[data-theme="light"] .footer-cta__btn { background: var(--primary); color: #fff; }
:root[data-theme="light"] .footer-cta__btn:hover { background: var(--secondary); color: #fff; }
:root[data-theme="light"] .footer-main { background: linear-gradient(180deg, var(--bg), #e3e1e6); }
:root[data-theme="light"] .to-top__ring .to-top__line { stroke: var(--secondary); }
:root[data-theme="light"] .to-top__ring circle { stroke: #dcd9e0; }
@media (max-width: 767px) { :root[data-theme="light"] .to-top { box-shadow: 0 2px 10px rgba(1, 1, 1, .15); } }


/* ---------- home */
/* home hero: stays a night scene in both themes (user, 6 Nov). hero-gl.js always draws the night field; the block keeps
   the night palette, so the logo and tagline are unchanged, and it ends in a straight edge against the light page. */
:root[data-theme="light"] :is(.hero-stage__motion, .hero-sting) {
  color-scheme: dark;
  --bg: #070709; --bg-2: #0e0e12; --bg-3: #16161b;
  --text: #c0c0c0; --muted: #8d8d94; --heading: #ffffff; --strong: #d6d6d6;
  --secondary: #bb6cdf; --tertiary: #a0b549; --lime: #b7bc60;
  --border: hsla(274, 14%, 32%, 1); --border-primary: hsla(274, 14%, 32%, 1); --line: rgba(255, 255, 255, .1); --ink: 255 255 255;
  --box-dark: #1e1f1f; --bg-box-dark: #1e1f1f; --b-dark-box: #1e1f1f; --panel: #15181b;
  --card-bg: linear-gradient(45deg, #1e1f1f, #070709 55%, #070709);
  --qe-gradient-bl: linear-gradient(45deg, #1e1f1f, #070709, #070709);
  --qe-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 14'%3E%3Cpath fill='%23B6BC60' fill-rule='evenodd' d='M23 0H7.811L4.339 6.222H19.528L23 0ZM18.66 7.778H3.472L0 14H15.189L18.66 7.778Z'/%3E%3C/svg%3E");
  --qe-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M1 1L25 25L49 1' stroke='%23BB6CDF' stroke-width='1.5'/%3E%3C/svg%3E");
  color: var(--text);
  background-color: #010101;
}
:root[data-theme="light"] .hp-hero { background-image: none; }
/* intro: the night plant photo behind the zoom motion is left out by day */
:root[data-theme="light"] .hp-intro { background: none; }
:root[data-theme="light"] .hp-intro::before { content: none; }

/* customer, partner and investor logos are white artwork on night: shown in black by day */
:root[data-theme="light"] :is(.hp-logos__grid, .co-logos__grid) img { filter: invert(1) grayscale(1); mix-blend-mode: multiply; opacity: .85; }

/* ---------- motions (canvas): drawn for the day ground by /js/qem/theme.js (player.js), so they sit on the page
   like in the night theme; only the placeholder ground before the first frame changes */
:root[data-theme="light"] .anim:not(.anim--hero), :root[data-theme="light"] .hp-intro__motion .anim { background: var(--bg); }
/* the night drone EL survey stays a night scene in both themes (user, 6 Nov; NIGHT_ONLY in player.js): a plain dark frame */
:root[data-theme="light"] .anim[data-anim="m02_night_el"] { background: #070709; }

/* ---------- news / resources list hero */
:root[data-theme="light"] .list-hero::before { background: linear-gradient(312.28deg, var(--bg) 34.33%, #e3e1e6 100%); opacity: 1; }

/* the header is solid by day: it sits over the night photo heroes, where a clear header would hide the dark nav */
:root[data-theme="light"] .site-header { background: rgba(241, 240, 243, .94); backdrop-filter: saturate(1.4) blur(7px); -webkit-backdrop-filter: saturate(1.4) blur(7px); }
:root[data-theme="light"] .b-page { --b-dark-box: #e6e4ea; }

/* ---------- news cards */
:root[data-theme="light"] .post-card__tag { background: var(--primary); color: #fff; }
:root[data-theme="light"] .post-card { border-color: var(--border); }

/* ---------- heroes by day: light text column (same wash as the list heroes), photo beside it in its own frame */
:root[data-theme="light"] :is(.b-hero, .qa-hero)::before { background: linear-gradient(312.28deg, var(--bg) 34.33%, #e3e1e6 100%); opacity: 1; }
@media (max-width: 991px) {
  :root[data-theme="light"] :is(.b-hero, .qa-hero)::before { background: linear-gradient(312.28deg, #010101 34.33%, #24292c 76.94%, transparent 100%); opacity: .5; }
}

/* ---------- photo bands become light bands by day: no night photo behind text, a quiet tinted ground instead */
:root[data-theme="light"] .hp-help { background: linear-gradient(180deg, var(--bg), var(--bg-2) 18%, var(--bg-2) 82%, var(--bg)); }
:root[data-theme="light"] .hp-help::before { content: none; }
:root[data-theme="light"] .hp-help__card { background: var(--panel); border-color: var(--border-primary); box-shadow: 0 1px 2px rgba(1, 1, 1, .04); }
:root[data-theme="light"] .hp-help__title { border-bottom-color: var(--border-primary); color: var(--heading); }

:root[data-theme="light"] .qe-cta-strip { background: linear-gradient(90deg, #e7deed, var(--bg-2) 70%); border-top: 1px solid var(--border-primary); border-bottom: 1px solid var(--border-primary); }
:root[data-theme="light"] .qe-cta-strip::before { content: none; }
:root[data-theme="light"] .qe-cta-strip__btn, :root[data-theme="light"] .co-cta__btn { background: var(--primary); color: #fff; }
:root[data-theme="light"] .qe-cta-strip__btn:hover, :root[data-theme="light"] .co-cta__btn:hover { background: var(--secondary); color: #fff; }

:root[data-theme="light"] :is(.co-cta, .b-cta) { padding: var(--space-4xl) 0; background: var(--bg-2); }
:root[data-theme="light"] :is(.co-cta, .b-cta)::before, :root[data-theme="light"] :is(.co-cta__bg, .b-cta__bg) { display: none; }
:root[data-theme="light"] .co-cta__box, :root[data-theme="light"] .b-cta > .wrap { margin-bottom: 0; }
:root[data-theme="light"] :is(.co-cta__box, .b-cta__box) { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--secondary); }
:root[data-theme="light"] :is(.co-cta__box, .b-cta__box) h2 { color: var(--heading); }

:root[data-theme="light"] .cta-band { background: var(--bg-2); }
:root[data-theme="light"] .cta-band > img, :root[data-theme="light"] .cta-band::before { display: none; }

:root[data-theme="light"] .b-btn-light { background: var(--primary); color: #fff; }
:root[data-theme="light"] .b-btn-light:hover { background: var(--secondary); color: #fff; }

/* tablet and phone: the hero description sits below the photo on its own ground, so it takes the day palette */
@media (max-width: 991px) {
  :root[data-theme="light"] .qa-hero .qa-hero__desc { --bg: #f1f0f3; --text: #3d4247; --heading: #010101; --strong: #24292c; --secondary: #86399f; --border: #d3d0d8; color: var(--text); background: var(--bg); }
}

/* cut-out product photos with a night glow (purple halo, lamp flare): by day they keep the original photo and sit on a
   plain dark panel, so the glow shows as designed (user, 6 Nov). The Technology call to action stays a night band. */
:root[data-theme="light"] :is(.b-tech-item__media img[src*="tech_02_hardware"], .b-split__media img[src*="technology-imaging"], .contact__image-mobile) {
  background: #070709; padding: clamp(16px, 2.5vw, 36px); border-radius: var(--radius-xs); box-sizing: border-box;
}
:root[data-theme="light"] .b-tech-cta {
  color-scheme: dark;
  --bg: #070709; --bg-2: #0e0e12; --bg-3: #16161b;
  --text: #c0c0c0; --muted: #8d8d94; --heading: #ffffff; --strong: #d6d6d6;
  --secondary: #bb6cdf; --tertiary: #a0b549; --lime: #b7bc60;
  --border: hsla(274, 14%, 32%, 1); --border-primary: hsla(274, 14%, 32%, 1); --line: rgba(255, 255, 255, .1); --ink: 255 255 255;
  --box-dark: #1e1f1f; --bg-box-dark: #1e1f1f; --b-dark-box: #1e1f1f; --panel: #15181b;
  --card-bg: linear-gradient(45deg, #1e1f1f, #070709 55%, #070709);
  --qe-gradient-bl: linear-gradient(45deg, #1e1f1f, #070709, #070709);
  --qe-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 14'%3E%3Cpath fill='%23B6BC60' fill-rule='evenodd' d='M23 0H7.811L4.339 6.222H19.528L23 0ZM18.66 7.778H3.472L0 14H15.189L18.66 7.778Z'/%3E%3C/svg%3E");
  --qe-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M1 1L25 25L49 1' stroke='%23BB6CDF' stroke-width='1.5'/%3E%3C/svg%3E");
  color: var(--text);
  background-color: #070709;
}
:root[data-theme="light"] .b-tech-cta .b-btn-light { background: #fff; color: var(--primary); }
:root[data-theme="light"] .b-tech-cta .b-btn-light:hover { background: var(--secondary); color: #fff; }
/* contact by day: the floating drone moves into its own dark panel under the contact details */
@media (min-width: 992px) {
  :root[data-theme="light"] .contact__image { display: none; }
  :root[data-theme="light"] .contact__image-mobile { display: block; order: 10; width: 100%; margin-top: var(--space-2xl); }
}
:root[data-theme="light"] .b-split__media img[src*="technology-imaging"] { width: calc(100% - var(--space-2xl)); }
@media (min-width: 768px) {
  :root[data-theme="light"] .b-tech-cta { padding-top: 0; }
  :root[data-theme="light"] .b-tech-cta__drone { top: 0; height: 100%; }
}

/* Appearance row in the site menu: label left, three small icon buttons right (names as tooltips and for screen readers) */
.theme-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.6rem; border-top: 1px solid var(--border); }
:root:not(.has-theme) .theme-row { display: none; }
.theme-row__label { font: 400 var(--text-s)/1.3 var(--font-body); color: var(--muted); }
.theme-row__opts { display: flex; gap: .2rem; }
.theme-row button { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; padding: 0; border: 0; border-radius: var(--radius-xs); background: none; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.theme-row button:hover { color: var(--heading); }
.theme-row button[aria-checked="true"] { color: var(--secondary); background: rgb(var(--ink) / .08); }
.theme-row svg { width: 1.7rem; height: 1.7rem; }
/* method matrix on phones: the sticky first column takes the daytime background too */
@media (max-width: 767px) { :root[data-theme="light"] .so-matrix tbody th, :root[data-theme="light"] .so-matrix thead tr:first-child th:first-child { background: var(--bg); } }
