/*
Theme Name: Tech2Energy
Theme URI: https://tech2energy.com
Author: Tech2Energy
Description: Motyw strony Tech2Energy – elektrolizery PEM. Strony PL i EN, edytowalne treści, SEO, formularz kontaktowy. Po aktywacji uruchom: Tech2Energy → Konfiguracja.
Version: 1.5.1
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: tech2energy
*/

/* ---------- self-hosted fonts (SIL Open Font License 1.1) — no requests to Google ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/montserrat-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/montserrat-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/instrument-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/instrument-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }


/* =========================================================
   Tech2Energy — design tokens
   Palette sampled from the company letterhead chevrons:
   deep sea #065B54 → teal #239385 → turquoise #3CC4B0 / #3BB6BB → mint #64DFC0,
   fading into near-black #061315.
   ========================================================= */
:root {
  /* brand */
  --teal-900: #065B54;
  --teal-700: #1A625F;
  --teal-600: #239385;
  --turq: #3CC4B0;
  --cyan: #3BB6BB;
  --mint: #64DFC0;
  --accent: var(--turq);

  /* dark surfaces */
  --night: #061315;
  --deep: #0A2124;
  --deep-2: #10302F;
  --on-dark: #EAF6F4;
  --on-dark-muted: #A2BDBA;
  --line-dark: rgba(162, 214, 206, .16);

  /* light surfaces */
  --paper: #FFFFFF;
  --tint: #EEF5F4;
  --ink: #0E1D20;
  --ink-2: #33474A;
  --muted: #56696C;
  --line: #D3E2E0;
  --teal-text: #0D7A70;
  --danger: #B42318;

  /* type */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  /* spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 136px;

  --radius: 10px;
  --radius-lg: 14px;
  --round-top: 24px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms; --dur-2: 280ms; --dur-3: 900ms;

  --header-h: 84px;
  --container: 1240px;

  --z-base: 1; --z-header: 40; --z-drawer: 50; --z-skip: 100;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink-2);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 var(--s-4); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; }
.display-2 { font-size: clamp(2rem, 4.1vw, 3.5rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .section-dark :focus-visible, .site-footer :focus-visible, 
.site-header.is-on-dark :focus-visible, .product-featured :focus-visible { outline-color: var(--mint); }

.skip-link { position: fixed; left: var(--s-4); top: -80px; z-index: var(--z-skip); background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: 8px; }
.skip-link:focus { top: var(--s-3); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
@media (max-width: 600px) { .container { padding: 0 var(--s-4); } }

/* sections */
.section { position: relative; padding: var(--s-10) 0; }
.section-light { background: var(--paper); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--deep); color: var(--on-dark-muted); overflow: hidden; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.rounded-top { border-radius: var(--round-top) var(--round-top) 0 0; margin-top: calc(-1 * var(--round-top)); z-index: var(--z-base); }
@media (max-width: 768px) { .section { padding: var(--s-8) 0 calc(var(--s-8) + 12px); } :root { --round-top: 16px; } }

.kicker {
  display: flex; align-items: center; gap: var(--s-3);
  font: 500 .82rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: var(--s-5);
}
.kicker-num { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.kicker-num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: var(--s-3); opacity: .6; }
.kicker-light { color: var(--mint); }
.kicker-light .kicker-num { color: var(--on-dark-muted); }

.section-head { max-width: 820px; margin-bottom: var(--s-8); }
.section-lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 40em; }
.large { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink) !important; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 var(--s-5);
  border-radius: 8px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
  touch-action: manipulation;
}
.btn-arrow { display: inline-flex; }
.btn-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .btn-arrow .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; font-size: .92rem; padding: 0 var(--s-4); }
.btn-lg { min-height: 54px; font-size: 1.02rem; padding: 0 28px; }

.btn-primary:hover { --btn-bg: var(--teal-900); }
.btn-line { --btn-bg: transparent; --btn-fg: var(--ink); border-color: #b9cecb; }
.btn-line:hover { border-color: var(--ink); }

/* on dark: turquoise primary, light outline */
.hero .btn-primary, .section-dark .btn-primary, .product-featured .btn-primary, .site-header.is-on-dark .btn-primary { --btn-bg: var(--turq); --btn-fg: #04201F; }
.hero .btn-primary:hover, .section-dark .btn-primary:hover, .product-featured .btn-primary:hover, .site-header.is-on-dark .btn-primary:hover { --btn-bg: var(--mint); }
.hero .btn-line, .section-dark .btn-line { --btn-fg: var(--on-dark); border-color: rgba(234,246,244,.3); }
.hero .btn-line:hover, .section-dark .btn-line:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-2), border-color var(--dur-2), transform .45s var(--ease-out);
}
.site-header.is-on-dark { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-6); }
.brand { position: relative; display: block; flex: none; height: 48px; }
.brand img { height: 48px; width: auto; transition: opacity var(--dur-2); }
.brand .logo-dark { position: absolute; inset: 0; }
.site-header.is-on-dark .logo-dark, .site-header:not(.is-on-dark) .logo-light { opacity: 0; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: var(--s-1); }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: color var(--dur-1);
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur-2) var(--ease-out);
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="true"] { color: var(--teal-text); }
.site-header.is-on-dark .main-nav a:not(.btn) { color: rgba(234,246,244,.86); }
.site-header.is-on-dark .main-nav a:not(.btn):hover { color: #fff; }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.lang-switch button {
  min-width: 40px; min-height: 34px; border: 0; border-radius: 6px; background: transparent; cursor: pointer;
  font: 600 .78rem/1 var(--font-body); color: var(--muted); letter-spacing: .08em;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.site-header.is-on-dark .lang-switch { border-color: rgba(234,246,244,.25); }
.site-header.is-on-dark .lang-switch button { color: rgba(234,246,244,.7); }
.site-header.is-on-dark .lang-switch button[aria-pressed="true"] { background: rgba(234,246,244,.95); color: var(--night); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.site-header.is-on-dark .nav-toggle { color: #fff; border-color: rgba(234,246,244,.3); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-drawer); margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-6);
    box-shadow: 0 30px 40px -30px rgba(6,19,21,.4);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease-out), visibility 0s linear .45s;
  }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-out); }
  .main-nav ul { flex-direction: column; gap: 0; margin-bottom: var(--s-5); }
  .main-nav a:not(.btn), .site-header.is-on-dark .main-nav a:not(.btn) { color: var(--ink); padding: 16px 4px; font: 400 1.5rem/1.2 var(--font-display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; }
  .header-actions { margin-left: auto; }
  .site-header.nav-open { background: var(--paper); border-bottom-color: var(--line); }
  .site-header.nav-open .logo-dark { opacity: 1; } .site-header.nav-open .logo-light { opacity: 0; }
  .site-header.nav-open .nav-toggle { color: var(--ink); border-color: var(--line); }
  .site-header.nav-open .lang-switch { border-color: var(--line); }
  .site-header.nav-open .lang-switch button { color: var(--muted); }
  .site-header.nav-open .lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + var(--s-8)) 0 calc(var(--s-9) + var(--round-top));
  color: var(--on-dark-muted);
  background: radial-gradient(1000px 640px at 80% 40%, rgba(35,147,133,.2), transparent 62%), var(--night);
}
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
@keyframes chev-in { to { opacity: 1; transform: none; } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,19,21,.86) 0%, rgba(6,19,21,.55) 38%, rgba(6,19,21,0) 64%),
              linear-gradient(0deg, rgba(6,19,21,.6) 0%, rgba(6,19,21,0) 30%);
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 4.9vw, 4.2rem); max-width: 10em; margin-bottom: var(--s-6); }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { font-size: clamp(1.05rem, 1.45vw, 1.25rem); color: #C3D8D5; max-width: 29em; margin-bottom: var(--s-7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.js .hero .kicker, .js .hero h1, .js .hero .lead, .js .hero-ctas { opacity: 0; transform: translateY(12px); animation: rise-in .6s var(--ease-out) forwards; }
.js .hero h1 { animation-delay: .06s; }
.js .hero .lead { animation-delay: .14s; }
.js .hero-ctas { animation-delay: .22s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }


@media (max-width: 900px) {
  .hero::after { background: linear-gradient(90deg, rgba(6,19,21,.8), rgba(6,19,21,.35)), linear-gradient(0deg, rgba(6,19,21,.7), transparent 40%); }
}
@media (max-width: 600px) { .hero-ctas .btn { flex: 1 1 100%; justify-content: space-between; } }

/* ---------- reveal on scroll (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- media ---------- */
.about-media, .cons-img, .app-row-img { overflow: hidden; border-radius: var(--radius-lg); }

/* ---------- about ---------- */
.about-intro { max-width: 900px; margin-bottom: var(--s-8); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-9); align-items: start; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.about-badge {
  position: absolute; left: var(--s-5); bottom: var(--s-5);
  display: flex; gap: var(--s-3); align-items: center;
  background: var(--night);
  color: var(--on-dark); padding: var(--s-4) var(--s-5); border-radius: var(--radius);
  font-size: .92rem; line-height: 1.35;
}
.about-badge strong { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.about-badge .icon { color: var(--mint); }
.about-copy > p { color: var(--muted); }
.pillars { margin-top: var(--s-7); }
.pillars li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars .icon { color: var(--teal-text); margin-top: 3px; }
.pillars h3 { font-size: 1.12rem; margin-bottom: var(--s-1); }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-7); } .about-media img { aspect-ratio: 16 / 10; } }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: border-color var(--dur-2);
}
.product:hover { border-color: #9fbdb8; }
.product-featured {
  background: var(--deep);
  border-color: transparent; color: var(--on-dark-muted);
}
.product-featured h3, .product-featured .specs dd, .product-featured .checks li { color: var(--on-dark); }
.product-featured .specs, .product-featured .specs > div { border-color: var(--line-dark); }
.product-featured .specs dt, .product-featured .product-sub { color: var(--on-dark-muted); }
.product-featured .product-tier { color: var(--mint); }
.product-featured .power-scale { background: rgba(255,255,255,.1); }
.product-featured:hover { border-color: transparent; }
.product-tier { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.product h3 { font-size: 1.75rem; font-weight: 400; margin: var(--s-3) 0 var(--s-2); letter-spacing: -.03em; }
.product-sub { color: var(--muted); font-size: .98rem; min-height: 3.3em; }
.power-scale { position: relative; height: 4px; border-radius: 4px; background: var(--tint); margin: var(--s-4) 0 var(--s-5); }
.power-scale span { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 4px; background: var(--accent); }
.specs { margin: 0 0 var(--s-5); border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .93rem; }
.specs dd { margin: 0; text-align: right; font-weight: 600; font-size: .95rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.specs dd small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.product-featured .specs dd small { color: var(--on-dark-muted); }
.checks { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.checks li { position: relative; padding-left: 24px; font-size: .96rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 10px; height: 10px; clip-path: polygon(0 0, 100% 50%, 0 100%); background: var(--accent); }
.product-cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 1024px) { .products { grid-template-columns: 1fr; max-width: 640px; } .product-sub { min-height: 0; } }

/* ---------- technology (dark) ---------- */
.section-dark .container { position: relative; }
.tech-copy .display-2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.tech-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: center; }
.tech-copy > p { font-size: 1.05rem; }

.pem { padding: var(--s-5); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255,255,255,.03); }
.pem-svg { width: 100%; height: auto; display: block; overflow: visible; }
.pem figcaption { font-size: .9rem; margin-top: var(--s-3); color: var(--on-dark-muted); }
.pm-wire { fill: none; stroke: #4E6E6C; stroke-width: 2; }
.pm-src { fill: var(--deep); stroke: var(--mint); stroke-width: 2; }
.pm-src-t { font: 600 12px var(--font-body); fill: var(--mint); letter-spacing: .05em; }
.pm-sign { font: 600 14px var(--font-body); fill: var(--on-dark-muted); }
.pm-e { font: 500 13px var(--font-body); fill: #F4D06F; }
.pm-electrons circle { fill: #F4D06F; }
.pm-plate { fill: url(#pm-plate); stroke: #28504E; }
.pm-channels path { stroke: rgba(162,214,206,.12); stroke-width: 1; stroke-dasharray: 3 5; }
.pm-cat-a { fill: var(--cyan); opacity: .85; }
.pm-cat-c { fill: var(--mint); opacity: .85; }
.pm-mem { fill: url(#pm-mem); }
.pm-mem-edge { stroke: var(--turq); stroke-width: 1; stroke-dasharray: 4 3; fill: none; }
.pm-protons circle { fill: var(--night); stroke: var(--mint); stroke-width: 1.5; }
.pm-protons text { font: 600 8.5px var(--font-body); fill: var(--mint); }
.pm-bub circle { fill: url(#pm-bub); stroke-width: 1.2; }
.pm-bub-o2 { color: #9CB6B3; } .pm-bub-o2 circle { stroke: #9CB6B3; }
.pm-bub-h2 { color: var(--mint); } .pm-bub-h2 circle { stroke: var(--mint); }
.pm-flow { stroke: var(--on-dark-muted); stroke-width: 1.5; fill: none; }
.pm-flow-h2 { stroke: var(--mint); }
.pm-io { font: 600 14px var(--font-body); fill: var(--on-dark); }
.pm-io-h2 { fill: var(--mint); }
.pm-label { font: 500 13px var(--font-body); fill: var(--on-dark); letter-spacing: .02em; }
.pm-label-mem { fill: var(--turq); }
.pm-eq { font: 400 12px var(--font-body); fill: var(--on-dark-muted); }

.why-title { margin: var(--s-10) 0 var(--s-6); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.why { position: relative; padding: var(--s-6) var(--s-6) var(--s-6) 0; border-bottom: 1px solid var(--line-dark); }
.why:not(:nth-child(3n+1)) { padding-left: var(--s-6); border-left: 1px solid var(--line-dark); }
.why::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.why:hover::before { transform: scaleX(1); }
.why-n { display: block; font: 500 .85rem/1 var(--font-display); color: var(--mint); margin-bottom: var(--s-5); }
.why h4 { margin-bottom: var(--s-2); }
.why p { margin: 0; font-size: .97rem; }
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why, .why:not(:nth-child(3n+1)) { padding: var(--s-5) var(--s-5) var(--s-5) 0; border-left: 0; }
  .why:nth-child(2n) { padding-left: var(--s-5); border-left: 1px solid var(--line-dark); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why, .why:nth-child(2n) { padding: var(--s-5) 0; border-left: 0; }
  .pem { padding: var(--s-3); }
}

/* ---------- applications tabs ---------- */
.tab-list { display: flex; border-bottom: 1px solid var(--line); margin-bottom: var(--s-7); }
.tab-list [role=tab] {
  position: relative; flex: 1; display: flex; align-items: baseline; gap: var(--s-3);
  min-height: 60px; padding: var(--s-4) var(--s-4) var(--s-4) 0; text-align: left;
  border: 0; background: transparent; cursor: pointer;
  font: 400 1.12rem/1.25 var(--font-display); letter-spacing: -.01em; color: var(--muted);
  transition: color var(--dur-2);
}
.tab-list [role=tab]::after { content: ""; position: absolute; left: 0; right: var(--s-4); bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.tab-list [role=tab]:hover { color: var(--ink); }
.tab-list [role=tab][aria-selected=true] { color: var(--ink); }
.tab-list [role=tab][aria-selected=true]::after { transform: scaleX(1); }
.tab-n { font-size: .8rem; font-weight: 500; color: var(--teal-text); }
.tab-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-img { overflow: hidden; border-radius: var(--radius-lg); }
.tab-img img { width: 100%; aspect-ratio: 11 / 8; object-fit: cover; }
.tab-panel.is-entering .tab-img img { animation: img-in .4s ease-out; }
.tab-panel.is-entering .tab-copy > * { animation: rise-in .4s var(--ease-out) backwards; }
.tab-panel.is-entering .tab-copy > *:nth-child(2) { animation-delay: .06s; }
.tab-panel.is-entering .tab-copy > *:nth-child(3) { animation-delay: .12s; }
.tab-panel.is-entering .tab-copy > *:nth-child(4) { animation-delay: .18s; }
@keyframes img-in { from { opacity: 0; } to { opacity: 1; } }
.tab-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; }
.tab-copy p { color: var(--muted); }
@media (max-width: 900px) {
  .tab-panel { grid-template-columns: 1fr; gap: var(--s-5); }
  .tab-list { overflow-x: auto; margin-inline: calc(-1 * var(--s-4)); padding: 0 var(--s-4); scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list [role=tab] { flex: none; padding-right: var(--s-5); }
}

/* ---------- consulting ---------- */
.cons-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; margin-bottom: var(--s-9); }
.cons-head .section-lead { margin-bottom: var(--s-6); }
.cons-img img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--s-6); }
.step { position: relative; padding: var(--s-6) 0 var(--s-7); border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.step:hover::before { transform: scaleX(1); }
.step-num { display: block; font: 300 2.8rem/1 var(--font-display); letter-spacing: -.04em; color: var(--teal-600); margin-bottom: var(--s-5); }
.step h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.step p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 30em; }
@media (max-width: 1024px) { .cons-head { grid-template-columns: 1fr; gap: var(--s-6); } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { padding-bottom: var(--s-6); } }

/* ---------- vision ---------- */
.vision { background: var(--tint); padding: var(--s-10) 0; }
.vision h2 { max-width: 22em; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.18; }
.vision-list { margin-top: var(--s-8); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.vision-list li { display: flex; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.vision-list .icon { color: var(--teal-text); margin-top: 2px; }
.vision-list h3 { font-size: 1.06rem; margin-bottom: var(--s-1); }
.vision-list p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .vision { padding: var(--s-8) 0; } .vision-list { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
#kontakt { padding-bottom: calc(var(--s-10) + var(--round-top)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-9); align-items: start; }
.contact-list { display: grid; gap: 0; margin: var(--s-6) 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--teal-text); }
.contact-list a { flex: 1; color: var(--ink); text-decoration: none; font-weight: 500; padding: 14px 0; transition: color var(--dur-1), padding var(--dur-2) var(--ease-out); }
.contact-list a:hover { color: var(--teal-text); padding-left: 6px; }
.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-5); }
.addresses h3 { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.addresses address { color: var(--ink); }
.legal { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }

.contact-form { background: var(--tint); border-radius: var(--radius-lg); padding: var(--s-7); display: grid; gap: var(--s-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.req { color: var(--danger); }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aac3bf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(60,196,176,.28); }
.field [aria-invalid=true] { border-color: var(--danger) !important; }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.error { font-size: .86rem; color: var(--danger); margin: 0; font-weight: 500; }
.field-check { grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal-900); cursor: pointer; }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.field-check .error { grid-column: 2; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; color: var(--teal-900); }
.form-status:empty { display: none; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); } }
@media (max-width: 600px) { .contact-form { padding: var(--s-5); } .field-row, .addresses { grid-template-columns: 1fr; } .contact-form .btn { justify-self: stretch; justify-content: space-between; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark-muted); padding: var(--s-9) 0 var(--s-5); font-size: .95rem; }
.footer-chevrons { position: absolute; right: -180px; bottom: -300px; width: 560px; height: 560px; opacity: .2; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-bottom: var(--s-8); }
.footer-brand img { height: 56px; width: auto; margin-bottom: var(--s-4); }
.footer-h { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: var(--s-3); }
.site-footer ul { display: grid; gap: 0; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-block; padding: 9px 0; transition: color var(--dur-1); }
.site-footer a:hover { color: #fff; }
.footer-bottom.container { padding-inline: 0; width: calc(100% - 2 * var(--s-6)); max-width: calc(var(--container) - 2 * var(--s-6)); }
@media (max-width: 600px) { .footer-bottom.container { width: calc(100% - 2 * var(--s-4)); } }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero h1, .js .hero .lead, .js .hero-ctas, .js .hero .kicker { opacity: 1 !important; transform: none !important; }
}


/* =========================================================
   Multi-page additions — sub-page hero, breadcrumbs, cards,
   tables, FAQ, product pages, CTA band
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display-3 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.12; }

/* last section before the footer leaves room for the footer's rounded top */
main > .section:last-child { padding-bottom: calc(var(--s-10) + var(--round-top)); }
@media (max-width: 768px) { main > .section:last-child { padding-bottom: calc(var(--s-8) + var(--round-top) + 12px); } }

/* ---------- nav: current page + language links ---------- */
.main-nav a[aria-current="page"] { color: var(--teal-text); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-on-dark .main-nav a[aria-current="page"] { color: var(--mint); }
.lang-switch a {
  display: inline-grid; place-items: center; min-width: 42px; min-height: 38px; border-radius: 6px;
  font: 600 .78rem/1 var(--font-body); color: var(--muted); letter-spacing: .08em; text-decoration: none;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.site-header.is-on-dark .lang-switch a { color: rgba(234,246,244,.7); }
.site-header.is-on-dark .lang-switch a:hover { color: #fff; }
.site-header.is-on-dark .lang-switch a[aria-current="true"] { background: rgba(234,246,244,.95); color: var(--night); }
@media (max-width: 1080px) {
  .site-header.nav-open .lang-switch a { color: var(--muted); }
  .site-header.nav-open .lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
}

/* ---------- sub-page headers (compact, one art per section) ---------- */
.hero-sub { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + var(--s-8)) 0 calc(var(--s-8) + var(--round-top)); }
.hero-dark { color: var(--on-dark-muted); background: radial-gradient(760px 420px at 90% 20%, rgba(35,147,133,.16), transparent 65%), var(--night); }
.hero-light { color: var(--ink-2); background: var(--tint); }
.hero-sub-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s-8); }
.hero-sub.has-art .hero-sub-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero-sub h1 { font-size: clamp(2.1rem, 3.9vw, 3.45rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; max-width: 15em; margin-bottom: var(--s-4); }
.hero-dark h1 { color: #fff; }
.hero-sub .lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 36em; margin: 0; }
.hero-dark .lead { color: #C3D8D5; }
.hero-light .lead { color: var(--muted); }
.hero-sub .kicker { margin-bottom: var(--s-4); }
.hero-sub .hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-sm { padding-top: calc(var(--header-h) + var(--s-7)); padding-bottom: calc(var(--s-7) + var(--round-top)); }
.hero-404 { min-height: 82svh; display: flex; align-items: center; }

/* brand chevrons as a quiet watermark on dark headers */
.hero-sub-mark { position: absolute; z-index: -1; right: -140px; bottom: -220px; width: 560px; height: 560px; opacity: .12; pointer-events: none; }
.hero-sub:not(.has-art) .hero-sub-mark { opacity: .9; width: 330px; height: 330px; bottom: auto; top: 50%; right: max(-60px, calc((100vw - 1320px) / 2)); transform: translateY(-38%); }
.js .hero-sub:not(.has-art) .hero-sub-mark path { opacity: 0; transform: translateX(-28px); transform-box: fill-box; animation: chev-in .8s var(--ease-out) forwards; }
.js .hero-sub:not(.has-art) .hero-sub-mark path:nth-child(1) { animation-delay: .2s; }
.js .hero-sub:not(.has-art) .hero-sub-mark path:nth-child(2) { animation-delay: .1s; }

/* buttons + focus on dark headers */
.hero-dark .btn-primary { --btn-bg: var(--turq); --btn-fg: #04201F; }
.hero-dark .btn-primary:hover { --btn-bg: var(--mint); }
.hero-dark .btn-line { --btn-fg: var(--on-dark); border-color: rgba(234,246,244,.3); }
.hero-dark .btn-line:hover { border-color: var(--mint); color: var(--mint); }
.hero-dark :focus-visible { outline-color: var(--mint); }

/* entrance */
.js .hero-sub .breadcrumbs, .js .hero-sub .kicker, .js .hero-sub h1, .js .hero-sub .lead, .js .hero-sub .hero-ctas { opacity: 0; transform: translateY(10px); animation: rise-in .5s var(--ease-out) forwards; }
.js .hero-sub h1 { animation-delay: .05s; }
.js .hero-sub .lead { animation-delay: .1s; }
.js .hero-sub .hero-ctas { animation-delay: .16s; }
.js .hero-sub-art [style*="--k"] { opacity: 0; transform: translateY(10px); animation: rise-in .5s var(--ease-out) forwards; animation-delay: calc(.12s + var(--k) * .05s); }

.breadcrumbs { margin-bottom: var(--s-5); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .86rem; color: var(--on-dark-muted); }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.breadcrumbs a { color: #C3D8D5; text-decoration: none; padding: 6px 0; }
.breadcrumbs a:hover { color: var(--mint); }
.breadcrumbs [aria-current] { color: var(--mint); }
.hero-light .breadcrumbs ol { color: var(--muted); }
.hero-light .breadcrumbs a { color: var(--ink-2); }
.hero-light .breadcrumbs a:hover, .hero-light .breadcrumbs [aria-current] { color: var(--teal-text); }

/* art: About — key figures */
.ha-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.ha-stats li { display: flex; flex-direction: column; gap: 6px; padding: var(--s-6) var(--s-5); background: rgba(8,26,28,.92); }
.ha-stat-v { white-space: nowrap; font: 400 clamp(1.3rem, 2.3vw, 2rem)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--mint); }
.ha-stat-l { font-size: .9rem; color: var(--on-dark-muted); }

/* art: Products — power ladder */
.ha-ladder { display: grid; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255,255,255,.03); }
.ha-ladder li { display: grid; gap: 8px; }
.ha-ladder-tier { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.ha-ladder-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px var(--s-4); }
.ha-ladder-name { font: 400 1.35rem/1.1 var(--font-display); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.ha-ladder-val { font-weight: 600; color: var(--on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ha-ladder-track { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.ha-ladder-bar { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--accent); transform-origin: left; }
.js .ha-ladder-bar { transform: scaleX(0); animation: bar-in .8s var(--ease-out) forwards; animation-delay: calc(.25s + var(--k) * .1s); }
@keyframes bar-in { to { transform: none; } }

/* art: Consulting — steps */
.ha-steps { display: grid; }
.ha-steps li { display: flex; align-items: center; gap: var(--s-4); padding: 11px 0; border-bottom: 1px solid var(--line-dark); font: 400 1.08rem/1.3 var(--font-display); color: var(--on-dark); }
.ha-steps li:first-child { border-top: 1px solid var(--line-dark); }
.ha-steps-n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(100,223,192,.4); border-radius: 50%; font: 500 .78rem var(--font-display); color: var(--mint); transition: background-color var(--dur-2), color var(--dur-2); }
.ha-steps li:hover .ha-steps-n { background: var(--mint); color: #04201F; }

@media (max-width: 960px) {
  .hero-sub { padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: calc(var(--s-7) + var(--round-top)); }
  .hero-sub.has-art .hero-sub-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .art-steps .hero-sub-art { display: none; }
  .hero-sub:not(.has-art) .hero-sub-mark { width: 240px; height: 240px; right: -110px; opacity: .45; }
}
@media (max-width: 600px) { .ha-stats li { padding: var(--s-4); } .ha-ladder { padding: var(--s-5); } .ha-ladder-name { font-size: 1.15rem; } }

/* ---------- links ---------- */
.link-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--teal-text); text-decoration: none; }
.link-more .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.link-more:hover .icon, a:hover > .link-card-body .link-more .icon { transform: translateX(4px); }
.link-more-lg { margin-top: var(--s-4); font-size: 1.02rem; }
.section-dark .link-more { color: var(--mint); }
.section-foot { margin: var(--s-7) 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.tech-copy .btn { margin-top: var(--s-3); }

.products-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.products-1 { grid-template-columns: minmax(0, 460px); }
@media (max-width: 1024px) { .products-2 { grid-template-columns: 1fr; } }

/* ---------- layout helpers ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-9); align-items: start; }
.large-dark { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--on-dark); }
@media (max-width: 1024px) { .split-2 { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- link cards ---------- */
.card-grid { display: grid; gap: var(--s-5); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-1 { grid-template-columns: minmax(0, 560px); }
@media (max-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; } }
.link-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color var(--dur-2);
}
.section-light .link-card { background: var(--tint); border-color: transparent; }
.link-card:hover { border-color: #9fbdb8; }
.link-card-img { display: block; overflow: hidden; }
.link-card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.link-card:hover .link-card-img img { transform: scale(1.03); }
.link-card-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); flex: 1; }
.link-card-title { font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.link-card-text { color: var(--muted); font-size: .98rem; }
.link-card .link-more { margin-top: auto; padding-top: var(--s-4); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.section-light .table-wrap { background: var(--paper); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 500 1.12rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -.01em; background: var(--tint); }
.compare thead a { color: var(--ink); text-decoration: none; }
.compare thead a:hover { color: var(--teal-text); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare td { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.compare td small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.compare-hl th:nth-child(2), .compare-hl td:nth-child(2) { background: rgba(60,196,176,.09); }
.compare-hl thead th:nth-child(2) { color: var(--teal-900); background: rgba(60,196,176,.2); }
.compare-2 { min-width: 0; }
.compare-2 tbody th { width: 50%; color: var(--ink); }
.compare-2 tbody th a { color: var(--ink); text-decoration-color: var(--line); }
.compare-2 tbody th a:hover { color: var(--teal-text); }
.pill { display: inline-flex; align-items: center; margin: 2px 8px 2px 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color var(--dur-1), color var(--dur-1); }
.pill:hover { border-color: var(--teal-600); color: var(--teal-text); }

/* ---------- light variant of the numbered grid ---------- */
.why h3 { font-size: 1.08rem; margin-bottom: var(--s-2); }
.why-n .icon { width: 26px; height: 26px; }
.why-grid-light { border-top-color: var(--line); }
.why-grid-light .why { border-color: var(--line); }
.why-grid-light .why-n { color: var(--teal-text); }
.why-grid-light .why p { color: var(--muted); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: how; border-top: 1px solid var(--line-dark); }
.how { position: relative; padding: var(--s-6) var(--s-5) var(--s-6) 0; }
.how + .how { padding-left: var(--s-5); border-left: 1px solid var(--line-dark); }
.how h3 { font-size: 1.08rem; margin-bottom: var(--s-2); }
.how p { margin: 0; font-size: .97rem; }
@media (max-width: 1024px) { .how-grid { grid-template-columns: repeat(2, 1fr); } .how:nth-child(3) { padding-left: 0; border-left: 0; } .how { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 600px) { .how-grid { grid-template-columns: 1fr; } .how, .how + .how { padding: var(--s-5) 0; border-left: 0; } }

/* ---------- feature tiles ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.feature { padding: var(--s-6); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255,255,255,.03); }
.feature .icon { width: 30px; height: 30px; color: var(--mint); margin-bottom: var(--s-6); }
.feature h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.feature p { margin: 0; font-size: .96rem; }
.feature-grid-light .feature { background: var(--paper); border-color: var(--line); }
.feature-grid-light .feature .icon { color: var(--teal-text); }
.feature-grid-light .feature p { color: var(--muted); }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature .icon { margin-bottom: var(--s-4); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: var(--s-8); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 1.12rem/1.35 var(--font-display); color: var(--ink); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--teal-text); transition: transform var(--dur-2) var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal-text); }
.faq-a p { color: var(--muted); max-width: 46em; margin: 0; padding: 0 var(--s-6) var(--s-5) 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: var(--s-5); } }

.todo { display: inline-block; padding: 2px 10px; border: 1px dashed #D9A53A; border-radius: 6px; background: #FFF6DE; color: #7A5200; font: 600 .76rem/1.6 var(--font-body); letter-spacing: .02em; }

/* ---------- power table (applications) ---------- */
.power-table td { width: 50%; }
.power-val { display: block; }
.power-table .power-scale { display: block; max-width: 340px; margin: 12px 0 2px; }
.table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); margin-top: var(--s-5); }
.table-foot p { margin: 0; max-width: 42em; color: var(--muted); }

/* ---------- header-less pages (Technology, Applications) ---------- */
.page-top { padding-top: calc(var(--header-h) + var(--s-8)); }
.section-dark h1 { color: #fff; }
.page-top h1 { margin-bottom: var(--s-5); }
.section-light .breadcrumbs ol { color: var(--muted); }
.section-light .breadcrumbs a { color: var(--ink-2); }
.section-light .breadcrumbs a:hover, .section-light .breadcrumbs [aria-current] { color: var(--teal-text); }
.page-top .tech-grid { margin-top: var(--s-5); }
.page-intro { max-width: 860px; margin-bottom: var(--s-9); }
.page-intro .section-lead { margin-bottom: 0; }
.app-jump { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: var(--s-6); }
.app-rows { display: grid; gap: var(--s-9); }
.app-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-9); align-items: center; scroll-margin-top: 110px; }
.app-row:nth-child(even) .app-row-img { order: 2; }
.app-row-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.app-row-copy > p:not(.kicker) { color: var(--muted); }
@media (max-width: 1024px) { .app-row { grid-template-columns: 1fr; gap: var(--s-5); } .app-row:nth-child(even) .app-row-img { order: 0; } .app-row-img img { aspect-ratio: 16 / 10; } .app-rows { gap: var(--s-8); } }
@media (max-width: 960px) { .page-top { padding-top: calc(var(--header-h) + var(--s-6)); } .page-intro { margin-bottom: var(--s-7); } }

/* ---------- compact consulting steps on home ---------- */
.steps-compact .step { padding: var(--s-5) 0 var(--s-6); }
.steps-compact .step-num { font-size: 2rem; margin-bottom: var(--s-3); }
.steps-compact h3 { margin: 0; }

/* ---------- locations ---------- */
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.location { display: flex; gap: var(--s-4); padding: var(--s-6); background: var(--tint); border-radius: var(--radius-lg); }
.location > .icon { color: var(--teal-text); margin-top: 2px; }
.location h3 { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.location address { color: var(--ink); font-size: 1.08rem; margin-bottom: var(--s-3); }
.contact-info .locations { grid-template-columns: 1fr 1fr; margin: var(--s-6) 0 var(--s-5); gap: var(--s-3); }
.contact-info .location { padding: var(--s-5); }
@media (max-width: 600px) { .locations, .contact-info .locations { grid-template-columns: 1fr; } }
.contact-info .display-3 { margin-bottom: var(--s-5); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--deep); }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-8); align-items: end; }
.cta-band h2 { max-width: 14em; }
.cta-band .section-lead { color: var(--on-dark-muted); margin: 0; }
.cta-actions { display: grid; gap: var(--s-5); justify-items: start; }
.cta-contacts { display: grid; gap: 0; }
.cta-contacts li { display: flex; align-items: center; gap: var(--s-3); }
.cta-contacts .icon { color: var(--mint); }
.cta-contacts a { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 9px 0; }
.cta-contacts a:hover { color: var(--mint); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- legal ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin: var(--s-7) 0 var(--s-3); }
.prose p { color: var(--ink-2); }
.notice { padding: var(--s-4) var(--s-5); border: 1px dashed #D9A53A; background: #FFF6DE; color: #7A5200; border-radius: var(--radius); font-weight: 500; }

/* ---------- footer with 5 columns ---------- */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; }
.footer-address { margin-top: var(--s-4); color: var(--on-dark-muted); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- products: note under the cards ---------- */
.specs-note { margin: var(--s-5) 0 0; font-size: .9rem; color: var(--muted); }

/* lead text on dark sections */
.section-dark .section-lead { color: var(--on-dark-muted); }

/* ==========================================================================
   Home — key facts + guide to the sub-pages
   ========================================================================== */
.home-guide { padding-top: var(--s-8); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 var(--s-9); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); padding: var(--s-6) var(--s-5) var(--s-6) 0; }
.fact + .fact { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.fact dd { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.fact dt { font-size: .95rem; line-height: 1.4; color: var(--muted); max-width: 17em; }

.guide-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-8); align-items: end; margin-bottom: var(--s-7); }
.guide-head .display-2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 0; max-width: 14em; }
.guide-head .section-lead { margin: 0; }

/* bento: two large tiles for what we sell, three smaller ones for the rest */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.bento-cell { grid-column: span 4; display: flex; }
.bento-products { grid-column: span 7; }
.bento-consulting { grid-column: span 5; }
.bento-tile {
  position: relative; isolation: isolate; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: var(--s-6); border-radius: var(--radius-lg); text-decoration: none;
  background: var(--tint); color: var(--muted);
  --ga: var(--teal-600); --ga-soft: #B4CFCB; --ga-blue: #2F8FD6; --ga-surface: var(--tint); --ga-on: #fff;
  transition: background-color .4s var(--ease-out);
}
.bento-products .bento-tile, .bento-consulting .bento-tile { min-height: 420px; }
.bento-products .bento-tile { background: radial-gradient(520px 380px at 78% 30%, rgba(35,147,133,.32), transparent 70%), var(--night); color: #C3D8D5; --ga: var(--mint); --ga-soft: rgba(162,214,206,.36); --ga-blue: #68C4FF; --ga-surface: #0B2426; --ga-on: #04201F; }
.bento-consulting .bento-tile { background: var(--teal-900); color: #CFE6E2; --ga: var(--mint); --ga-soft: rgba(190,232,224,.34); --ga-blue: #8FD3FF; --ga-surface: var(--teal-900); --ga-on: #04201F; }
.bento-copy { position: relative; display: block; max-width: 25em; padding-right: 64px; }
.bento-title { margin: 0 0 var(--s-2); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
.bento-products .bento-title, .bento-consulting .bento-title { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; margin-bottom: var(--s-3); }
.bento-text { display: block; font-size: .98rem; line-height: 1.5; }
.bento-cell:not(.bento-products):not(.bento-consulting) .bento-text { min-height: 6em; }
.bento-products .bento-text, .bento-consulting .bento-text { font-size: 1.04rem; }
.bento-arrow { position: absolute; right: var(--s-6); bottom: var(--s-6); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; border: 1px solid #b9cecb; color: var(--ink); transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out); }
.bento-products .bento-arrow, .bento-consulting .bento-arrow { border-color: rgba(234,246,244,.3); color: #fff; }
.bento-arrow .icon { transition: transform .45s var(--ease-out); }

/* illustrations: one line style, the tile sets the colours */
.bento-art { position: absolute; z-index: -1; top: var(--s-5); right: var(--s-5); width: min(62%, 250px); }
.bento-products .bento-art { top: 50%; right: 4%; width: min(54%, 400px); transform: translateY(-58%); }
.bento-consulting .bento-art { top: var(--s-5); right: var(--s-5); left: var(--s-5); width: auto; max-width: 360px; margin-left: auto; }
.bento-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.bento-art svg * { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease-out), opacity .4s var(--ease-out), fill .4s var(--ease-out), stroke .4s var(--ease-out), fill-opacity .4s var(--ease-out), stroke-dashoffset 1.1s var(--ease-out); }
.ga-main { stroke: var(--ga); stroke-width: 2; stroke-linecap: round; }
.ga-soft { stroke: var(--ga-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ga-thick { stroke-width: 4; }
.ga-grid { stroke: var(--ga-soft); stroke-width: 1; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.ga-h2s { stroke: var(--ga-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ga-h2f { fill: var(--ga-blue); }
.ga-softfill { fill: var(--ga-soft); }
.ga-plate { fill: var(--ga-surface); stroke: var(--ga); stroke-width: 2; }
.ga-cell { fill: var(--ga); fill-opacity: calc(.28 + .07 * var(--k)); }
.ga-draw { stroke: var(--ga); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 62; }
.ga-node { fill: var(--ga-surface); stroke: var(--ga-soft); stroke-width: 2; }
.ga-node-1, .ga-node-2 { stroke: var(--ga); } .ga-node-1 { fill: var(--ga); }
.ga-check { stroke: var(--ga-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ga-glass { fill: var(--ga); fill-opacity: .13; }
.ga-o { fill: var(--ga); fill-opacity: .16; stroke: var(--ga); stroke-width: 2; }
.ga-hw { fill: var(--ga-soft); }
.ga-h2c { fill: var(--ga-blue); fill-opacity: .22; stroke: var(--ga-blue); stroke-width: 2; }
.ga-protons { opacity: 0; }
.ga-chipc { fill: var(--ga-surface); stroke: var(--ga-soft); stroke-width: 2; }
.ga-ic { fill: none; stroke: var(--ga); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ga); }
.ga-core { fill: var(--ga-blue); fill-opacity: .16; stroke: var(--ga-blue); stroke-width: 2; }
.ga-coretext { font: 600 17px/1 var(--font-display); fill: var(--ga-blue); }
.ga-pinbody { fill: var(--ga); fill-opacity: .14; stroke: var(--ga); stroke-width: 2; stroke-linejoin: round; }
.ga-pinhole { fill: var(--ga-surface); stroke: var(--ga); stroke-width: 2; }

@media (hover: hover) {
  .bento-cell:not(.bento-products):not(.bento-consulting) .bento-tile:hover { background: #E3EEEC; --ga-surface: #E3EEEC; }
  .bento-tile:hover .bento-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
  .bento-products .bento-tile:hover .bento-arrow, .bento-consulting .bento-tile:hover .bento-arrow { background: var(--turq); border-color: var(--turq); color: #04201F; }
  .bento-tile:hover .bento-arrow .icon { transform: translateX(3px); }
  /* stack: cells light up one after another, hydrogen rises */
  .bento-tile:hover .ga-cell { fill-opacity: .95; transition-delay: calc(var(--k) * 55ms); }
  .bento-tile:hover .ga-bubbles { transform: translateY(-14px); }
  /* route: the line draws to the end, steps fill in */
  .bento-tile:hover .ga-draw { stroke-dashoffset: 0; }
  .bento-tile:hover .ga-node { stroke: var(--ga); fill: var(--ga); }
  .bento-tile:hover .ga-node-2 { transition-delay: .2s; } .bento-tile:hover .ga-node-3 { transition-delay: .5s; } .bento-tile:hover .ga-node-4 { transition-delay: .8s; }
  .bento-tile:hover .ga-check { stroke: var(--ga-on); transition-delay: .9s; }
  /* membrane: water in, protons across, hydrogen out */
  .bento-tile:hover .ga-water { transform: translateX(22px); }
  .bento-tile:hover .ga-protons { opacity: 1; transition-delay: .2s; }
  .bento-tile:hover .ga-h2 { transform: translateX(16px); }
  .bento-tile:hover .ga-h2c { fill-opacity: .9; }
  /* hub: uses light up around hydrogen */
  .bento-tile:hover .ga-spokes { stroke: var(--ga); }
  .bento-tile:hover .ga-chipc { stroke: var(--ga); }
  .bento-tile:hover .ga-chip { transform: scale(1.1); }
  .bento-tile:hover .ga-chip-2 { transition-delay: .07s; } .bento-tile:hover .ga-chip-3 { transition-delay: .14s; } .bento-tile:hover .ga-chip-4 { transition-delay: .21s; }
  .bento-tile:hover .ga-core { fill-opacity: .9; } .bento-tile:hover .ga-coretext { fill: #fff; }
  /* pin lifts, rings widen */
  .bento-tile:hover .ga-pin { transform: translateY(-9px); }
  .bento-tile:hover .ga-rings ellipse:nth-child(1) { transform: scale(1.08); } .bento-tile:hover .ga-rings ellipse:nth-child(2) { transform: scale(1.12); stroke: var(--ga); }
}
.bento-tile:focus-visible { outline-offset: 3px; }

@media (max-width: 1100px) {
  .bento-products, .bento-consulting { grid-column: span 12; }
  .bento-products .bento-tile, .bento-consulting .bento-tile { min-height: 340px; }
  .bento-consulting .bento-art { top: 50%; left: auto; right: 4%; width: min(46%, 340px); transform: translateY(-58%); }
  .bento-products .bento-copy, .bento-consulting .bento-copy { max-width: 46%; }
}
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s-8); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .guide-head { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
  .bento-cell { grid-column: span 6; }
  .bento-about { grid-column: span 12; }
}
@media (max-width: 680px) {
  .fact { padding: var(--s-5) var(--s-4) var(--s-5) 0; } .fact + .fact { padding-left: var(--s-4); }
  .fact dd { white-space: normal; }
  .fact:nth-child(3) { padding-left: 0; }
  .bento { gap: var(--s-3); }
  .bento-cell { grid-column: span 12; }
  .bento-cell:not(.bento-products):not(.bento-consulting) .bento-text { min-height: 0; }
  .bento-tile, .bento-products .bento-tile, .bento-consulting .bento-tile { min-height: 0; padding: var(--s-5); justify-content: flex-start; }
  .bento-art, .bento-products .bento-art, .bento-consulting .bento-art { position: relative; inset: auto; transform: none; width: 100%; max-width: 230px; margin: 0 0 var(--s-5); z-index: 0; }
  .bento-products .bento-art, .bento-consulting .bento-art { max-width: 280px; }
  .bento-products .bento-copy, .bento-consulting .bento-copy { max-width: none; }
  .bento-arrow { right: var(--s-5); bottom: var(--s-5); width: 44px; height: 44px; }
}

/* ==========================================================================
   Sub-page headers: the page's illustration from the home tiles
   ========================================================================== */
.hero-sub.has-gart .hero-sub-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero-gart { justify-self: end; width: min(100%, 380px); --ga: var(--mint); --ga-soft: rgba(162,214,206,.36); --ga-blue: #68C4FF; --ga-surface: #0B2426; --ga-on: #04201F; }
.hero-gart-stack, .hero-gart-route { width: min(100%, 430px); }
.hero-gart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-gart svg * { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease-out), opacity .5s var(--ease-out), fill .5s var(--ease-out), stroke .5s var(--ease-out), fill-opacity .5s var(--ease-out), stroke-dashoffset 1.4s var(--ease-out); }
.js .hero-gart { opacity: 0; transform: translateY(10px); animation: rise-in .6s var(--ease-out) .1s forwards; }
.page-intro:has(> .app-jump:only-child) { margin-bottom: var(--s-8); }
.page-intro > .app-jump:first-child { margin-top: 0; }
  /* stack: cells light up one after another, hydrogen rises */
  .hero-gart.is-live .ga-cell { fill-opacity: .95; transition-delay: calc(var(--k) * 55ms); }
  .hero-gart.is-live .ga-bubbles { transform: translateY(-14px); }
  /* route: the line draws to the end, steps fill in */
  .hero-gart.is-live .ga-draw { stroke-dashoffset: 0; }
  .hero-gart.is-live .ga-node { stroke: var(--ga); fill: var(--ga); }
  .hero-gart.is-live .ga-node-2 { transition-delay: .2s; } .hero-gart.is-live .ga-node-3 { transition-delay: .5s; } .hero-gart.is-live .ga-node-4 { transition-delay: .8s; }
  .hero-gart.is-live .ga-check { stroke: var(--ga-on); transition-delay: .9s; }
  /* membrane: water in, protons across, hydrogen out */
  .hero-gart.is-live .ga-water { transform: translateX(22px); }
  .hero-gart.is-live .ga-protons { opacity: 1; transition-delay: .2s; }
  .hero-gart.is-live .ga-h2 { transform: translateX(16px); }
  .hero-gart.is-live .ga-h2c { fill-opacity: .9; }
  /* hub: uses light up around hydrogen */
  .hero-gart.is-live .ga-spokes { stroke: var(--ga); }
  .hero-gart.is-live .ga-chipc { stroke: var(--ga); }
  .hero-gart.is-live .ga-chip { transform: scale(1.1); }
  .hero-gart.is-live .ga-chip-2 { transition-delay: .07s; } .hero-gart.is-live .ga-chip-3 { transition-delay: .14s; } .hero-gart.is-live .ga-chip-4 { transition-delay: .21s; }
  .hero-gart.is-live .ga-core { fill-opacity: .9; } .hero-gart.is-live .ga-coretext { fill: #fff; }
  /* pin lifts, rings widen */
  .hero-gart.is-live .ga-pin { transform: translateY(-9px); }
  .hero-gart.is-live .ga-rings ellipse:nth-child(1) { transform: scale(1.08); } .hero-gart.is-live .ga-rings ellipse:nth-child(2) { transform: scale(1.12); stroke: var(--ga); }
@media (max-width: 960px) {
  .hero-sub.has-gart .hero-sub-inner { grid-template-columns: 1fr; }
  .hero-gart, .hero-gart-stack, .hero-gart-route { justify-self: start; width: min(70%, 260px); }
}
@media (prefers-reduced-motion: reduce) { .js .hero-gart { opacity: 1; transform: none; animation: none; } }

/* Technology: how it works — steps beside the cell diagram */
.tech-how { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--s-9); align-items: start; }
.tech-how-copy .display-2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); color: #fff; margin-bottom: var(--s-5); }
.tech-how-copy .section-lead { color: #C3D8D5; margin-bottom: var(--s-7); }
.tech-how-figure { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
.how-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.how-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line-dark); }
.how-n { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(100,223,192,.45); border-radius: 50%; font: 500 .9rem/1 var(--font-display); color: var(--mint); }
.how-list h3 { margin: 4px 0 var(--s-2); font-size: 1.08rem; color: #fff; }
.how-list p { margin: 0; color: #A9C2BE; font-size: .98rem; line-height: 1.55; }
@media (max-width: 1024px) {
  .tech-how { grid-template-columns: 1fr; gap: var(--s-7); }
  .tech-how-figure { position: static; order: 3; }
  .tech-how-copy { display: contents; }
  .tech-how-copy .display-2 { order: 1; margin-bottom: 0; }
  .tech-how-copy .section-lead { order: 2; margin-bottom: 0; }
  .how-list { order: 4; }
  .tech-how { gap: var(--s-5); }
}



/* =========================================================
   WordPress additions
   ========================================================= */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .main-nav { top: calc(var(--header-h) + 46px); } }
@media (min-width: 783px) and (max-width: 1080px) { .admin-bar .main-nav { top: calc(var(--header-h) + 32px); } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* contact form */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0; padding: var(--s-4) var(--s-5); border-radius: var(--radius); font-weight: 500; }
.form-alert.is-ok { background: #E3F6EF; color: #0B5A45; border: 1px solid #A9DCC8; }
.form-alert.is-error { background: #FDECEA; color: var(--danger); border: 1px solid #F3B8B1; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }

/* content written in the block editor (privacy policy, blog posts, ordinary pages) */
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: 1.45rem; margin: var(--s-7) 0 var(--s-3); }
.prose h3 { font-size: 1.2rem; margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--teal-text); }
.prose img { border-radius: var(--radius); }
.prose figure { margin: var(--s-6) 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: var(--s-6) 0; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 3px solid var(--turq); font-size: 1.12rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-button__link { display: inline-flex; padding: 14px 24px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.post-cover img { width: 100%; height: auto; }
.pager { display: flex; justify-content: space-between; margin-top: var(--s-7); font-weight: 600; }
.pager a { color: var(--teal-text); text-decoration: none; }
.alignwide, .alignfull { max-width: 100%; }
