/* ==================================================================
 * Biointerphase technology hero + product color system
 *
 * One component for every technology landing page. A page opts in with
 *   hero group className:  technology-hero technology-hero--{key}
 *   H1 className:          product-name
 * (functions.php adds body.product-{key}, the PHASE split and the
 * decorative linework). Everything below is driven by custom properties,
 * so light/dark mode follows html[data-theme] with no extra images.
 * ================================================================== */

/* ---------- 1. Alibaba Sans (files in assets/fonts) ----------
 * Only Regular, Medium, Bold and Black upright files are present; there
 * is no italic file, so the slant below is a small skew (see 5).
 * Until a file loads, or if it is missing, names fall back to the
 * documented stack in --product-name-font. */
@font-face{font-family:"Alibaba Sans";src:url("../fonts/AlibabaSans-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Alibaba Sans";src:url("../fonts/AlibabaSans-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Alibaba Sans";src:url("../fonts/AlibabaSans-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Alibaba Sans";src:url("../fonts/AlibabaSans-Black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

/* ---------- 2. Product colors ----------
 * Set on body.product-{key} (whole page) and on the hero itself (so the
 * component also works on its own). Approved colors only. */
:is(.product-thermophase,.technology-hero--thermophase){--product-accent:#60A9D3;--product-accent-rgb:96,169,211}
:is(.product-intelliphase,.technology-hero--intelliphase){--product-accent:#DD6237;--product-accent-rgb:221,98,55}
:is(.product-hydrophase,.technology-hero--hydrophase){--product-accent:#008F57;--product-accent-rgb:0,143,87}
:is(.product-zerotinous,.technology-hero--zerotinous){--product-accent:#99352B;--product-accent-rgb:153,53,43}
:is(.product-omnimaterials,.technology-hero--omnimaterials){--product-accent:#397CBF;--product-accent-rgb:57,124,191}

/* Derived tokens. Defined where the accent is defined so they compute
 * from that page's color. --product-accent-ink is the accent nudged
 * toward the text color so small text and focus rings keep contrast. */
.has-technology-hero,.technology-hero{
  --product-accent-soft:rgba(var(--product-accent-rgb),.08);
  --product-accent-border:rgba(var(--product-accent-rgb),.45);
  --product-accent-ink:var(--product-accent);
  --product-accent-ink:color-mix(in srgb,var(--product-accent) 68%,#000);
  --product-name-font:"Alibaba Sans","Arial Black","Segoe UI Black","Helvetica Neue",Arial,system-ui,sans-serif;
  --technology-hero-background:#FFFFFF;
  --technology-hero-text:var(--bip-charcoal,#343A40);
  --technology-hero-muted:var(--bip-muted,#55606B);
  --technology-hero-glow:rgba(var(--product-accent-rgb),.07);
  --technology-hero-lines-opacity:.42;
  --product-name-prefix-stroke:var(--product-accent);
  --product-name-phase:#111418;
}
html[data-theme="dark"] :is(.has-technology-hero,.technology-hero){
  --product-accent-soft:rgba(var(--product-accent-rgb),.12);
  --product-accent-border:rgba(var(--product-accent-rgb),.5);
  --product-accent-ink:color-mix(in srgb,var(--product-accent) 70%,#fff);
  --technology-hero-background:var(--d-stage,#0C0D0F);
  --technology-hero-text:var(--d-text,#E3E8EC);
  --technology-hero-muted:#B4C0CA;
  --technology-hero-glow:rgba(var(--product-accent-rgb),.14);
  --technology-hero-lines-opacity:.7;
  --product-name-prefix-stroke:#FFFFFF;
  --product-name-phase:var(--product-accent);
}

/* ---------- 3. Hero shell ---------- */
.technology-hero{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(120% 90% at 100% 100%,var(--technology-hero-glow),transparent 60%),
    var(--technology-hero-background);
  color:var(--technology-hero-text);
  padding-top:clamp(64px,8vw,112px);padding-bottom:clamp(64px,8vw,112px);
  border-bottom:1px solid var(--product-accent-border);
}
.technology-hero>.inner{position:relative;z-index:1}
.technology-hero .eyebrow{color:var(--product-accent-ink);margin-bottom:14px}
.technology-hero .lede{color:var(--technology-hero-muted);max-width:62ch}
.technology-hero .wp-block-buttons{margin-top:28px}
.technology-hero :focus-visible{outline:3px solid var(--product-accent-ink);outline-offset:3px}

/* ---------- 4. Decorative linework ----------
 * Same curved lines as the last section, drawn as a masked layer that
 * sits flush with the hero's bottom edge. Kept clear of all text: on wide
 * screens it sits to the right of the description and below the product
 * name and logo mark; on narrower screens it shrinks into the empty
 * bottom padding of the hero. */
.technology-hero__lines{display:none}
.technology-hero::after{
  content:"";position:absolute;z-index:0;right:0;bottom:0;pointer-events:none;
  width:max(0px,calc(100% - 810px));
  top:max(48%,calc(var(--name-mid) + var(--mark-size) / 2 + 28px),calc(var(--hero-pad) + 56px + var(--name-fs) * 1.3));
  background:var(--product-accent);opacity:var(--technology-hero-lines-opacity);
  -webkit-mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
          mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
  -webkit-mask-size:900px 450px,100% 100%;mask-size:900px 450px,100% 100%;
  -webkit-mask-position:right bottom,0 0;mask-position:right bottom,0 0;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
@media (max-width:1099px){
  .technology-hero::after{width:70%;top:auto;height:calc(clamp(64px,8vw,112px) - 16px)}
}
@media (forced-colors:active),print{.technology-hero::after{display:none}}
/* No animation is used; nothing to reduce for prefers-reduced-motion. */


/* ---------- 5. Product name (live text) ---------- */
.technology-hero .product-name{
  font-family:var(--product-name-font);font-weight:900;
  /* Scale with the name's length (set by PHP) so it fits the column. */
  font-size:var(--name-fs);
  line-height:1;letter-spacing:.005em;text-transform:none;
  color:var(--product-name-phase);
  margin:0 0 .3em;padding:0 0 .04em .06em;
  overflow-wrap:normal;
}
.technology-hero{--name-fs:clamp(34px,calc((100vw - 2 * var(--bip-gutter,24px)) / (var(--product-name-length,11) * .74)),118px)}
.technology-hero{
  --hero-pad:clamp(64px,8vw,112px);
  --mark-size:calc(clamp(140px,calc(var(--name-fs) * 2.4),290px) * var(--mark-scale,1));
  --name-mid:calc(var(--hero-pad) + 36px + var(--name-fs) * .55);
}
@media (min-width:1229px){
  .technology-hero{--name-fs:clamp(34px,calc(1180px / (var(--product-name-length,11) * .74)),118px)}
}
/* A slight forward slant like the mockups. The font has no italic, so a
 * fixed 8deg skew is used instead of the browser's heavier fake italic. */
.product-name :is(.product-name__prefix,.product-name__phase,.product-name__word){display:inline-block;transform:skewX(-8deg)}
.product-name__prefix{
  color:transparent;
  -webkit-text-stroke:max(1.6px,.03em) var(--product-name-prefix-stroke);
  paint-order:stroke fill;
}
.product-name__phase{color:var(--product-name-phase)}
.product-name__word{color:var(--product-name-phase)}
.product-name__mark{
  font-family:var(--bip-sans);font-weight:500;font-size:.2em;
  color:var(--technology-hero-muted);vertical-align:top;position:relative;top:.35em;margin-left:.15em;
}
/* Fallbacks: never leave the prefix invisible. */
@supports not (-webkit-text-stroke:1px black){
  .product-name__prefix{color:var(--product-accent-ink)}
  html[data-theme="dark"] .product-name__prefix{color:#FFFFFF}
}
@media (forced-colors:active){
  .product-name__prefix,.product-name__phase,.product-name__word{color:CanvasText;-webkit-text-stroke:0}
  .technology-hero__lines{display:none}
}
@media print{
  .product-name__prefix{color:#000;-webkit-text-stroke:0}
}

/* ==================================================================
 * 6. Product color across the page (body.has-technology-hero)
 * Buttons: solid product color. Boxes: product-tinted, turning solid
 * product color on hover or keyboard focus. Linework: only in the empty
 * bottom padding of every third section, never under text.
 * Scoped to <main>, so the header, footer and other pages are untouched.
 * ================================================================== */
.has-technology-hero{
  --product-on-accent:#0C0D0F;               /* text on a solid accent */
  --product-accent-hover:color-mix(in srgb,var(--product-accent) 80%,#fff);
  --product-box-bg:color-mix(in srgb,var(--product-accent) 7%,#fff);
  --product-box-border:rgba(var(--product-accent-rgb),.38);
  --product-box-glow:none;
  --product-box-hover-glow:0 14px 32px -16px rgba(var(--product-accent-rgb),.7);
  --section-lines:rgba(var(--product-accent-rgb),.5);
  --section-glow:rgba(var(--product-accent-rgb),.08);
}
html[data-theme="dark"] .has-technology-hero{
  --product-box-bg:color-mix(in srgb,var(--product-accent) 17%,#111418);
  --product-box-border:rgba(var(--product-accent-rgb),.6);
  --product-box-glow:inset 0 1px 0 rgba(var(--product-accent-rgb),.35),0 0 32px -12px rgba(var(--product-accent-rgb),.4);
  --product-box-hover-glow:0 0 40px -8px rgba(var(--product-accent-rgb),.65);
  --section-lines:rgba(var(--product-accent-rgb),.6);
  --section-glow:rgba(var(--product-accent-rgb),.12);
}
/* the dark red needs white text and a darker hover */
.has-technology-hero.product-zerotinous{--product-on-accent:#FFFFFF;--product-accent-hover:color-mix(in srgb,var(--product-accent) 82%,#000)}

/* buttons: solid accent */
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .wp-block-button__link{background:var(--product-accent);border-color:var(--product-accent);color:var(--product-on-accent)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .wp-block-button__link:is(:hover,:focus-visible){background:var(--product-accent-hover);border-color:var(--product-accent-hover);color:var(--product-on-accent)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .is-style-outline .wp-block-button__link{background:transparent;border-color:var(--product-accent);color:var(--product-accent-ink)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .is-style-outline .wp-block-button__link:hover{background:var(--product-accent-soft);color:var(--product-accent-ink)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :focus-visible{outline-color:var(--product-accent-ink)}

/* boxes: product tint and border */
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile){
  background:var(--product-box-bg);border-color:var(--product-box-border);box-shadow:var(--product-box-glow);
  transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,color .25s ease;
}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .cta-band .path-tile{background:rgba(var(--product-accent-rgb),.14)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .path-tile em{color:color-mix(in srgb,var(--product-accent) 65%,#fff)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .fig{border-color:var(--product-box-border);box-shadow:var(--product-box-glow);transition:border-color .25s ease,box-shadow .25s ease}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .case-dl div{border-top-color:var(--product-box-border)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .mech{border-left-color:var(--product-accent)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.faq,.faq-row){border-color:var(--product-box-border)}

/* boxes on hover / keyboard focus: solid product color.
 * Text switches to the on-accent color so it stays readable. Diagrams
 * (.fig) only get a solid border so the drawings are not covered. */
@media (hover:hover){
  html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):hover{
    background:var(--product-accent);border-color:var(--product-accent);box-shadow:var(--product-box-hover-glow);color:var(--product-on-accent);
  }
  html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):hover *{color:var(--product-on-accent)}
  html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):hover .status{background:rgba(255,255,255,.5)}
  html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case):hover .case-dl div{border-top-color:rgba(0,0,0,.2)}
  html:is([data-theme]) body.has-technology-hero.has-technology-hero main .fig:hover{border-color:var(--product-accent);box-shadow:var(--product-box-hover-glow)}
}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):is(:focus-within,:focus-visible){
  background:var(--product-accent);border-color:var(--product-accent);box-shadow:var(--product-box-hover-glow);color:var(--product-on-accent);
}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):is(:focus-within,:focus-visible) *{color:var(--product-on-accent)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):is(:focus-within,:focus-visible) .status{background:rgba(255,255,255,.5)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile):is(:focus-within,:focus-visible) :focus-visible,
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .path-tile:focus-visible{outline-color:var(--product-on-accent)}
@media (prefers-reduced-motion:reduce){
  .has-technology-hero main :is(.card,.case,.flow li,.app-card,.val-item,.explainer,.path-tile,.fig){transition:none!important}
}

/* accents: section labels and key figures */
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .eyebrow{color:var(--product-accent-ink)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .cta-band .eyebrow{color:color-mix(in srgb,var(--product-accent) 65%,#fff)}
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .stat{color:var(--product-accent-ink)}

.has-technology-hero,.technology-hero,.product-card,.brand-hero{--bip-grid-lines:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='xMaxYMax slice'><g fill='none' stroke='%23000' stroke-width='1.4'><path d='M-20 150 C260 150 470 30 820 30'/><path d='M-20 162 C260 162 470 47 820 47'/><path d='M-20 174 C260 174 470 64 820 64'/><path d='M-20 186 C260 186 470 81 820 81'/><path d='M-20 198 C260 198 470 98 820 98'/><path d='M-20 210 C260 210 470 115 820 115'/><path d='M-20 222 C260 222 470 132 820 132'/><path d='M-20 234 C260 234 470 149 820 149'/><path d='M-20 246 C260 246 470 166 820 166'/><path d='M-20 258 C260 258 470 183 820 183'/><path d='M-20 270 C260 270 470 200 820 200'/><path d='M-20 282 C260 282 470 217 820 217'/><path d='M-20 294 C260 294 470 234 820 234'/><path d='M-20 306 C260 306 470 251 820 251'/><path d='M-20 318 C260 318 470 268 820 268'/><path d='M-20 330 C260 330 470 285 820 285'/><path d='M-20 342 C260 342 470 302 820 302'/><path d='M-20 354 C260 354 470 319 820 319'/><path d='M-20 366 C260 366 470 336 820 336'/><path d='M-20 378 C260 378 470 353 820 353'/><path d='M-20 390 C260 390 470 370 820 370'/><path d='M-20 402 C260 402 470 387 820 387'/></g></svg>")}
/* last-section linework: the same curved "swoosh" as the hero, as a
 * triangle rising from the bottom-right corner of the LAST section on
 * the page only. Boxes are opaque, so the lines show only in the gaps,
 * the empty corner and the bottom padding, never through a box. The
 * size is capped so the lines stay clear of loose text. */
.has-technology-hero main .section:not(.technology-hero){position:relative;isolation:isolate;overflow:hidden}
.has-technology-hero main .section:not(.technology-hero):last-child::before,
.has-technology-hero main .section:not(.technology-hero):last-child::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;right:0;bottom:0;
  width:min(62%,780px);height:var(--last-lines-height,min(62%,380px));
}
.has-technology-hero main .section:not(.technology-hero):last-child::before{
  background:var(--product-accent);opacity:var(--technology-hero-lines-opacity);
  -webkit-mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
          mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
  -webkit-mask-size:900px 450px,100% 100%;mask-size:900px 450px,100% 100%;
  -webkit-mask-position:right bottom,0 0;mask-position:right bottom,0 0;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
.has-technology-hero main .section:not(.technology-hero):last-child::after{
  background:radial-gradient(farthest-side at 100% 100%,var(--technology-hero-glow),transparent);
}
/* the closing navy band keeps its tiles opaque so lines never show through */
html:is([data-theme]) body.has-technology-hero.has-technology-hero main .cta-band .path-tile{background:color-mix(in srgb,var(--product-accent) 16%,var(--bip-navy))}
@media (max-width:781px){
  .has-technology-hero main .section:not(.technology-hero):last-child::before,
  .has-technology-hero main .section:not(.technology-hero):last-child::after{width:90%;--last-lines-height:52px}
}
@media (max-width:600px){
  .has-technology-hero main .section:not(.technology-hero):last-child::before,
  .has-technology-hero main .section:not(.technology-hero):last-child::after{--last-lines-height:36px}
}
@media (forced-colors:active),print{
  .has-technology-hero main .section::before,.has-technology-hero main .section::after{display:none}
}

/* ---------- 7. Product logo mark (watermark) ----------
 * Large, transparent, behind the hero content on the right. Decorative
 * (aria-hidden, empty alt). Light/dark files switch with the theme. */
.technology-hero__mark{
  position:absolute;z-index:0;pointer-events:none;
  /* centred on the product name line, to the right */
  right:clamp(8px,3vw,40px);top:var(--name-mid);transform:translateY(-50%);
  width:var(--mark-size);aspect-ratio:1/1;
  display:flex;align-items:center;justify-content:center;
  opacity:var(--technology-hero-mark-opacity,.1);
}
html[data-theme="dark"] .technology-hero__mark{--technology-hero-mark-opacity:.16}
.technology-hero__mark-img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(var(--mark-zoom,1))}
/* per-product sizing: INTELLIPHASE and OmniMaterials art has more empty
 * space around it, so the box is larger and the image is zoomed within it */
.technology-hero--intelliphase{--mark-scale:1.15;--mark-zoom:1.35}
.technology-hero--omnimaterials{--mark-scale:1.3;--mark-zoom:1.1}
.technology-hero__mark-img--dark{display:none}
html[data-theme="dark"] .technology-hero__mark-img--dark{display:block}
html[data-theme="dark"] .technology-hero__mark-img--light{display:none}
@media (max-width:781px){
  .technology-hero__mark{right:4px;top:calc(var(--name-mid) + 14px)}
}
@media (forced-colors:active),print{.technology-hero__mark{display:none}}

/* Two-word product names (e.g. OmniMaterials) use the PHASE styling above:
 * first word outlined, second word filled. Shown in capitals like
 * THERMOPHASE and INTELLIPHASE; remove this rule to show "OmniMaterials". */
:is(.technology-hero,.product-card) .product-name--camel{text-transform:uppercase}

/* ---------- 8. Hyphenated product names (none in use right now) ----------
 * Lead word: solid product-color fill with an outline (white in dark
 * mode, near-black in light mode). "-rest": solid white / near-black. */
.technology-hero .product-name--split{text-transform:uppercase}
.product-name--split .product-name__part{display:inline-block;transform:skewX(-8deg)}
.product-name__lead{
  color:var(--product-accent);
  -webkit-text-stroke:max(3.2px,.06em) var(--product-name-outline,#111418);
  paint-order:stroke fill;
}
.product-name__tail{color:var(--product-name-outline,#111418)}
html[data-theme="dark"] .product-name--split{--product-name-outline:#FFFFFF}
@media (forced-colors:active){
  .product-name__lead,.product-name__tail{color:CanvasText;-webkit-text-stroke:0}
}

/* ---------- 9. Headings in the product color ----------
 * Section headings, box titles and definition terms use a deep shade of
 * the product color in light mode and a light tint of it in dark mode.
 * The navy closing band keeps its white heading; hovered boxes still
 * switch to the on-accent text color (more specific rule above). */
.has-technology-hero{--product-heading:color-mix(in srgb,var(--product-accent) 58%,#0C0D0F)}
html[data-theme="dark"] .has-technology-hero{--product-heading:color-mix(in srgb,var(--product-accent) 28%,#F5F7F9)}
html:is([data-theme]) body.has-technology-hero main :where(.section:not(.technology-hero,.cta-band,.navy)) :where(h2,h3,h4,.faq dt,.defs dt){color:var(--product-heading)}

/* ---------- 10. Space between a section heading and its boxes ---------- */
html:is([data-theme]) body.has-technology-hero main .inner>:is(h2,h3)+:is(.wp-block-columns,.flow,.cases,.path-tiles){margin-top:32px}

/* ---------- 11. Home hero carousel ----------
 * Slide 1 is the home hero; the rest are product technology heroes built
 * from the product pages. Native horizontal scroll with snap points, so
 * it swipes on touch screens and still works without JavaScript. */
.technology-hero{--product-on-accent:#0C0D0F}
.technology-hero--zerotinous{--product-on-accent:#FFFFFF}
.hero-carousel{position:relative;margin-top:0;margin-bottom:0}
.hero-carousel__track{
  display:flex;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;
  scrollbar-width:none;overscroll-behavior-x:contain;
}
.hero-carousel__track::-webkit-scrollbar{display:none}
.hero-carousel__track:focus{outline:none}
.hero-carousel__slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex}
.hero-carousel__slide>.wp-block-group{flex:1 1 auto;width:100%;max-width:none;margin:0!important;padding-bottom:calc(clamp(64px,8vw,112px) + 40px)}
/* the product slide button: solid product color */
html .technology-hero .is-product .wp-block-button__link{background:var(--product-accent);border-color:var(--product-accent);color:var(--product-on-accent)}
html .technology-hero .is-product .wp-block-button__link:is(:hover,:focus-visible){background:color-mix(in srgb,var(--product-accent) 80%,#fff);border-color:color-mix(in srgb,var(--product-accent) 80%,#fff);color:var(--product-on-accent)}
/* controls: bottom-centre over the slides */
.hero-carousel__controls{
  position:absolute;left:0;right:0;bottom:clamp(18px,3vw,32px);z-index:2;
  display:flex;align-items:center;justify-content:center;gap:10px;pointer-events:none;
}
.hero-carousel__controls>*{pointer-events:auto}
.hero-carousel__btn{
  width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font:600 22px/1 var(--bip-sans);cursor:pointer;
  background:rgba(255,255,255,.85);color:var(--bip-navy);border:1px solid var(--bip-line);
}
.hero-carousel__btn:hover{background:#fff}
.hero-carousel__btn:focus-visible,.hero-carousel__dot:focus-visible{outline:3px solid var(--bip-purple);outline-offset:2px}
html[data-theme="dark"] .hero-carousel__btn{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.28)}
html[data-theme="dark"] .hero-carousel__btn:hover{background:rgba(255,255,255,.16)}
html[data-theme="dark"] :is(.hero-carousel__btn,.hero-carousel__dot):focus-visible{outline-color:var(--bip-green)}
.hero-carousel__pause span{display:block;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.hero-carousel__pause[aria-pressed="true"] span{width:0;height:0;border-style:solid;border-width:7px 0 7px 12px;border-color:transparent transparent transparent currentColor;margin-left:3px}
.hero-carousel__dots{display:flex;gap:8px;padding:0 4px}
.hero-carousel__dot{
  width:10px;height:10px;padding:0;border-radius:50%;cursor:pointer;
  border:1.5px solid var(--bip-navy);background:transparent;
  /* 24px tap target */
  box-sizing:content-box;background-clip:content-box;margin:-7px;border-width:7px;border-color:transparent;
  box-shadow:inset 0 0 0 1.5px var(--bip-navy);
}
.hero-carousel__dot[aria-current="true"]{background-color:var(--bip-navy)}
html[data-theme="dark"] .hero-carousel__dot{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}
html[data-theme="dark"] .hero-carousel__dot[aria-current="true"]{background-color:#fff}
html:not(.bip-js) .hero-carousel__controls{display:none}
@media (prefers-reduced-motion:reduce){.hero-carousel__track{scroll-behavior:auto}}
@media print{.hero-carousel__controls{display:none}.hero-carousel__track{display:block}.hero-carousel__slide:not(:first-child){display:none}}
/* slide 1 (home hero): same backdrop as the product slides, content centred vertically */
.hero-carousel__slide>.hero-carousel{background:#FFFFFF;display:flex;flex-direction:column;justify-content:center;padding-top:clamp(64px,8vw,112px)}
html[data-theme="dark"] .hero-carousel__slide>.hero-carousel{background:var(--d-stage,#0C0D0F)}
.hero-carousel__slide>.hero-carousel>.inner{width:100%}
/* slide 1: very large, faint THERMOPHASE mark on the right, behind the text */
.hero-carousel__slide>.hero-carousel{position:relative;isolation:isolate;overflow:hidden}
.hero-carousel__slide>.hero-carousel>.inner{position:relative;z-index:1}
.technology-hero__mark.hero-carousel__home-mark{
  right:clamp(-40px,2vw,48px);top:50%;transform:translateY(-50%);
  width:auto;height:min(92%,620px);aspect-ratio:558/595;
  --technology-hero-mark-opacity:.09;
}
html[data-theme="dark"] .technology-hero__mark.hero-carousel__home-mark{--technology-hero-mark-opacity:.14}
@media (max-width:781px){
  .technology-hero__mark.hero-carousel__home-mark{right:-30%;height:70%;--technology-hero-mark-opacity:.06}
  html[data-theme="dark"] .technology-hero__mark.hero-carousel__home-mark{--technology-hero-mark-opacity:.1}
}
/* product pages, dark mode: closing band tiles carry a hint of the product color */
html[data-theme="dark"] body.has-technology-hero.has-technology-hero main .cta-band .path-tile{background:color-mix(in srgb,var(--product-accent) 10%,#1A2027)}
/* product pages, dark mode: key figures glow in the product color on hover */
.has-technology-hero main .stat{transition:color .25s ease,text-shadow .25s ease}
html[data-theme="dark"] body.has-technology-hero.has-technology-hero main :is(.mult,.stat):hover .stat,
html[data-theme="dark"] body.has-technology-hero.has-technology-hero main .stat:hover{color:var(--product-accent);text-shadow:0 0 24px rgba(var(--product-accent-rgb),.5)}
@media (prefers-reduced-motion:reduce){.has-technology-hero main .stat{transition:none}}

/* ---------- 12. Product cards (Inventions page and similar) ----------
 * A card linking to a product page takes that product's look: tinted
 * surface and border in the product color, the styled product name, a
 * faint logo mark in the top-right and a corner of curved lines in the
 * bottom-right, kept beside the "Explore" link and clear of the text.
 * Hover / keyboard focus turns the card solid product color. */
.product-card{
  --product-on-accent:#0C0D0F;
  --product-accent-ink:color-mix(in srgb,var(--product-accent) 68%,#000);
  --product-name-prefix-stroke:var(--product-accent);
  --product-name-phase:#111418;
  --product-name-outline:#111418;
  --product-card-bg:color-mix(in srgb,var(--product-accent) 7%,#fff);
  --product-card-border:rgba(var(--product-accent-rgb),.4);
  --product-card-lines:.45;
  position:relative;isolation:isolate;overflow:hidden;
}
html[data-theme="dark"] .product-card{
  --product-accent-ink:color-mix(in srgb,var(--product-accent) 70%,#fff);
  --product-name-prefix-stroke:#FFFFFF;
  --product-name-phase:var(--product-accent);
  --product-name-outline:#FFFFFF;
  --product-card-bg:color-mix(in srgb,var(--product-accent) 15%,#111418);
  --product-card-border:rgba(var(--product-accent-rgb),.6);
  --product-card-lines:.7;
}
html:is([data-theme]) .product-card.card{
  background:var(--product-card-bg);border-color:var(--product-card-border);
  box-shadow:0 0 32px -14px rgba(var(--product-accent-rgb),.45);
  transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease;
}
html:is([data-theme]) .product-card.flagship-wide{border-top:6px solid var(--product-accent)}
.product-card>*{position:relative;z-index:1}
/* product name */
.product-card .product-name{
  font-family:var(--product-name-font,"Alibaba Sans","Arial Black",sans-serif);font-weight:900;
  font-size:clamp(30px,3.2vw,42px);line-height:1.05;letter-spacing:.005em;
  color:var(--product-name-phase);margin:14px 0 14px;padding-left:.06em;
}
.product-card.flagship-wide .product-name{font-size:clamp(36px,4.6vw,60px)}
.product-card .product-name--split{text-transform:uppercase}
.product-card .product-name__prefix,.product-card .product-name__lead{-webkit-text-stroke-width:max(1.4px,.03em)}
.product-card .product-name__lead{-webkit-text-stroke-width:max(2.8px,.06em)}
.product-card :is(.arrow-link){color:var(--product-accent-ink)}
/* logo mark: top-right, faint */
.product-card>.product-card__mark{
  position:absolute;z-index:0;top:16px;right:16px;transform:none;
  width:clamp(90px,12vw,150px);aspect-ratio:1/1;
}
.product-card.flagship-wide>.product-card__mark{width:clamp(110px,16vw,200px);top:50%;right:40px;transform:translateY(-50%)}
/* lines: bottom-right corner beside the "Explore" link */
.product-card::after{
  content:"";position:absolute;z-index:0;right:0;bottom:0;pointer-events:none;
  width:max(0px,min(52%,calc(100% - 300px)));height:72px;
  background:var(--product-accent);opacity:var(--product-card-lines);
  -webkit-mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
          mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
  -webkit-mask-size:900px 450px,100% 100%;mask-size:900px 450px,100% 100%;
  -webkit-mask-position:right bottom,0 0;mask-position:right bottom,0 0;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
/* hover / keyboard focus: a stronger see-through wash of the product color,
 * a solid product-color border and a glow. Text and the styled product
 * name keep their own colors so the outline/fill treatment stays visible. */
.product-card{--product-card-hover-bg:color-mix(in srgb,var(--product-accent) 18%,#fff)}
html[data-theme="dark"] .product-card{--product-card-hover-bg:color-mix(in srgb,var(--product-accent) 30%,#111418)}
html:is([data-theme]) .product-card.card:is(:hover,:focus-within){
  background:var(--product-card-hover-bg);border-color:var(--product-accent);
  box-shadow:0 0 0 1px var(--product-accent),0 14px 44px -10px rgba(var(--product-accent-rgb),.6);
  transform:translateY(-2px);
}
html:is([data-theme]) .product-card.card{transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.product-card:is(:hover,:focus-within) .technology-hero__mark{--technology-hero-mark-opacity:.24}
html[data-theme="dark"] .product-card:is(:hover,:focus-within) .technology-hero__mark{--technology-hero-mark-opacity:.3}
@media (prefers-reduced-motion:reduce){html:is([data-theme]) .product-card.card{transition:none}}
@media (forced-colors:active),print{.product-card::after,.product-card__mark{display:none}}
.product-card.product-intelliphase{--mark-zoom:1.35}.product-card.product-omnimaterials{--mark-zoom:1.1}
@media (prefers-reduced-motion:reduce){html:is([data-theme]) .product-card.card{transform:none!important}}
/* no lines inside the cards */
.product-card::after{display:none}
/* larger logo marks on desktop */
.product-card>.product-card__mark{width:clamp(110px,15vw,190px)}
.product-card.flagship-wide>.product-card__mark{width:clamp(150px,20vw,250px)}
/* phones: the mark sits on the product-name line (copy inside the heading) */
.product-card__mark--inline{display:none}
@media (max-width:781px){
  .product-card>.product-card__mark{display:none}
  .product-card .product-name{position:relative}
  .product-card .product-card__mark--inline{
    display:flex;position:absolute;z-index:-1;right:-12px;top:50%;left:auto;
    transform:translateY(-50%);width:120px;aspect-ratio:1/1;
  }
}

/* ---------- 13. Brand hero (top of the non-product pages) ----------
 * Biointerphase navy #00355F, green #B4D88B and purple #853494:
 * corner glows, a tri-colour bar under the title and a fan of curved
 * lines beside the description (never under text). */
.brand-hero{
  --bh-bg:#FFFFFF;
  --bh-glow-navy:rgba(0,53,95,.10);
  --bh-glow-purple:rgba(133,52,148,.10);
  --bh-glow-green:rgba(180,216,139,.28);
  --bh-lines:linear-gradient(90deg,#853494,#00355F);
  --bh-lines-opacity:.55;
  --bh-eyebrow:#853494;
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(45% 70% at 100% 0%,var(--bh-glow-purple),transparent 65%),
    radial-gradient(50% 80% at 100% 100%,var(--bh-glow-green),transparent 65%),
    radial-gradient(45% 80% at 0% 100%,var(--bh-glow-navy),transparent 65%),
    var(--bh-bg);
  border-bottom:1px solid rgba(133,52,148,.25);
}
html[data-theme="dark"] .brand-hero{
  --bh-bg:var(--d-stage,#0C0D0F);
  --bh-glow-navy:rgba(0,53,95,.75);
  --bh-glow-purple:rgba(133,52,148,.32);
  --bh-glow-green:rgba(180,216,139,.13);
  --bh-lines:linear-gradient(90deg,#B4D88B,#853494);
  --bh-lines-opacity:.8;
  --bh-eyebrow:var(--bip-green);
  border-bottom-color:rgba(180,216,139,.22);
}
.brand-hero .eyebrow{color:var(--bh-eyebrow)}
/* tri-colour bar under the page title */
.brand-hero .inner>h1::after{
  content:"";display:block;width:clamp(72px,9vw,120px);height:5px;border-radius:3px;margin-top:.32em;
  background:linear-gradient(90deg,#00355F 0 33.3%,#B4D88B 33.3% 66.6%,#853494 66.6% 100%);
}
html[data-theme="dark"] .brand-hero .inner>h1::after{background:linear-gradient(90deg,#3D7BB3 0 33.3%,#B4D88B 33.3% 66.6%,#B45AC4 66.6% 100%)}
/* lines: a grid column beside the description, so they can never sit
 * under the title, the description or anything below it */
.brand-hero__lines{display:none}
@media (min-width:782px){
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede){
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,34%);column-gap:40px;
  }
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>*{grid-column:1/-1}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>.lede{grid-column:1}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>.brand-hero__lines{
    display:block;grid-column:2;grid-row:3;align-self:stretch;min-height:120px;
    margin-right:calc(-1 * var(--bip-gutter,24px));
    background:var(--bh-lines);opacity:var(--bh-lines-opacity);pointer-events:none;
    -webkit-mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
            mask-image:var(--bip-grid-lines),radial-gradient(farthest-side at 100% 100%,#000 25%,rgba(0,0,0,.5) 60%,transparent 100%);
    -webkit-mask-size:900px 450px,100% 100%;mask-size:900px 450px,100% 100%;
    -webkit-mask-position:right bottom,0 0;mask-position:right bottom,0 0;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-composite:source-in;mask-composite:intersect;
  }
  /* when the description is the last thing, run the lines down to the edge */
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede:last-child)>.brand-hero__lines{margin-bottom:calc(-1 * var(--brand-hero-pad,64px))}
}
.brand-hero{--brand-hero-pad:64px}
.brand-hero.hero-simple{--brand-hero-pad:64px}
@media (forced-colors:active),print{.brand-hero__lines{display:none!important}}
/* brand hero title: the same heavy, slightly slanted Alibaba Sans lettering
 * as the product names, sized for a sentence-length title */
.brand-hero .inner>h1{
  font-family:var(--product-name-font,"Alibaba Sans","Arial Black",sans-serif);font-weight:900;
  font-size:clamp(40px,5.6vw,80px);line-height:1.02;letter-spacing:.005em;
  transform:skewX(-8deg);transform-origin:left bottom;padding-left:.04em;
}
.brand-hero{--product-name-font:"Alibaba Sans","Arial Black","Segoe UI Black","Helvetica Neue",Arial,system-ui,sans-serif}
/* stronger colour in light mode */
.brand-hero{--bh-glow-purple:rgba(133,52,148,.16);--bh-glow-green:rgba(180,216,139,.42);--bh-glow-navy:rgba(0,53,95,.14);--bh-lines-opacity:.8}
html[data-theme="dark"] .brand-hero{--bh-glow-purple:rgba(133,52,148,.38);--bh-glow-green:rgba(180,216,139,.16);--bh-glow-navy:rgba(0,53,95,.8);--bh-lines-opacity:.85}

/* brand hero, single colour per page (class set in functions.php):
 * one Biointerphase colour drives the glow, lines, eyebrow and edge,
 * like the one-colour product heroes. No tri-colour bar. */
.brand-hero .inner>h1::after{display:none}
.brand-hero--navy  {--bh-c:#00355F;--bh-glow:rgba(0,53,95,.12);--bh-eyebrow:#00355F}
.brand-hero--green {--bh-c:#8DBA5E;--bh-glow:rgba(180,216,139,.35);--bh-eyebrow:#2F5014}
.brand-hero--purple{--bh-c:#853494;--bh-glow:rgba(133,52,148,.12);--bh-eyebrow:#853494}
html[data-theme="dark"] .brand-hero--navy  {--bh-c:#4F86B8;--bh-glow:rgba(0,53,95,.85);--bh-eyebrow:#8EC3EA}
html[data-theme="dark"] .brand-hero--green {--bh-c:#B4D88B;--bh-glow:rgba(180,216,139,.16);--bh-eyebrow:#B4D88B}
html[data-theme="dark"] .brand-hero--purple{--bh-c:#B45AC4;--bh-glow:rgba(133,52,148,.45);--bh-eyebrow:#D9A6E4}
html:is([data-theme]) .brand-hero:is(.brand-hero--navy,.brand-hero--green,.brand-hero--purple){
  background:
    radial-gradient(120% 90% at 100% 100%,var(--bh-glow),transparent 60%),
    radial-gradient(50% 60% at 100% 0%,var(--bh-glow),transparent 70%),
    var(--bh-bg);
  border-bottom-color:color-mix(in srgb,var(--bh-c) 45%,transparent);
  --bh-lines:var(--bh-c);
}
.brand-hero .inner>h1{margin-bottom:.32em}
/* brand hero lines run from the description down to the very bottom edge,
 * continuing behind any extra content below the description (jump links,
 * inquiry boxes, legends), which sits on top of them. */
html .brand-hero.section{--brand-hero-pad:96px;padding-bottom:var(--brand-hero-pad)}
@media (max-width:600px){html .brand-hero.section{--brand-hero-pad:64px}}
@media (min-width:782px){
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede){grid-template-rows:repeat(6,auto)}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(2){grid-row:1}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(3){grid-row:2}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(4){grid-row:3}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(5){grid-row:4}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(6){grid-row:5}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:nth-child(7){grid-row:6}
  .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>:not(.brand-hero__lines){position:relative;z-index:1}
  html .brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>.brand-hero__lines{
    grid-row:3 / 7;z-index:0;margin-bottom:calc(-1 * var(--brand-hero-pad));
  }
}
@media (min-width:782px){.brand-hero .inner:has(>.brand-hero__lines+.eyebrow+h1+.lede)>.lede{margin-top:0}}

.bip-feature.product-thermophase main .section:not(.technology-hero):last-child::before,.bip-feature.product-thermophase main .section:not(.technology-hero):last-child::after{width:min(44%,560px)}

/* ---------- 14. Feature style (shared look for content sections) ----------
 * Body classes (functions.php): bip-feature (whole page) or
 * bip-feature-partial (one section), plus bip-accent-{thermophase|navy|
 * green|purple}. The accent drives: slanted product-style section titles,
 * accent labels/headings, accent bars on notes, glowing tinted panels and
 * cards with a see-through hover, accent buttons, timeline/step markers
 * and soft corner glows. */

/* accent tokens (light mode) */
.bip-accent-thermophase{--fa:#60A9D3;--fa-rgb:96,169,211;--fa-ink:color-mix(in srgb,#60A9D3 68%,#000);--fa-heading:color-mix(in srgb,#60A9D3 58%,#0C0D0F);--fa-on:#0C0D0F}
.bip-accent-navy{--fa:#00355F;--fa-rgb:0,53,95;--fa-ink:#00355F;--fa-heading:#00355F;--fa-on:#FFFFFF}
.bip-accent-green{--fa:#8DBA5E;--fa-rgb:141,186,94;--fa-ink:#2F5014;--fa-heading:#2F5014;--fa-on:#0C0D0F}
.bip-accent-purple{--fa:#853494;--fa-rgb:133,52,148;--fa-ink:#853494;--fa-heading:#6B2878;--fa-on:#FFFFFF}
/* dark mode */
html[data-theme="dark"] .bip-accent-thermophase{--fa-ink:color-mix(in srgb,#60A9D3 70%,#fff);--fa-heading:color-mix(in srgb,#60A9D3 28%,#F5F7F9)}
html[data-theme="dark"] .bip-accent-navy{--fa:#4F86B8;--fa-rgb:79,134,184;--fa-ink:#8EC3EA;--fa-heading:color-mix(in srgb,#8EC3EA 40%,#F5F7F9);--fa-on:#0C0D0F}
html[data-theme="dark"] .bip-accent-green{--fa:#B4D88B;--fa-rgb:180,216,139;--fa-ink:#B4D88B;--fa-heading:color-mix(in srgb,#B4D88B 40%,#F5F7F9);--fa-on:#0C0D0F}
html[data-theme="dark"] .bip-accent-purple{--fa:#B45AC4;--fa-rgb:180,90,196;--fa-ink:#D9A6E4;--fa-heading:color-mix(in srgb,#D9A6E4 45%,#F5F7F9);--fa-on:#0C0D0F}
:is(.bip-feature,.bip-feature-partial){
  --fa-panel:color-mix(in srgb,var(--fa) 7%,#fff);
  --fa-panel-hover:color-mix(in srgb,var(--fa) 16%,#fff);
  --fa-border:rgba(var(--fa-rgb),.4);
  --fa-glow:rgba(var(--fa-rgb),.10);
}
html[data-theme="dark"] :is(.bip-feature,.bip-feature-partial){
  --fa-panel:color-mix(in srgb,var(--fa) 13%,#111418);
  --fa-panel-hover:color-mix(in srgb,var(--fa) 24%,#111418);
  --fa-border:rgba(var(--fa-rgb),.55);
  --fa-glow:rgba(var(--fa-rgb),.13);
}

/* ---- scope: which sections get the style ---- */
/* (S) = whole-page content sections, the THERMOPHASE economics section and
 * the Inventions federal-programs section */
:is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)){
  background-image:radial-gradient(55% 70% at 100% 0%,var(--fa-glow),transparent 65%);
}
:is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band):nth-child(odd)){
  background-image:radial-gradient(55% 70% at 0% 100%,var(--fa-glow),transparent 65%);
}

/* section titles: site heading font, in the page accent colour */
html:is([data-theme]) :is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) .inner>h2{
  color:var(--fa-heading);
}
/* labels and headings */
html:is([data-theme]) :is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) :is(.eyebrow,.step-n,.seq-n,.role){color:var(--fa-ink)}
html:is([data-theme]) :is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) :is(h3,h4){color:var(--fa-heading)}
/* notes: accent bar + label */
:is(body.bip-feature main .section,body.bip-feature-partial.bip-accent-thermophase main #economics,body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) .field{border-left:3px solid var(--fa);padding-left:16px;margin-bottom:18px}
html:is([data-theme]) :is(body.bip-feature main .section,body.bip-feature-partial.bip-accent-thermophase main #economics,body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) .field strong{color:var(--fa-ink)}
/* panels: evidence columns and cards */
html:is([data-theme]) :is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) :is(.wp-block-column:has(>.evlist),.wp-block-column:has(>.defs),.card,.value,.flow li,.case){
  background:var(--fa-panel);border:1px solid var(--fa-border);border-radius:16px;
  box-shadow:0 0 36px -14px rgba(var(--fa-rgb),.5);
  transition:background-color .25s ease,box-shadow .25s ease,border-color .25s ease,transform .25s ease;
}
html:is([data-theme]) :is(body.bip-feature main .section,body.bip-feature-partial main #economics) .wp-block-column:is(:has(>.evlist),:has(>.defs)){padding:26px 28px}
html:is([data-theme]) :is(body.bip-feature main .section:not(.hero,.cta-band,.navy,.strip,.proof-band),
    body.bip-feature-partial.bip-accent-thermophase main #economics,
    body.bip-feature-partial:not(.bip-accent-thermophase) main .section:has(p.status-fed)) :is(.wp-block-column:has(>.evlist),.wp-block-column:has(>.defs),.card,.value,.flow li,.case):is(:hover,:focus-within){
  background:var(--fa-panel-hover);border-color:var(--fa);
  box-shadow:0 0 0 1px var(--fa),0 14px 44px -10px rgba(var(--fa-rgb),.6);transform:translateY(-2px);
}
:is(body.bip-feature,body.bip-feature-partial) main .evlist li{border-color:rgba(var(--fa-rgb),.4)}
.bip-feature main .value{padding:24px 26px}
/* timeline and steps */
html:is([data-theme]) body.bip-feature main .sequence li{border-top-color:var(--fa)}
html:is([data-theme]) body.bip-feature main .sequence li::before{background:var(--fa)}
html:is([data-theme]) body.bip-feature main .step-n{border-top-color:var(--fa)}
/* buttons (brand pages; THERMOPHASE pages already use the product rules) */
html:is([data-theme]) body.bip-feature:not(.has-technology-hero) main .section:not(.hero,.cta-band,.navy) .wp-block-button:not(.is-style-outline,.btn-link) .wp-block-button__link{background:var(--fa);border-color:var(--fa);color:var(--fa-on)}
html:is([data-theme]) body.bip-feature:not(.has-technology-hero) main .section:not(.hero,.cta-band,.navy) .wp-block-button:not(.is-style-outline,.btn-link) .wp-block-button__link:hover{filter:brightness(1.12)}
html:is([data-theme]) body.bip-feature:not(.has-technology-hero) main .section:not(.hero,.cta-band,.navy) .is-style-outline .wp-block-button__link{border-color:var(--fa);color:var(--fa-ink);background:transparent}
html:is([data-theme]) body.bip-feature main :focus-visible{outline-color:var(--fa-ink)}
@media (prefers-reduced-motion:reduce){:is(.bip-feature,.bip-feature-partial) main :is(.card,.value,.flow li,.case,.wp-block-column){transition:none!important;transform:none!important}}

/* ---------- 15. Space between section headings and what follows ----------
 * Site-wide: boxes, card grids, tables, lists and figures sit 32px below a
 * section heading so the letters never touch a border; a paragraph that
 * follows directly gets a small gap too. */
html body main .section:not(.hero) .inner>:is(h2,h3)+:is(.wp-block-columns,.flow,.cases,.path-tiles,.table-wrap,.metric-row,.inq-types,.fig,figure,ol,ul,dl){margin-top:32px}
html body main .section:not(.hero) .inner>h2+p.mech-intro{margin-top:12px}
html body main .section:not(.hero) h3+:is(.link-list,.evlist){margin-top:16px}
html body main .section:not(.hero) h3+dl{margin-top:16px}

/* ---------- 16. Dark mode: page tops blend into the page ----------
 * The home carousel, product heroes and page-top sections use the same
 * charcoal as the page itself, so there is no visible box edge; only
 * their glows, lines and logos add colour. */
html[data-theme="dark"] .technology-hero,
html[data-theme="dark"] .has-technology-hero,
html[data-theme="dark"] .brand-hero{--technology-hero-background:var(--d-bg,#111418);--bh-bg:var(--d-bg,#111418)}
html[data-theme="dark"] .hero-carousel__slide>.hero-carousel{background:var(--d-bg,#111418)}

/* ---------- 17. Light mode: stronger logo watermarks ---------- */
html[data-theme="light"] .technology-hero__mark{--technology-hero-mark-opacity:.22}
html[data-theme="light"] .technology-hero__mark.hero-carousel__home-mark{--technology-hero-mark-opacity:.17}
html[data-theme="light"] .product-card .technology-hero__mark{--technology-hero-mark-opacity:.2}
html[data-theme="light"] .product-card:is(:hover,:focus-within) .technology-hero__mark{--technology-hero-mark-opacity:.32}

/* ---------- 18. Hidden firehouse page ---------- */
.bip-firehouse .firehouse-photo{margin:0}
.bip-firehouse .firehouse-photo img{border-radius:16px;border:1px solid rgba(var(--fa-rgb),.45);box-shadow:0 0 44px -14px rgba(var(--fa-rgb),.6);filter:sepia(.18)}
.firehouse-timeline{list-style:none;margin:36px 0 0;padding:0 0 0 28px;position:relative;max-width:760px}
.firehouse-timeline::before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:3px;border-radius:2px;background:linear-gradient(var(--fa,#853494),rgba(var(--fa-rgb,133,52,148),.25))}
.firehouse-timeline li{position:relative;padding:0 0 26px 18px;display:flex;flex-direction:column;gap:2px}
.firehouse-timeline li::before{content:"";position:absolute;left:-28px;top:4px;width:15px;height:15px;border-radius:50%;background:var(--bip-offwhite,#fff);border:3px solid var(--fa,#853494)}
.firehouse-timeline li:last-child::before{background:var(--fa,#853494);box-shadow:0 0 0 5px rgba(var(--fa-rgb,133,52,148),.2)}
.firehouse-timeline .seq-n{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--fa-ink,#853494)}
.firehouse-timeline strong{font-size:22px;font-weight:700;line-height:1.15;color:var(--fa-heading,#00355F)}
.firehouse-timeline em{font-style:normal;font-weight:600;font-size:17px;color:inherit}
.firehouse-timeline span:last-child{font-size:16px;color:var(--bip-muted)}
html[data-theme="dark"] .firehouse-timeline span:last-child{color:#B4C0CA}
html[data-theme="dark"] .firehouse-timeline li::before{background:#111418}
.firehouse-whisper{margin-top:28px;font-style:italic;font-size:15px;color:var(--bip-muted)}
html[data-theme="dark"] .firehouse-whisper{color:#9AA6B0}

/* ---------- 19. Founder title note ("CEO" spelled out) ---------- */
.role-note{margin:-4px 0 14px;font-size:14px;font-style:italic;color:var(--bip-muted)}
html[data-theme="dark"] .role-note{color:#9FB0BE}

/* ---------- 20. Team headshots in the initials boxes ---------- */
.monogram.has-photo{padding:0;overflow:hidden;background:var(--bip-navy-soft)}
.monogram.has-photo img{display:block;width:100%;height:100%;object-fit:cover}
.mono-lg.has-photo{width:100%}

/* ---------- 21. Photo carousel (Steel City Silk) ---------- */
.photo-carousel{border-radius:16px;overflow:hidden;border:1px solid var(--fa-border,rgba(0,53,95,.18));box-shadow:0 0 36px -14px rgba(var(--fa-rgb,0,53,95),.45);background:#fff}
.photo-carousel .hero-carousel__slide{display:block}
.photo-carousel__fig{margin:0;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#FFFFFF}
.photo-carousel__fig img{display:block;width:100%;height:100%}
.photo-carousel__fig--photo img{object-fit:cover;object-position:52% 45%}
.photo-carousel__fig--logo{padding:6% 6% 12%}
.photo-carousel__fig--logo img{object-fit:contain}
.photo-carousel .hero-carousel__controls{bottom:12px;gap:8px}
.photo-carousel .hero-carousel__btn{width:32px;height:32px;font-size:20px;background:rgba(255,255,255,.9);color:var(--bip-navy);border-color:rgba(0,53,95,.2)}
.photo-carousel .hero-carousel__dot{box-shadow:inset 0 0 0 1.5px var(--bip-navy)}
.photo-carousel .hero-carousel__dot[aria-current="true"]{background-color:var(--bip-navy)}
html[data-theme="dark"] .photo-carousel .hero-carousel__btn{background:rgba(255,255,255,.9);color:var(--bip-navy);border-color:rgba(0,53,95,.2)}
html[data-theme="dark"] .photo-carousel .hero-carousel__dot{box-shadow:inset 0 0 0 1.5px var(--bip-navy)}
html[data-theme="dark"] .photo-carousel .hero-carousel__dot[aria-current="true"]{background-color:var(--bip-navy)}
.silk-buy{margin-top:18px}
/* Steel City Silk: full moth photo and logo (no carousel) */
.silk-photo{margin:0}
.silk-photo img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 0 36px -14px rgba(var(--fa-rgb,0,53,95),.45)}
.silk-logo{display:block;width:150px;height:auto;margin:0 0 16px;border-radius:14px;background:#fff;padding:8px;border:1px solid var(--fa-border,rgba(0,53,95,.18))}
/* Steel City Silk: photo and text side by side, centred; logo beside the title */
.silk-feature{align-items:center!important;gap:clamp(28px,4vw,56px)}
.silk-feature .silk-photo img{border-radius:18px;border:1px solid var(--fa-border,rgba(0,53,95,.18));box-shadow:0 18px 50px -28px rgba(0,0,0,.55)}
.silk-title{gap:14px;margin:14px 0 12px}
.silk-title h3{margin:0}
.silk-logo{display:block;flex:none;width:96px;height:96px;margin:0;padding:0;border:0;border-radius:0;background:none}
.silk-logo__img{display:block;width:100%;height:100%;object-fit:contain}
.silk-logo__img--dark{display:none}
html[data-theme="dark"] .silk-logo__img--dark{display:block}
html[data-theme="dark"] .silk-logo__img--light{display:none}
/* Steel City Silk logo in dark mode: the original (black-outline) logo with
 * no tile, sitting directly on the page background */
html[data-theme="dark"] .silk-logo__img--dark{display:none}
html[data-theme="dark"] .silk-logo__img--light{display:block}
html[data-theme="dark"] .silk-logo{background:transparent;border-radius:0;padding:0;box-shadow:none}

/* ---------- 22. Markets: Power / HVAC / Data centers ----------
 * Switch, panels, market badge and demonstration cards
 * (inc/demonstrations.php, assets/js/market-switch.js). */
/* Only the chosen market's panels show (all of them without JavaScript). */
html.bip-js[data-market="power"] [data-market-panel]:not([data-market-panel~="power"]),
html.bip-js[data-market="hvac"] [data-market-panel]:not([data-market-panel~="hvac"]),
html.bip-js[data-market="data-centers"] [data-market-panel]:not([data-market-panel~="data-centers"]){display:none!important}
[data-market-panel]{animation:bip-market-in .35s ease both}
@keyframes bip-market-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html:not(.bip-js) .market-tabs{display:none}

.market-icon{width:24px;height:24px;flex:none}
.market-tabs{
  --mt-accent:#60A9D3;--mt-on:#0C0D0F;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  margin:0 0 36px;padding:6px;border-radius:18px;
  border:1px solid color-mix(in srgb,currentColor 18%,transparent);
  background:color-mix(in srgb,currentColor 4%,transparent);
}
.market-tab{
  display:flex;align-items:center;gap:14px;min-width:0;text-align:left;
  font:inherit;color:inherit;cursor:pointer;
  padding:14px 18px;border-radius:13px;border:1px solid transparent;background:transparent;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.market-tab .market-icon{width:30px;height:30px;color:var(--mt-accent)}
.market-tab__text{display:flex;flex-direction:column;min-width:0}
.market-tab__name{font-weight:700;font-size:17px;line-height:1.2}
.market-tab__sub{font-size:13.5px;line-height:1.3;opacity:.78}
.market-tab:hover{background:color-mix(in srgb,currentColor 8%,transparent);border-color:color-mix(in srgb,var(--mt-accent) 45%,transparent)}
.market-tab:focus-visible{outline:2px solid var(--mt-accent);outline-offset:2px}
html[data-market="power"] .market-tab[data-market="power"],
html[data-market="hvac"] .market-tab[data-market="hvac"],
html[data-market="data-centers"] .market-tab[data-market="data-centers"]{
  background:var(--mt-accent);color:var(--mt-on);border-color:var(--mt-accent);
  box-shadow:0 10px 30px -12px rgba(96,169,211,.75);
}
html[data-market="power"] .market-tab[data-market="power"] .market-icon,
html[data-market="hvac"] .market-tab[data-market="hvac"] .market-icon,
html[data-market="data-centers"] .market-tab[data-market="data-centers"] .market-icon{color:var(--mt-on)}
html[data-market="power"] .market-tab[data-market="power"] .market-tab__sub,
html[data-market="hvac"] .market-tab[data-market="hvac"] .market-tab__sub,
html[data-market="data-centers"] .market-tab[data-market="data-centers"] .market-tab__sub{opacity:.85}
/* light page sections: a deeper blue so the tab reads on white */
html[data-theme="light"] .section:not(.proof-band,.cta-band,.navy) .market-tabs{--mt-accent:#2F7FB0;--mt-on:#FFFFFF}
@media (max-width:640px){
  .market-tabs{gap:6px;padding:5px}
  .market-tab{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:12px 6px}
  .market-tab__text{align-items:center}
  .market-tab__name{font-size:15px}
  .market-tab__sub{display:none}
}
@media (prefers-reduced-motion:reduce){[data-market-panel]{animation:none}.market-tab{transition:none}}

/* panel content */
.market-panel__lede{max-width:760px;margin:0 0 28px}
.proof-band .market-panel__lede{color:#DCE5EC}
.metric.metric--text{font-size:clamp(28px,3vw,38px);letter-spacing:-.01em;line-height:1.1}
.market-note{font-size:15px;opacity:.85;margin-top:8px}

/* market name with icon (demonstration page tops) */
.market-badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:6px 14px 6px 10px;border-radius:999px;border:1px solid color-mix(in srgb,currentColor 30%,transparent);margin:0 0 16px}
.market-badge .market-icon{width:20px;height:20px}

/* demonstration cards */
.demo-card .val-item__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.demo-card__markets{display:inline-flex;gap:6px;flex:none}
.demo-card__market{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;
  color:color-mix(in srgb,#60A9D3 70%,#000);background:rgba(96,169,211,.14);border:1px solid rgba(96,169,211,.4)}
html[data-theme="dark"] .demo-card__market{color:#9CCBE6}
.demo-card__market .market-icon{width:22px;height:22px}
.demo-cards__empty{font-size:16px;opacity:.8}
.back-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:8px}
.back-links a{font-weight:600;text-decoration:none}
.inner>h2+.market-tabs{margin-top:28px}
/* In a page top, the switch sits on a solid backing so the lines never run behind its text */
.hero .market-tabs{position:relative;z-index:2;margin-top:28px;margin-bottom:0;backdrop-filter:blur(6px)}
html[data-theme="dark"] .hero .market-tabs{background:rgba(13,15,18,.94)}
html[data-theme="light"] .hero .market-tabs{background:rgba(255,255,255,.94)}
.hero .market-note{position:relative;z-index:2;margin:14px 0 0}
/* Marine (Applications switch only) and switches with 4 tabs */
html.bip-js[data-market="marine"] [data-market-panel]:not([data-market-panel~="marine"]){display:none!important}
.market-tabs{grid-template-columns:repeat(var(--market-count,3),minmax(0,1fr))}
html[data-market="marine"] .market-tab[data-market="marine"]{background:var(--mt-accent);color:var(--mt-on);border-color:var(--mt-accent);box-shadow:0 10px 30px -12px rgba(96,169,211,.75)}
html[data-market="marine"] .market-tab[data-market="marine"] .market-icon{color:var(--mt-on)}
html[data-market="marine"] .market-tab[data-market="marine"] .market-tab__sub{opacity:.85}

/* ---------- 23. Market icons beside text (tables, application cards, eyebrows) ---------- */
.market-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;vertical-align:middle;
  width:1.9em;height:1.9em;margin-right:.55em;border-radius:.5em;
  color:color-mix(in srgb,#60A9D3 70%,#000);background:rgba(96,169,211,.14);border:1px solid rgba(96,169,211,.4)}
html[data-theme="dark"] .market-mark{color:#9CCBE6}
.market-mark .market-icon{width:62%;height:62%}
/* table cells */
.pp td .market-mark{font-size:15px;width:30px;height:30px;margin:-4px 10px -4px 0}
/* section eyebrow labels */
.eyebrow .market-mark{font-size:13px;width:26px;height:26px;margin:-6px 8px -6px 0}
/* application cards and compact links */
.app-card h3:has(.market-mark){display:flex;align-items:center}
.app-card h3 .market-mark{font-size:16px;width:34px;height:34px}
.app-compact__item strong:has(.market-mark){display:flex;align-items:center}
.app-compact__item .market-mark{font-size:15px;width:30px;height:30px}
.with-mark{display:inline-flex;align-items:flex-start;gap:10px}
.with-mark>span:last-child{padding-top:3px}
.pp td .with-mark .market-mark{margin:0}

/* ---------- 24. Demonstration pictures and the power licensing note ---------- */
/* card picture (bleeds to the card edges) */
.demo-card{overflow:hidden}
.demo-card__media{margin:-28px -28px 20px;aspect-ratio:16/9;overflow:hidden;background:rgba(96,169,211,.10);border-bottom:1px solid rgba(96,169,211,.3)}
.demo-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.demo-card:hover .demo-card__media img{transform:scale(1.04)}
.demo-card__media.is-logo{background:#fff}
.demo-card__media.is-logo img{object-fit:contain;padding:10% 12%;box-sizing:border-box}
.demo-card:hover .demo-card__media.is-logo img{transform:none}
.demo-card__media.is-empty{display:flex;align-items:center;justify-content:center;
  background:radial-gradient(70% 90% at 80% 10%,rgba(96,169,211,.28),transparent 70%),rgba(96,169,211,.08);
  color:color-mix(in srgb,#60A9D3 70%,#000)}
html[data-theme="dark"] .demo-card__media.is-empty{color:#9CCBE6}
.demo-card__media.is-empty .market-icon{width:56px;height:56px;opacity:.75}
@media (prefers-reduced-motion:reduce){.demo-card__media img{transition:none}}
/* page picture */
.demo-photo{margin:0 0 36px;border-radius:18px;overflow:hidden;border:1px solid rgba(96,169,211,.35);box-shadow:0 18px 50px -28px rgba(0,0,0,.6)}
.demo-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.demo-photo.is-logo{background:#fff;max-width:520px;padding:28px 36px;box-sizing:border-box}
.demo-photo.is-logo img{max-height:160px;object-fit:contain}
/* licensing note */
.license-note{display:flex;gap:16px;align-items:flex-start;margin:0 0 32px;padding:20px 24px;border-radius:16px;
  border:1px solid rgba(96,169,211,.45);background:rgba(96,169,211,.10);max-width:900px}
.license-note .market-mark{font-size:16px;width:40px;height:40px;margin:0}
.license-note p{margin:0 0 6px}
.license-note__title{font-weight:700;font-size:18px}
.license-note__link{margin:6px 0 0!important}
.license-note__link a{font-weight:600}
.proof-band .license-note{background:rgba(255,255,255,.06);border-color:rgba(156,203,230,.45);color:#fff}
.proof-band .license-note p{color:#DCE5EC}
.proof-band .license-note .license-note__title{color:#fff}
.proof-band .license-note a{color:#9CCBE6}
.proof-band .license-note .market-mark{color:#9CCBE6}
/* card titles stay readable on the solid hover colour on the feature-style pages */
html:is([data-theme]) body.bip-feature.has-technology-hero main .section .val-item:is(:hover,:focus-within) :is(h3,h4,a,dt,dd){color:var(--product-on-accent)!important}
html:is([data-theme]) body.bip-feature.has-technology-hero main .section .val-item:is(:hover,:focus-within) .demo-card__market{color:var(--product-on-accent);border-color:rgba(0,0,0,.25);background:rgba(255,255,255,.35)}

/* ---------- 25. Applications (where it fits) vs Evidence (results) ---------- */
/* Applications: brief proof point + link to the results */
.proof-point{margin:0 0 14px;line-height:1.55}
.proof-point .status{margin-right:8px}
.results-link{margin:0 0 18px}
.results-link a{font-weight:700;text-decoration:none;border-bottom:2px solid rgba(96,169,211,.6);padding-bottom:2px}
.results-link a:hover{border-bottom-color:currentColor}
/* Evidence: market heading with the link back to the application */
.evidence-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin:0 0 22px}
.evidence-head h2{margin:0}
.evidence-head__link{font-weight:700;text-decoration:none;border-bottom:2px solid rgba(96,169,211,.6);padding-bottom:2px}
.evidence-head__link:hover{border-bottom-color:currentColor}
.commercial-status{max-width:900px;margin:0 0 10px;line-height:1.55}
.commercial-status .status{margin-right:8px}
/* Evidence: documented results for the market */
.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 12px}
.result-stat{padding:20px 22px;border-radius:16px;border:1px solid rgba(96,169,211,.4);background:rgba(96,169,211,.08)}
.result-stat p{margin:0}
.result-stat__n{font-size:clamp(34px,3.6vw,46px);font-weight:700;line-height:1.05;letter-spacing:-.02em;color:color-mix(in srgb,#60A9D3 62%,#000);margin-bottom:8px!important;font-variant-numeric:tabular-nums}
html[data-theme="dark"] .result-stat__n{color:#9CCBE6}
.result-stat__label{font-size:16px;line-height:1.45}
.result-stat__src{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;opacity:.75;margin-top:10px!important}
@media (max-width:860px){.result-stats{grid-template-columns:1fr}}
[data-market-panel] .demo-grid{margin-top:28px}
.proof-point .status{display:table;margin:0 0 10px}
html:is([data-theme]) body.bip-feature main .section .wp-block-column:has(.proof-point){
  padding:26px 28px;background:var(--fa-panel);border:1px solid var(--fa-border);border-radius:16px;box-shadow:0 0 36px -14px rgba(var(--fa-rgb),.5)}
html:is([data-theme]) body.bip-feature main .section .wp-block-column:has(.proof-point) h4{margin-top:0}
/* PCS licensing note: full content width, with room below a heading */
.license-note{max-width:none;width:100%;box-sizing:border-box}
:is(h2,h3,.wp-block-heading)+.license-note{margin-top:28px}

/* 26. On navy bands the selected tab is a frosted white lift, not a light-blue block */
.section:is(.proof-band,.cta-band,.navy) .market-tabs{--mt-accent:#9CCBE6}
html[data-market="power"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="power"],
html[data-market="hvac"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="hvac"],
html[data-market="data-centers"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="data-centers"],
html[data-market="marine"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="marine"]{
  background:rgba(255,255,255,.12);color:#FFFFFF;border-color:rgba(255,255,255,.38);box-shadow:inset 0 -3px 0 #9CCBE6;
}
html[data-market="power"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="power"] .market-icon,
html[data-market="hvac"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="hvac"] .market-icon,
html[data-market="data-centers"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="data-centers"] .market-icon,
html[data-market="marine"] .section:is(.proof-band,.cta-band,.navy) .market-tab[data-market="marine"] .market-icon{color:#9CCBE6}

/* 27. Capability lists with icons (Bioengineering Studio "Core competencies") */
.cap-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:38px;height:38px;border-radius:10px;
  color:var(--fa-ink,var(--bip-purple));
  background:rgba(var(--fa-rgb,133,52,148),.12);border:1px solid rgba(var(--fa-rgb,133,52,148),.32)}
.cap-icon svg{width:21px;height:21px}
.cap-icon--lg{width:52px;height:52px;border-radius:14px;margin-bottom:18px}
.cap-icon--lg svg{width:28px;height:28px}
html[data-theme="dark"] .cap-icon{color:var(--fa-ink,#D9A6E4);background:rgba(var(--fa-rgb,180,90,196),.16)}
.cap-list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}
.cap-list li{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:14px;
  padding:12px 14px;border-radius:12px;font-size:16px;line-height:1.35;
  background:color-mix(in srgb,currentColor 4%,transparent);border:1px solid color-mix(in srgb,currentColor 9%,transparent)}
.cap-list__name{font-weight:500}
.cap-list .status{margin:0;justify-self:end;white-space:nowrap}
@media (max-width:640px){
  .cap-list li{grid-template-columns:38px minmax(0,1fr);row-gap:6px}
  .cap-list .status{grid-column:2;justify-self:start}
}

/* 28. Federal R&D program cards (Bioengineering Studio) */
.fed-subhead{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:44px 0 18px}
.fed-count{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
.fed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fed-grid--active{grid-template-columns:repeat(2,minmax(0,1fr))}
.fed-card{display:flex;flex-direction:column;padding:24px 24px 22px!important;margin:0}
.fed-card__head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.fed-card__sponsor{margin:0;font-size:13px;font-weight:700;line-height:1.3;flex:1;min-width:0}
.fed-card__head .status{margin:0;flex:none}
.fed-card__product{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--fa-ink,var(--bip-purple))}
html body main .fed-card h4.fed-card__title{margin:0 0 10px;font-size:20px;line-height:1.25}
.fed-card p:not([class]){font-size:15.5px;line-height:1.55;margin:0}
.fed-card__meta{margin:14px 0 0;padding-top:12px;font-size:13.5px;opacity:.8;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.fed-card__link{margin-top:auto;padding-top:16px;font-weight:600;font-size:15px;text-decoration:none;color:var(--fa-ink,var(--bip-purple))}
.fed-card__link:hover{text-decoration:underline}
.fed-grid+.fed-subhead,.fed-grid~p.source{margin-top:40px}
@media (max-width:1000px){.fed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.fed-grid,.fed-grid--active{grid-template-columns:minmax(0,1fr)}}

/* 29. Card with a leading capability icon: icon and status label share the top row */
.card>.cap-icon{float:left;margin:0 12px 0 0}
.card>.cap-icon+.status{margin-top:6px}
.card>.cap-icon~:is(h3,h4){clear:both;padding-top:16px}

/* 30. "Other Biointerphase technologies" link cards (home) */
.tech-links{list-style:none;margin:0;padding:0;display:grid;gap:12px}
html body main .section:not(.hero) h3+.tech-links{margin-top:20px}
.tech-links li.product-studio{--product-accent:#853494;--product-accent-rgb:133,52,148}
html[data-theme="dark"] .tech-links li.product-studio{--product-accent:#B45AC4;--product-accent-rgb:180,90,196}
.tech-links a{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;
  padding:16px 18px;border-radius:14px;text-decoration:none;color:inherit;
  background:rgba(var(--product-accent-rgb),.06);border:1px solid rgba(var(--product-accent-rgb),.28);
  border-left:4px solid var(--product-accent);
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.tech-links a:hover,.tech-links a:focus-visible{background:rgba(var(--product-accent-rgb),.12);border-color:var(--product-accent);
  transform:translateY(-2px);box-shadow:0 12px 30px -16px rgba(var(--product-accent-rgb),.7)}
.tech-links strong{display:block;font-weight:700;font-size:17px;color:var(--bip-navy)}
html[data-theme="dark"] .tech-links strong{color:var(--d-heading,#F5F7F9)}
.tech-links__text>span{display:block;font-size:15px;line-height:1.4;color:var(--bip-muted);margin-top:2px}
html[data-theme="dark"] .tech-links__text>span{color:#AEB8C1}
.tech-links__arrow{font-size:20px;font-weight:600;color:var(--product-accent);transition:transform .2s ease}
.tech-links a:hover .tech-links__arrow{transform:translateX(4px)}
.tech-mark{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;
  background:#fff;border:1px solid rgba(var(--product-accent-rgb),.3);overflow:hidden}
html[data-theme="dark"] .tech-mark{background:rgba(255,255,255,.06)}
.tech-mark__img{width:40px;height:40px;object-fit:contain}
.product-intelliphase .tech-mark__img{width:46px;height:46px}
.tech-mark--icon .cap-icon svg{width:28px;height:28px}
.tech-mark__img--dark{display:none}
html[data-theme="dark"] .tech-mark__img--light{display:none}
html[data-theme="dark"] .tech-mark__img--dark{display:block}
.tech-mark--icon{color:var(--product-accent)}
.tech-mark--icon .cap-icon{border:0;background:none;color:inherit}
@media (prefers-reduced-motion:reduce){.tech-links a,.tech-links__arrow{transition:none}.tech-links a:hover{transform:none}}

/* 31. Inventions: link to all federal programs */
html body main .wp-block-buttons.fed-explore{margin-top:36px}
.fed-explore+p{margin-top:16px}

/* 32. Case cards: "Full demonstration page" link sits on the same line across a row */
.cases>.case{display:flex;flex-direction:column}
.cases>.case>.case-more{margin-top:auto;padding-top:18px;align-self:flex-start}

/* 33. Demonstration card without a photo: designed cover, same size as a photo */
.demo-card__media.is-cover{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;
  background:radial-gradient(80% 110% at 85% 0%,rgba(96,169,211,.45),transparent 60%),linear-gradient(160deg,#0B3A63 0%,#062440 100%);
  color:#fff;border-bottom-color:rgba(96,169,211,.45)}
.demo-cover__lines{position:absolute;inset:0;width:100%;height:100%;color:#60A9D3;opacity:.35}
.demo-cover__lines path{stroke-width:1}
.demo-cover__body{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 20px}
.demo-cover__icon{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;
  background:rgba(255,255,255,.08);border:1px solid rgba(156,203,230,.55);color:#9CCBE6;margin-bottom:4px}
.demo-cover__icon .market-icon{width:32px;height:32px}
.demo-cover__org{font-size:18px;font-weight:700;line-height:1.25;color:#fff}
.demo-cover__market{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#9CCBE6}
html[data-theme="dark"] .demo-card__media.is-cover{background:radial-gradient(80% 110% at 85% 0%,rgba(96,169,211,.32),transparent 60%),linear-gradient(160deg,#0E2C47 0%,#0A1726 100%)}
/* the card hover recolours text inside the card; keep the cover's own colours */
html:is([data-theme]) body main .val-item:is(:hover,:focus-within) .demo-card__media.is-cover :is(.demo-cover__org){color:#fff!important}
html:is([data-theme]) body main .val-item:is(:hover,:focus-within) .demo-card__media.is-cover :is(.demo-cover__market,.demo-cover__icon,.demo-cover__icon .market-icon,.demo-cover__icon svg){color:#9CCBE6!important}
.demo-card:hover .demo-cover__lines{opacity:.5;transition:opacity .4s ease}
html:is([data-theme]) body main :is(.val-item,.card):is(:hover,:focus-within) .demo-card__media.is-cover .demo-cover__icon *{color:#9CCBE6!important}
html:is([data-theme]) body main :is(.val-item,.card):is(:hover,:focus-within) .demo-card__media.is-cover .demo-cover__lines *{color:#60A9D3!important}

/* 34. "Industrial cooling covers" callout (market-scope marker) */
.market-scope{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 28px;padding:14px 18px;border-radius:14px;
  border:1px solid rgba(96,169,211,.35);background:rgba(96,169,211,.08)}
.market-scope__title{margin:0;font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:color-mix(in srgb,#60A9D3 62%,#000)}
.market-scope__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.market-scope__list li{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 9px;border-radius:999px;font-size:14.5px;font-weight:600;line-height:1.2;
  background:#fff;border:1px solid rgba(96,169,211,.35);color:#00355F}
.market-scope__icon{width:18px;height:18px;color:#2F7FB0}
html[data-theme="dark"] .market-scope{background:rgba(96,169,211,.08);border-color:rgba(96,169,211,.3)}
html[data-theme="dark"] .market-scope__title{color:#9CCBE6}
html[data-theme="dark"] .market-scope__list li{background:rgba(255,255,255,.05);border-color:rgba(96,169,211,.3);color:#E3E8EC}
html[data-theme="dark"] .market-scope__icon{color:#9CCBE6}
/* on the navy results band */
.section:is(.proof-band,.navy) .market-scope{background:rgba(255,255,255,.06);border-color:rgba(156,203,230,.35)}
.section:is(.proof-band,.navy) .market-scope__title{color:#B4D88B}
.section:is(.proof-band,.navy) .market-scope__list li{background:rgba(255,255,255,.07);border-color:rgba(156,203,230,.3);color:#fff}
.section:is(.proof-band,.navy) .market-scope__icon{color:#9CCBE6}
@media (max-width:640px){.market-scope{padding:12px 14px}.market-scope__list li{font-size:13.5px}}
html body main .section .inner>:is(h2,.wp-block-heading)+.market-scope{margin-top:24px}
.evidence-head+.market-scope{margin-top:8px}

/* 35. Federal R&D cards in their product colours (approved product colours, section 2) */
.fed-card--thermophase{--fa:#60A9D3;--fa-rgb:96,169,211;--fa-ink:color-mix(in srgb,#60A9D3 62%,#000);--fa-heading:color-mix(in srgb,#60A9D3 52%,#0C0D0F)}
.fed-card--intelliphase{--fa:#DD6237;--fa-rgb:221,98,55;--fa-ink:color-mix(in srgb,#DD6237 78%,#000);--fa-heading:color-mix(in srgb,#DD6237 72%,#0C0D0F)}
.fed-card--omnimaterials{--fa:#397CBF;--fa-rgb:57,124,191;--fa-ink:color-mix(in srgb,#397CBF 82%,#000);--fa-heading:color-mix(in srgb,#397CBF 75%,#0C0D0F)}
.fed-card--hydrophase{--fa:#008F57;--fa-rgb:0,143,87;--fa-ink:color-mix(in srgb,#008F57 85%,#000);--fa-heading:color-mix(in srgb,#008F57 78%,#0C0D0F)}
.fed-card--zerotinous{--fa:#99352B;--fa-rgb:153,53,43;--fa-ink:#99352B;--fa-heading:color-mix(in srgb,#99352B 88%,#0C0D0F)}
html[data-theme="dark"] .fed-card--thermophase{--fa-ink:color-mix(in srgb,#60A9D3 70%,#fff);--fa-heading:color-mix(in srgb,#60A9D3 35%,#F5F7F9)}
html[data-theme="dark"] .fed-card--intelliphase{--fa-ink:color-mix(in srgb,#DD6237 72%,#fff);--fa-heading:color-mix(in srgb,#DD6237 40%,#F5F7F9)}
html[data-theme="dark"] .fed-card--omnimaterials{--fa:#5B98D6;--fa-rgb:91,152,214;--fa-ink:color-mix(in srgb,#397CBF 55%,#fff);--fa-heading:color-mix(in srgb,#397CBF 35%,#F5F7F9)}
html[data-theme="dark"] .fed-card--hydrophase{--fa:#1FB57A;--fa-rgb:31,181,122;--fa-ink:color-mix(in srgb,#008F57 50%,#fff);--fa-heading:color-mix(in srgb,#008F57 35%,#F5F7F9)}
html[data-theme="dark"] .fed-card--zerotinous{--fa:#A3302B;--fa-rgb:163,48,43;--fa-ink:color-mix(in srgb,#A3302B 58%,#fff);--fa-heading:color-mix(in srgb,#A3302B 40%,#F5F7F9)}
/* panel tokens recomputed on the card so they follow its own colour */
.fed-card[class*="fed-card--"]{--fa-panel:color-mix(in srgb,var(--fa) 7%,#fff);--fa-panel-hover:color-mix(in srgb,var(--fa) 15%,#fff);--fa-border:rgba(var(--fa-rgb),.45);--fa-on:#0C0D0F}
html[data-theme="dark"] .fed-card[class*="fed-card--"]{--fa-panel:color-mix(in srgb,var(--fa) 12%,#111418);--fa-panel-hover:color-mix(in srgb,var(--fa) 22%,#111418);--fa-border:rgba(var(--fa-rgb),.55)}
html:is([data-theme]) body main .fed-card[class*="fed-card--"] :is(h3,h4){color:var(--fa-heading)}
html:is([data-theme]) body main .fed-card[class*="fed-card--"] .fed-card__product{color:var(--fa-ink)}
/* links row: existing link plus the product link */
.fed-card__links{margin-top:auto;padding-top:16px;display:flex;flex-wrap:wrap;gap:6px 22px}
.fed-card__links .fed-card__link{margin-top:0;padding-top:0;color:var(--fa-ink,var(--bip-purple))}

/* 36. SBIR/STTR track record panel (Bioengineering Studio, Federal R&D) */
.sbir-record{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px 36px;align-items:center;margin:32px 0 8px;padding:28px 30px;border-radius:18px;
  background:linear-gradient(135deg,rgba(var(--fa-rgb,133,52,148),.10),rgba(var(--fa-rgb,133,52,148),.03));border:1px solid rgba(var(--fa-rgb,133,52,148),.35)}
.sbir-record__eyebrow{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--fa-ink,#853494)}
html body main .sbir-record h3.sbir-record__title{margin:0 0 10px;font-size:24px;line-height:1.2;color:var(--fa-heading,#6B2878)}
.sbir-record__head>p:not([class]){margin:0 0 14px;font-size:16px;line-height:1.55}
.sbir-record__link{font-weight:600;color:var(--fa-ink,#853494);text-decoration:none;border-bottom:1px solid currentColor}
.sbir-record__link:hover{border-bottom-width:2px}
.sbir-record__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.sbir-stat{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px;padding:16px 16px 14px;border-radius:14px;background:var(--fa-panel,#fff);border:1px solid rgba(var(--fa-rgb,133,52,148),.28)}
.sbir-stat dd{margin:0;font-size:30px;font-weight:700;line-height:1.05;letter-spacing:-.01em;color:var(--fa-heading,#6B2878)}
.sbir-stat dt{font-size:13px;line-height:1.35;opacity:.85}
.sbir-stat--lead{grid-column:1/-1;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:16px;
  background:var(--fa,#853494);border-color:var(--fa,#853494);color:var(--fa-on,#fff)}
.sbir-stat--lead dd{font-size:44px;color:inherit}
.sbir-stat--lead dt{font-size:15px;font-weight:600;opacity:1;max-width:14em}
.sbir-record__src{grid-column:1/-1;margin:0;font-size:13px;opacity:.75}
.sbir-record__src a{color:inherit}
@media (max-width:900px){.sbir-record{grid-template-columns:1fr;padding:24px 22px}}
@media (max-width:520px){.sbir-record__stats{grid-template-columns:1fr 1fr}.sbir-stat:last-child{grid-column:1/-1}.sbir-stat--lead dd{font-size:36px}}
/* Phase II commercialization measure: full-width, outlined, with the benchmark badge */
.sbir-stat--wide{grid-column:1/-1;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:16px;
  border:2px solid var(--fa,#853494);background:var(--fa-panel,#fff)}
.sbir-stat--wide dd{font-size:40px;color:var(--fa-heading,#6B2878)}
.sbir-stat--wide dt{font-size:14.5px;font-weight:600;opacity:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.sbir-stat__badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.3;
  background:#B4D88B;color:#1F3A0C}
@media (max-width:520px){.sbir-stat--wide{flex-direction:column-reverse;align-items:flex-start;gap:8px}.sbir-stat--wide dd{font-size:34px}}

/* ---------- OmniMaterials fabric figure (FIG. 3, "fig-fabric") ----------
 * The SVG parts carry classes only; colors come from here so the figure
 * follows the product blue and switches with light/dark mode. */
.fig-fabric{
  --fab-accent:var(--product-accent,#397CBF);
  --fab-sky:#F2F7FC;--fab-grid:rgba(57,124,191,.12);
  --fab-base:#9FB4C9;--fab-weft:#E3EBF3;--fab-warp:#C2D2E2;
  --fab-soak-w:#0E3A63;--fab-soak-o:#7A4A12;
  --fab-w1:#E4F0FA;--fab-w2:#5B98D6;--fab-w3:#2B62A0;
  --fab-o1:#F7DCAC;--fab-o2:#D9963A;--fab-o3:#A8691E;
  --fab-text:#0C2340;--fab-oil:#8A4B12;--fab-accent-text:#2B66A3;--fab-shadow:#0C2340;
}
html[data-theme="dark"] .fig-fabric{
  --fab-accent:#5B98D6;
  --fab-sky:#111A25;--fab-grid:rgba(91,152,214,.10);
  --fab-base:#18222E;--fab-weft:#33465B;--fab-warp:#26364A;
  --fab-soak-w:#4A8AD0;--fab-soak-o:#C98A3A;
  --fab-text:#DCE6F0;--fab-oil:#E2B47E;--fab-accent-text:#8EBBE6;--fab-shadow:#000;
}
.fig-fabric .fab{border-radius:10px;border:1px solid color-mix(in srgb,var(--fab-accent) 22%,transparent)}
.fig-fabric .fab-sky{fill:var(--fab-sky)}
.fig-fabric .fab-gridline{fill:none;stroke:var(--fab-grid);stroke-width:1}
.fig-fabric .fab-base{fill:var(--fab-base)}
.fig-fabric .fab-weft{fill:var(--fab-weft)}
.fig-fabric .fab-warp{fill:var(--fab-warp)}
.fig-fabric .fab-soak-w{fill:var(--fab-soak-w);opacity:.45}
.fig-fabric .fab-soak-o{fill:var(--fab-soak-o);opacity:.5}
.fig-fabric .fab-film-w{fill:var(--fab-w2);opacity:.9}
.fig-fabric .fab-film-o{fill:var(--fab-o2);opacity:.9}
.fig-fabric .fab-coat{fill:var(--fab-accent)}
.fig-fabric .fab-coat-hi{fill:#fff;opacity:.45}
.fig-fabric .fab-shadow{fill:var(--fab-shadow);opacity:.25}
.fig-fabric .fab-shine{fill:#fff;opacity:.6}
.fig-fabric .fab-w1{stop-color:var(--fab-w1)}.fig-fabric .fab-w2{stop-color:var(--fab-w2)}.fig-fabric .fab-w3{stop-color:var(--fab-w3)}
.fig-fabric .fab-o1{stop-color:var(--fab-o1)}.fig-fabric .fab-o2{stop-color:var(--fab-o2)}.fig-fabric .fab-o3{stop-color:var(--fab-o3)}
.fig-fabric .fab-txt{font-family:var(--bip-sans);font-size:16px;font-weight:600;fill:var(--fab-text)}
.fig-fabric .fab-txt-oil{fill:var(--fab-oil)}
.fig-fabric .fab-txt-accent{fill:var(--fab-accent-text)}
.fig-fabric .fab-callout{stroke:var(--fab-accent);stroke-width:1.5}
.fig-fabric .fab-callout-dot{fill:var(--fab-accent)}
html[data-theme="dark"] .fig-fabric .fab-coat{filter:drop-shadow(0 0 6px rgba(91,152,214,.55))}

/* ---------- Economics by market (THERMOPHASE page, #economics) ----------
 * Panels follow the page's market switch (Power / Industrial Cooling /
 * Marine). Charts are plain HTML bars so they adapt to light/dark mode. */
.econ,.econ-yours{
  --econ-card:#FFFFFF;--econ-line:var(--bip-line,#DDE3E8);--econ-text:var(--bip-charcoal,#343A40);--econ-muted:var(--bip-muted,#55606B);
  --econ-track:#E6ECF1;--econ-measured:#4E8A2A;--econ-measured-soft:rgba(78,138,42,.12);
  --econ-pending:#9A6412;--econ-pending-soft:rgba(154,100,18,.12);
  --econ-restricted:#6B4C9A;--econ-restricted-soft:rgba(107,76,154,.12);
  --econ-b:#B4D88B;
}
html[data-theme="dark"] :is(.econ,.econ-yours){
  --econ-card:var(--d-surface,#181C22);--econ-line:var(--d-line-strong,#3A434D);--econ-text:var(--d-text,#E3E8EC);--econ-muted:#B4C0CA;
  --econ-track:#262D35;--econ-measured:#B4D88B;--econ-measured-soft:rgba(180,216,139,.14);
  --econ-pending:#E2B47E;--econ-pending-soft:rgba(226,180,126,.14);
  --econ-restricted:#C7A8F0;--econ-restricted-soft:rgba(199,168,240,.14);
}
.econ-lede{margin-bottom:24px}
.econ{margin-top:28px;color:var(--econ-text)}
.econ-status{display:inline-flex;align-items:center;gap:10px;margin:0 0 24px;padding:8px 14px;border-radius:999px;font-size:15px;font-weight:600}
.econ-status__dot{width:9px;height:9px;border-radius:50%;background:currentColor;flex:none}
.econ-status--data{color:var(--econ-measured);background:var(--econ-measured-soft)}
.econ-status--pending{color:var(--econ-pending);background:var(--econ-pending-soft)}
.econ-status--restricted{color:var(--econ-restricted);background:var(--econ-restricted-soft)}

/* how fouling costs money: three linked steps */
.econ-flow{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:econ}
.econ-flow li{position:relative;counter-increment:econ;margin:0;padding:18px 20px 18px 64px;background:var(--econ-card);border:1px solid var(--econ-line);border-radius:12px;display:flex;flex-direction:column;gap:4px}
.econ-flow li::before{content:counter(econ);position:absolute;left:18px;top:18px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:15px;color:var(--product-accent-ink);background:var(--product-accent-soft);border:1px solid var(--product-accent-border)}
.econ-flow li:not(:last-child)::after{content:"";position:absolute;right:-13px;top:50%;width:10px;height:10px;border-top:2px solid var(--product-accent);border-right:2px solid var(--product-accent);transform:translateY(-50%) rotate(45deg);z-index:1}
.econ-flow li:last-child{border-color:var(--product-accent-border);background:linear-gradient(var(--product-accent-soft),var(--product-accent-soft)),var(--econ-card)}
.econ-flow strong{font-size:17px}
.econ-flow span{font-size:15px;color:var(--econ-muted);line-height:1.5}

/* evidence cards */
.econ-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.econ-cards--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.econ-card{display:flex;flex-direction:column;padding:24px;background:var(--econ-card);border:1px solid var(--econ-line);border-radius:14px}
.econ-tag{align-self:flex-start;margin:0 0 12px;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.econ-tag--measured{color:var(--econ-measured);background:var(--econ-measured-soft)}
.econ-tag--projection{color:var(--product-accent-ink);background:var(--product-accent-soft)}
.econ-tag--done{color:var(--econ-pending);background:var(--econ-pending-soft)}
.econ-tag--commercial{color:var(--econ-muted);background:var(--econ-track)}
html:is([data-theme]) body.has-technology-hero main .econ .econ-card__title{font-size:20px;margin:0 0 6px;color:var(--econ-text)}
.econ-card__meta{font-size:15px;color:var(--econ-muted);margin:0 0 16px}
.econ-card__body{font-size:16px;margin:0 0 16px}
.econ-big{font-size:clamp(36px,4vw,48px);font-weight:600;letter-spacing:-.02em;line-height:1.05;margin:0 0 6px;color:var(--product-accent-ink);font-variant-numeric:tabular-nums}
.econ-big span{font-size:16px;font-weight:500;letter-spacing:0;color:var(--econ-muted)}
.econ-sub{font-size:15px;color:var(--econ-muted);margin:0 0 20px}
.econ-note{font-size:14.5px;color:var(--econ-muted);margin:auto 0 0;padding-top:16px}

/* bar chart: kW reduction by load */
.econ-bars{margin:0 0 4px}
.econ-bars__title{font-size:14px;font-weight:600;margin:0 0 10px}
.econ-bar{display:grid;grid-template-columns:76px 1fr 52px;white-space:nowrap;align-items:center;gap:10px;margin-bottom:8px;font-size:14px;font-variant-numeric:tabular-nums}
.econ-bar__label{color:var(--econ-muted)}
.econ-bar__track{height:14px;border-radius:7px;background:var(--econ-track);overflow:hidden}
.econ-bar__fill{display:block;height:100%;width:var(--v);border-radius:7px;background:var(--econ-measured)}
.econ-bar__val{font-weight:700;text-align:right}

/* split bar: where the projected value comes from */
.econ-split__bar{display:flex;height:16px;border-radius:8px;overflow:hidden;gap:3px}
.econ-split__a,.econ-split__b{display:block;width:var(--v)}
.econ-split__a{background:var(--product-accent)}
.econ-split__b{background:var(--econ-b)}
.econ-split__legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin-top:10px;font-size:14px;color:var(--econ-muted)}
.econ-split__legend b{color:var(--econ-text)}
.econ-key{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px}
.econ-key--a{background:var(--product-accent)}.econ-key--b{background:var(--econ-b)}
.econ-minis{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.econ-minis p{margin:0;padding:12px 14px;border-radius:10px;background:var(--product-accent-soft);display:flex;flex-direction:column;gap:2px}
.econ-minis b{font-size:22px;color:var(--product-accent-ink);font-variant-numeric:tabular-nums}
.econ-minis span{font-size:13.5px;color:var(--econ-muted);line-height:1.4}

/* smaller facts under the cards */
.econ-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.econ-fact{margin:0;display:flex;align-items:flex-start;gap:16px;padding:18px 20px;background:var(--econ-card);border:1px solid var(--econ-line);border-radius:12px;font-size:15px;color:var(--econ-muted)}
.econ-fact b{flex:none;min-width:48px;font-size:26px;line-height:1.1;color:var(--econ-measured)}
.econ-fact--pending{border-style:dashed}
.econ-fact--pending b{font-size:14px;line-height:1.6;padding:2px 10px;border-radius:999px;color:var(--econ-pending);background:var(--econ-pending-soft);min-width:0}

/* marine: data not public */
.econ-restricted{padding:24px;background:var(--econ-card);border:1px dashed var(--econ-restricted);border-radius:14px}
.econ-restricted>p:first-child{margin:0 0 28px;font-size:17px;max-width:70ch}
.econ-timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;position:relative}
.econ-timeline::before{content:"";position:absolute;left:6px;right:6px;top:6px;height:2px;background:var(--econ-line)}
.econ-timeline li{position:relative;margin:0;padding-top:24px;display:flex;flex-direction:column;gap:2px}
.econ-timeline li::before{content:"";position:absolute;left:0;top:0;width:14px;height:14px;border-radius:50%;background:var(--econ-card);border:3px solid var(--econ-restricted);box-sizing:border-box}
.econ-timeline b{font-size:18px}
.econ-timeline span{font-size:14.5px;color:var(--econ-muted);line-height:1.45}
.econ-restricted .econ-note{padding-top:20px}

/* shared footer: your system + call to action */
.econ-yours{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding:24px 28px;border-radius:14px;
  background:linear-gradient(var(--product-accent-soft),var(--product-accent-soft)),var(--econ-card);border:1px solid var(--product-accent-border)}
html:is([data-theme]) body.has-technology-hero main .econ-yours h3{margin:0 0 6px;font-size:20px;color:var(--econ-text)}
.econ-yours p{margin:0;font-size:15.5px;color:var(--econ-muted);max-width:72ch}
.econ-yours .wp-block-buttons{flex:none;margin:0}

@media (max-width:900px){
  .econ-cards,.econ-cards--three,.econ-facts{grid-template-columns:1fr}
  .econ-flow{grid-template-columns:1fr;gap:14px}
  .econ-flow li:not(:last-child)::after{right:auto;left:31px;top:auto;bottom:-12px;transform:rotate(135deg)}
  .econ-timeline{grid-template-columns:1fr 1fr;row-gap:24px}
  .econ-timeline::before{display:none}
  .econ-yours{flex-direction:column;align-items:flex-start}
}
@media (max-width:480px){.econ-timeline,.econ-minis{grid-template-columns:1fr}}
@media (forced-colors:active){.econ-bar__fill,.econ-split__a,.econ-split__b,.econ-key{background:CanvasText}}
.econ-facts:has(>:only-child){grid-template-columns:1fr}

/* Economics: full-width featured result card (e.g. Longview Power) */
.econ-card--wide{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:center;margin-bottom:20px}
.econ-wide__main{display:flex;flex-direction:column}
.econ-wide__main .econ-sub{margin-bottom:0}
.econ-wide__stats{display:grid;gap:12px}
.econ-wide__stats p{margin:0;padding:14px 16px;border-radius:10px;background:var(--product-accent-soft);display:flex;flex-direction:column;gap:2px}
.econ-wide__stats b{font-size:24px;color:var(--product-accent-ink);font-variant-numeric:tabular-nums;line-height:1.2}
.econ-wide__stats span{font-size:14px;color:var(--econ-muted);line-height:1.4}
@media (max-width:900px){.econ-card--wide{grid-template-columns:1fr;gap:20px}}
.econ-cards:has(>:only-child){grid-template-columns:1fr}

/* ---------- Project summary on demonstration pages (inc/project-summary.php) ----------
 * Key facts card, highlighted result, problem / what was done, quiet
 * limitations and links. Replaces the long list of labelled lines. */
.proj-summary{
  --ps-card:#FFFFFF;--ps-line:var(--bip-line,#DDE3E8);--ps-text:var(--bip-charcoal,#343A40);--ps-muted:var(--bip-muted,#55606B);
  display:flex;flex-direction:column;gap:28px;margin:8px 0 0;color:var(--ps-text);max-width:1000px;
}
html[data-theme="dark"] .proj-summary{--ps-card:var(--d-surface,#181C22);--ps-line:var(--d-line-strong,#3A434D);--ps-text:var(--d-text,#E3E8EC);--ps-muted:#B4C0CA}
.proj-summary p{margin:0}
html:is([data-theme]) body .proj-summary .proj-label{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ps-muted)}

/* 1. key facts */
.proj-facts{margin:0;padding:22px 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px 32px;background:var(--ps-card);border:1px solid var(--ps-line);border-radius:14px}
.proj-fact{margin:0;min-width:0}
.proj-fact--wide{grid-column:1/-1}
.proj-fact dt{margin:0 0 4px;font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ps-muted)}
.proj-fact dd{margin:0;font-size:16px;line-height:1.5}

/* 2. the result */
.proj-result{padding:22px 26px;border-radius:14px;border:1px solid var(--product-accent-border);border-left:4px solid var(--product-accent);
  background:linear-gradient(var(--product-accent-soft),var(--product-accent-soft)),var(--ps-card)}
html:is([data-theme]) body .proj-summary .proj-result .proj-label{color:var(--product-accent-ink)}
.proj-result__text{font-size:clamp(18px,1.7vw,21px);font-weight:600;line-height:1.45}
.proj-result__more{margin-top:18px;padding-top:16px;border-top:1px solid var(--product-accent-border)}
.proj-result__more p:last-child{font-size:16px;line-height:1.6}

/* 3. the story */
.proj-story{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px 44px}
html:is([data-theme]) body main .proj-summary .proj-story__title{font-size:18px;margin:0 0 8px}
.proj-story p{font-size:16px;line-height:1.65}
.proj-story .proj-sub{margin-top:10px;font-size:15px;color:var(--ps-muted)}
.proj-story .proj-sub strong{color:var(--ps-text)}

/* 4. limitations and links */
.proj-limits{padding:14px 18px;border-radius:10px;border:1px dashed var(--ps-line);font-size:14.5px;line-height:1.55;color:var(--ps-muted)}
.proj-limits strong{color:var(--ps-text);margin-right:6px}
.proj-links{display:flex;flex-wrap:wrap;gap:16px 48px;padding-top:4px;border-top:1px solid var(--ps-line);padding-top:20px}
.proj-links__item{min-width:0;max-width:100%}
.proj-links__item p:last-child{font-size:15.5px;line-height:1.55}

/* inside a two-column layout (e.g. with photos beside it) keep facts to one or two columns */
.wp-block-column .proj-facts{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
@media (max-width:600px){.proj-facts{padding:18px;gap:16px}.proj-result{padding:18px 20px}}
/* project summary refinements: even two-column facts, lighter result text */
.proj-facts,.wp-block-column .proj-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 36px}
.proj-fact--wide{grid-column:auto}
.proj-result__text{font-size:clamp(17px,1.5vw,19px);font-weight:500;line-height:1.55}
@media (max-width:600px){.proj-facts,.wp-block-column .proj-facts{grid-template-columns:1fr}}
.proj-summary ~ h2{margin-top:64px}.proj-summary ~ p{max-width:1000px}
[data-market-panel] .fig + .pcs-license{margin-top:28px}

/* ---------- "Inside a condenser tube" animation (assets/js/tube-anim.js) ---------- */
.tube-anim{
  --ta-water:#E9F3FA;--ta-flow:#8CBBDD;--ta-wall:#C3CBD3;--ta-wall-text:#2E3B47;--ta-ref:#FBF1E7;--ta-ref-text:#8A4B12;
  --ta-heat:#E2832B;--ta-deposit:#8C7A4B;--ta-fleck:#5E5130;--ta-mineral:#D9D3C5;--ta-bio:#6F8B3E;
  --ta-coat:var(--product-accent,#60A9D3);--ta-mol-tail:#3E6E8E;--ta-text:#0C2340;--ta-muted:#55606B;--ta-track:#E3E9EE;--ta-bad:#B5651D;
}
html[data-theme="dark"] .tube-anim{
  --ta-water:#0F1C27;--ta-flow:#4F7FA5;--ta-wall:#3A4652;--ta-wall-text:#D5DEE6;--ta-ref:#261B13;--ta-ref-text:#E9B27B;
  --ta-heat:#F29A45;--ta-deposit:#6E6040;--ta-fleck:#3E3520;--ta-mineral:#9F988A;--ta-bio:#8DAA57;
  --ta-mol-tail:#9CC6E3;--ta-text:#DCE6F0;--ta-muted:#A9B6C2;--ta-track:#262D35;--ta-bad:#E2A35F;
}
.tube-anim .fig-body{padding:22px}
.tube-anim__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.tube-anim__steps button{appearance:none;font:inherit;font-size:13.5px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;
  display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;border:1px solid var(--bip-line,#DDE3E8);background:transparent;color:var(--ta-muted);transition:border-color .2s,background .2s,color .2s}
.tube-anim__steps button b{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:12.5px;border:1px solid currentColor}
.tube-anim__steps button[aria-pressed="true"]{color:var(--ta-text);border-color:var(--ta-coat);background:rgba(var(--product-accent-rgb,96,169,211),.12)}
.tube-anim__steps button[aria-pressed="true"] b{background:var(--ta-coat);border-color:var(--ta-coat);color:#0C0D0F}
.tube-anim__steps button:focus-visible,.tube-anim__play:focus-visible{outline:3px solid var(--ta-coat);outline-offset:2px}
.tube-anim__caption{min-height:4.6em;margin:0 0 14px;font-size:14.5px;line-height:1.55;color:var(--ta-text)}
.tube-anim__lane{margin:0 0 16px}
.tube-anim__lane-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px}
.tube-anim__lane-head .fig-label{margin:0}
.tube-anim__res{font-size:12.5px;color:var(--ta-muted);text-align:right}
.tube-anim__res i{font-style:normal;font-weight:700;color:var(--ta-text)}
.tube-anim__stage{border-radius:10px;overflow:hidden;line-height:0;border:1px solid var(--bip-line,#DDE3E8)}
.tube-anim__svg{display:block;width:100%;height:auto}
.tube-anim__meter{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin-top:8px;font-size:13px;color:var(--ta-muted)}
.tube-anim__meter-track{height:8px;border-radius:4px;background:var(--ta-track);overflow:hidden}
.tube-anim__meter-fill{display:block;height:100%;width:100%;border-radius:4px;background:linear-gradient(90deg,var(--ta-heat),#FFC27A)}
.tube-anim__lane[data-lane="untreated"] .tube-anim__meter-fill{background:linear-gradient(90deg,var(--ta-bad),var(--ta-heat))}
.tube-anim__controls{display:flex;align-items:center;gap:14px;margin-top:4px;font-size:13.5px;color:var(--ta-muted)}
.tube-anim__play{appearance:none;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--bip-line,#DDE3E8);background:transparent;color:var(--ta-text)}
.tube-anim__play::before{content:"";width:0;height:0;border-left:4px solid currentColor;border-right:4px solid currentColor;height:10px;width:3px;border-top:0;border-bottom:0;box-sizing:content-box}
.tube-anim.is-paused .tube-anim__play::before{width:0;border-right:0;border-left:9px solid currentColor;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent;height:0}
.tube-anim__progress{flex:1;height:4px;border-radius:2px;background:var(--ta-track);overflow:hidden}
.tube-anim__progress span{display:block;height:100%;width:0;background:var(--ta-coat)}
.tube-anim__time b{color:var(--ta-text);font-variant-numeric:tabular-nums}
.tube-anim__nojs{font-size:14px;color:var(--ta-muted)}
.tube-anim.is-ready .tube-anim__nojs{display:none}
.tube-anim:not(.is-ready) .tube-anim__steps,.tube-anim:not(.is-ready) .tube-anim__controls,.tube-anim:not(.is-ready) .tube-anim__lane{display:none}

/* SVG parts */
.tube-anim .ta-water{fill:var(--ta-water)}
.tube-anim .ta-flow{stroke:var(--ta-flow);stroke-width:2;stroke-linecap:round;opacity:.65}
.tube-anim .ta-wall{fill:var(--ta-wall)}
.tube-anim .ta-ref{fill:var(--ta-ref)}
.tube-anim .ta-heat{stroke:var(--ta-heat);stroke-width:3.4;stroke-linecap:round}
.tube-anim .ta-heat--glow{stroke-width:9;opacity:.5}
.tube-anim .ta-heat-fill{fill:var(--ta-heat)}
.tube-anim .ta-pulse{fill:#FFE2B8}
html[data-theme="dark"] .tube-anim .ta-pulse{fill:#FFF1DC}
.tube-anim .ta-deposit{fill:var(--ta-deposit)}
.tube-anim .ta-fleck{fill:var(--ta-fleck)}
.tube-anim .ta-fleck--mineral{fill:var(--ta-mineral)}
.tube-anim .ta-foulant--bio{fill:var(--ta-bio)}
.tube-anim .ta-foulant--mineral{fill:var(--ta-mineral);stroke:var(--ta-fleck);stroke-width:.6}
.tube-anim .ta-coat{fill:var(--ta-coat)}
.tube-anim .ta-mol__tail{stroke:var(--ta-mol-tail);stroke-width:1.6}
.tube-anim .ta-mol__head{fill:var(--ta-coat)}
.tube-anim .ta-mol__anchor{fill:var(--ta-mol-tail)}
.tube-anim .ta-ring{fill:none;stroke:var(--ta-coat);stroke-width:1.5}
.tube-anim .ta-label{font-family:var(--bip-sans);font-size:13px;font-weight:600}
.tube-anim .ta-label--water,.tube-anim .ta-label--tag{fill:var(--ta-text)}
.tube-anim .ta-label--wall{fill:var(--ta-wall-text)}
.tube-anim .ta-label--ref{fill:var(--ta-ref-text)}
@media (max-width:520px){.tube-anim__steps button{font-size:12.5px;padding:7px 8px}.tube-anim__steps button b{width:20px;height:20px}.tube-anim .fig-body{padding:16px}}
/* keep SVG labels readable where heat arrows pass behind them */
.tube-anim .ta-label{paint-order:stroke;stroke-width:5px;stroke-linejoin:round}
.tube-anim .ta-label--water,.tube-anim .ta-label--tag{stroke:var(--ta-water)}
.tube-anim .ta-label--wall{stroke:var(--ta-wall)}
.tube-anim .ta-label--ref{stroke:var(--ta-ref)}
.tube-anim__lane-head .fig-label{white-space:nowrap}
@media (max-width:600px){
  .tube-anim__lane-head{flex-direction:column;align-items:flex-start;gap:2px}
  .tube-anim__res{text-align:left}
  .tube-anim__steps button{flex-direction:column;align-items:flex-start;gap:4px}
  .tube-anim .ta-label{font-size:18px}
  .tube-anim__caption{min-height:6.2em}
}

/* ---- tube animation v2: full width, side-by-side lanes, clear step changes ---- */
.tube-anim--wide{margin-top:40px}
.tube-anim__steps button{position:relative;overflow:hidden;isolation:isolate}
.tube-anim__fill{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--ta-coat);z-index:-1;transition:width .1s linear}
.tube-anim__steps button[aria-pressed="true"] .tube-anim__fill{height:100%;opacity:.16}
.tube-anim__steps button[aria-pressed="false"] .tube-anim__fill{opacity:.9}
.tube-anim__caption{min-height:0;margin:0 0 16px;font-size:15px}
.tube-anim__caption.is-in{animation:ta-fade .5s ease both}
@keyframes ta-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.tube-anim__view{position:relative}
.tube-anim__lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tube-anim__lane{margin:0}
.tube-anim__lane-head{align-items:center}
.tube-anim__status{margin:0;font-size:13px;font-weight:600;color:var(--ta-muted);text-align:right}
.tube-anim__banner{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);z-index:2;pointer-events:none;
  display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;white-space:nowrap;
  font-size:16px;font-weight:600;color:#0C0D0F;background:var(--ta-coat);box-shadow:0 10px 30px -10px rgba(0,0,0,.5);opacity:0}
.tube-anim__banner b{font-weight:800;padding-right:10px;border-right:1px solid rgba(12,13,15,.35)}
.tube-anim__banner.is-on{animation:ta-banner 1.7s ease both}
@keyframes ta-banner{0%{opacity:0;transform:translate(-50%,-40%) scale(.96)}14%{opacity:1;transform:translate(-50%,-50%) scale(1)}72%{opacity:1}100%{opacity:0;transform:translate(-50%,-56%)}}
.tube-anim__controls{margin-top:14px}
.tube-anim__controls .tube-anim__time{margin-left:auto}
@media (prefers-reduced-motion:reduce){.tube-anim__banner.is-on,.tube-anim__caption.is-in{animation:none}.tube-anim__banner.is-on{opacity:0}}
@media (max-width:760px){
  .tube-anim__lanes{grid-template-columns:1fr;gap:14px}
  .tube-anim__banner{font-size:14px;padding:8px 14px}
}

/* ---- tube animation v4: THERMOPHASE lettering on the treated label, layer callout, stronger active step ---- */
.tube-anim__banner{display:none}
.tube-anim__lane-head{min-height:30px}
.tube-anim__tp-label{display:flex;align-items:baseline;gap:6px}
.tube-anim__tp{font-family:var(--product-name-font,"Alibaba Sans",sans-serif);font-weight:900;font-size:21px;line-height:1;letter-spacing:.005em;text-transform:none;display:inline-block;transform:skewX(-8deg)}
.tube-anim__tp .product-name__prefix{-webkit-text-stroke-width:1.1px}
/* callout on the molecule layer */
.tube-anim .ta-callout__line{stroke:var(--ta-coat);stroke-width:1.4}
.tube-anim .ta-callout__dot{fill:var(--ta-coat)}
.tube-anim .ta-callout__text{fill:var(--ta-coat);font-weight:700;stroke:var(--ta-water)}
html[data-theme="dark"] .tube-anim .ta-callout__text{fill:#9FD3F0}
/* steps: the active one is solid THERMOPHASE blue; finished ones keep a full underline */
.tube-anim__steps button[aria-pressed="true"]{background:var(--ta-coat);border-color:var(--ta-coat);color:#0C0D0F;box-shadow:0 8px 22px -12px var(--ta-coat)}
.tube-anim__steps button[aria-pressed="true"] b{background:#0C0D0F;border-color:#0C0D0F;color:var(--ta-coat)}
.tube-anim__steps button[aria-pressed="true"] .tube-anim__fill{height:100%;opacity:1;background:rgba(255,255,255,.28)}
.tube-anim__steps button[aria-pressed="false"] .tube-anim__fill{height:3px;opacity:.9;background:var(--ta-coat)}
.tube-anim__steps button[aria-pressed="false"]:not(.is-done){opacity:.75}
.tube-anim__steps button.is-pop{animation:ta-pop .45s ease}
@keyframes ta-pop{0%{transform:scale(.97)}55%{transform:scale(1.035)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.tube-anim__steps button.is-pop{animation:none}}
@media (max-width:600px){.tube-anim__tp{font-size:18px}}
/* "WITH" in the THERMOPHASE color (matches PHASE in dark mode; deeper shade for contrast in light mode) */
html:is([data-theme]) body .tube-anim .tube-anim__tp-label{color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] body .tube-anim .tube-anim__tp-label{color:var(--product-accent,#60A9D3)}

/* ---- tube animation v5: text that stands out, cost balance for step 3 ---- */
/* steps: inactive ones readable, not faded */
.tube-anim__steps button[aria-pressed="false"]:not(.is-done){opacity:1}
.tube-anim__steps button[aria-pressed="false"]{color:var(--ta-text);border-color:rgba(var(--product-accent-rgb,96,169,211),.45)}
.tube-anim__steps button[aria-pressed="false"]:hover{border-color:var(--ta-coat)}
/* caption: a highlighted box that leads with the step */
.tube-anim__caption{margin:0 0 16px;padding:12px 16px;border-radius:10px;border-left:4px solid var(--ta-coat);
  background:rgba(var(--product-accent-rgb,96,169,211),.10);font-size:15.5px;line-height:1.55;color:var(--ta-text)}
.tube-anim__caption-step{display:block;margin-bottom:2px;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--ta-coat)}
html:not([data-theme="dark"]) .tube-anim__caption-step{color:var(--product-accent-ink,#3E7FA8)}
/* lane status pills */
.tube-anim__status{padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;color:var(--ta-coat);background:rgba(var(--product-accent-rgb,96,169,211),.14);text-align:center}
html:not([data-theme="dark"]) .tube-anim__status{color:var(--product-accent-ink,#3E7FA8)}
.tube-anim__status.is-alert{color:#8A5A1E;background:rgba(181,101,29,.14)}
html[data-theme="dark"] .tube-anim__status.is-alert{color:#E9B27B;background:rgba(226,163,95,.16)}
/* meter labels */
.tube-anim__meter-text{font-weight:700;color:var(--ta-text)}
.tube-anim__lane[data-lane="untreated"] .tube-anim__meter-text{color:#8A5A1E}
html[data-theme="dark"] .tube-anim__lane[data-lane="untreated"] .tube-anim__meter-text{color:#E9B27B}
.tube-anim__lane[data-lane="treated"] .tube-anim__meter-text{color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] .tube-anim__lane[data-lane="treated"] .tube-anim__meter-text{color:var(--ta-coat)}

/* cost balance */
.tube-anim__impact{margin-top:18px;padding:14px 16px 12px;border-radius:12px;border:1px solid var(--bip-line,#DDE3E8);transition:border-color .3s,box-shadow .3s,opacity .3s;opacity:.55}
.tube-anim.is-impact .tube-anim__impact{opacity:1;border-color:var(--ta-coat);box-shadow:0 0 0 1px rgba(var(--product-accent-rgb,96,169,211),.25)}
.tube-anim__impact-title{margin:0 0 4px;font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ta-muted);text-align:center}
.tube-anim.is-impact .tube-anim__impact-title{color:var(--ta-coat)}
.tube-anim__balance-svg{display:block;width:100%;height:auto;max-height:170px}
.tube-anim__costs{display:grid;grid-template-columns:1fr 1fr;gap:16px 90px;margin-top:6px}
.tube-anim__cost{margin:0;font-size:14px;line-height:1.5;color:var(--ta-muted)}
.tube-anim__cost b{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.tube-anim__cost--untreated{text-align:right}
.tube-anim__cost--untreated b{color:#8A5A1E}
html[data-theme="dark"] .tube-anim__cost--untreated b{color:#E9B27B}
.tube-anim__cost--treated b{color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] .tube-anim__cost--treated b{color:var(--ta-coat)}
.tube-anim .tb-fulcrum{fill:var(--ta-wall)}
.tube-anim .tb-base{stroke:var(--ta-wall);stroke-width:4;stroke-linecap:round}
.tube-anim .tb-beam{stroke:var(--ta-text);stroke-width:5;stroke-linecap:round}
.tube-anim .tb-pivot{fill:var(--ta-coat)}
.tube-anim .tb-string{stroke:var(--ta-muted);stroke-width:1.5}
.tube-anim .tb-pan{fill:var(--ta-text)}
.tube-anim .tb-block--energy{fill:var(--ta-heat)}
.tube-anim .tb-block--maint{fill:var(--ta-deposit)}
.tube-anim .tb-block--treat{fill:var(--ta-coat)}
.tube-anim .tb-text{font-family:var(--bip-sans);font-size:17px;font-weight:600;fill:var(--ta-text)}
@media (max-width:760px){
  .tube-anim .tb-text{display:none}
  .tube-anim__costs{gap:12px 20px}
  .tube-anim__cost{font-size:13px}
}
/* compact cost row: untreated text | scale | treated text, plus a color key */
.tube-anim__impact{margin-top:14px;padding:10px 16px}
.tube-anim__costs{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px) minmax(0,1fr);align-items:center;gap:20px;margin:0}
.tube-anim__balance{min-width:0}
.tube-anim__balance-svg{max-height:none}
.tube-anim .tb-text{display:none}
.tube-anim__key{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;margin:4px 0 0;font-size:12.5px;color:var(--ta-muted)}
.tube-anim__key span{display:inline-flex;align-items:center;gap:6px}
.tube-anim__key-swatch{display:inline-block;width:12px;height:12px;border-radius:3px}
.tube-anim__key-swatch--energy{background:var(--ta-heat)}
.tube-anim__key-swatch--maint{background:var(--ta-deposit)}
.tube-anim__key-swatch--treat{background:var(--ta-coat)}
.tube-anim__caption{padding:10px 14px;margin-bottom:14px}
@media (max-width:760px){
  .tube-anim__costs{grid-template-columns:1fr;gap:8px}
  .tube-anim__balance{order:-1;max-width:300px;margin:0 auto;width:100%}
  .tube-anim__cost--untreated{text-align:left}
}
.tube-anim__costs{grid-template-columns:minmax(0,1fr) minmax(260px,420px) minmax(0,1fr)}

/* ---- tube animation: shared readout row. Steps 1–2 show the two heat meters;
 * step 3 cross-fades them into one tug-of-war cost bar (styled like the economics split bar). */
.tube-anim__readout{position:relative;margin-top:10px;min-height:64px}
.tube-anim__meters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;transition:opacity .45s ease,transform .45s ease}
.tube-anim__meters .tube-anim__meter{margin-top:0}
.tube-anim__tug{position:absolute;inset:0;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .45s ease,transform .45s ease}
.tube-anim.is-impact .tube-anim__meters{opacity:0;transform:translateY(-6px)}
.tube-anim.is-impact .tube-anim__tug{opacity:1;transform:none}
.tube-anim__tug-title{margin:0 0 8px;font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-align:center;color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] .tube-anim__tug-title{color:var(--ta-coat)}
.tube-anim__tug-bar{display:flex;height:16px;border-radius:8px;overflow:hidden;gap:3px}
.tube-anim__tug-a,.tube-anim__tug-b{display:block;width:50%}
.tube-anim__tug-a{background:linear-gradient(90deg,var(--ta-deposit),var(--ta-heat))}
.tube-anim__tug-b{background:var(--ta-coat)}
.tube-anim__tug-key{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:13.5px;color:var(--ta-muted)}
.tube-anim__tug-key span{display:inline-flex;align-items:center;gap:6px}
.tube-anim__tug-swatch{display:inline-block;width:10px;height:10px;border-radius:2px}
.tube-anim__tug-swatch--a{background:var(--ta-heat)}
.tube-anim__tug-swatch--b{background:var(--ta-coat)}
@media (prefers-reduced-motion:reduce){.tube-anim__meters,.tube-anim__tug{transition:none}}
@media (max-width:760px){
  .tube-anim__meters{grid-template-columns:1fr;gap:6px}
  .tube-anim__readout{min-height:86px}
  .tube-anim__tug-key{font-size:12.5px}
}
/* phones: the tubes stack, so name each meter */
@media (max-width:760px){
  .tube-anim__meter[data-lane="untreated"] .tube-anim__meter-text::before{content:"Untreated: "}
  .tube-anim__meter[data-lane="treated"] .tube-anim__meter-text::before{content:"THERMOPHASE: "}
}
.tube-anim__readout{min-height:80px}@media (max-width:760px){.tube-anim__readout{min-height:96px}}
@media (max-width:760px){.tube-anim__readout{min-height:124px}.tube-anim__tug-title{font-size:12px}}

/* ---- step 3 cost bars: one per tube, same scale; the THERMOPHASE bar shows the savings gap ---- */
.tube-anim__readout{min-height:132px}
.tube-anim__costbars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tube-anim__costbar-label{margin:0 0 5px;font-size:12.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.tube-anim__costbar--untreated .tube-anim__costbar-label{color:#8A5A1E}
html[data-theme="dark"] .tube-anim__costbar--untreated .tube-anim__costbar-label{color:#E9B27B}
.tube-anim__costbar--treated .tube-anim__costbar-label{color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] .tube-anim__costbar--treated .tube-anim__costbar-label{color:var(--ta-coat)}
.tube-anim__costbar-track{display:flex;gap:3px;height:22px;border-radius:6px;background:var(--ta-track);overflow:hidden}
.cb-seg{display:flex;align-items:center;justify-content:center;width:0;height:100%;flex:none;overflow:hidden;white-space:nowrap;font-size:12px;font-weight:700}
.cb-seg--energy{background:var(--ta-heat)}
.cb-seg--maint{background:var(--ta-deposit)}
.cb-seg--treat{background:var(--ta-coat)}
.cb-seg--save{opacity:0;border:2px dashed #3E8A2A;border-radius:0 6px 6px 0;background:rgba(78,138,42,.12);color:#2F6B1F;box-sizing:border-box}
html[data-theme="dark"] .cb-seg--save{border-color:#B4D88B;background:rgba(180,216,139,.12);color:#C9E4A8}
.tube-anim__costbar-note{margin:5px 0 0;font-size:13px;color:var(--ta-muted)}
.tube-anim__tug-key{justify-content:center;gap:4px 18px;margin-top:10px}
.tube-anim__tug-swatch--energy{background:var(--ta-heat)}
.tube-anim__tug-swatch--maint{background:var(--ta-deposit)}
.tube-anim__tug-swatch--treat{background:var(--ta-coat)}
.tube-anim__tug-swatch--save{background:rgba(78,138,42,.12);border:1.5px dashed #3E8A2A;box-sizing:border-box}
html[data-theme="dark"] .tube-anim__tug-swatch--save{border-color:#B4D88B}
@media (max-width:760px){
  .tube-anim__costbars{grid-template-columns:1fr;gap:10px}
  .tube-anim__readout{min-height:230px}
}
@media (max-width:760px){.tube-anim__readout{min-height:276px}.cb-seg--save{font-size:0}}
/* step + description read as one unit: the description is a speech bubble whose pointer sits under the active step */
.tube-anim__steps{margin-bottom:0}
.tube-anim__caption{position:relative;margin:12px 0 16px;border:2px solid var(--ta-coat);border-left-width:2px;border-radius:10px;
  background:rgba(var(--product-accent-rgb,96,169,211),.12)}
.tube-anim__caption::before,.tube-anim__caption::after{content:"";position:absolute;left:var(--notch-x,16%);transform:translateX(-50%);width:0;height:0;
  border-left:10px solid transparent;border-right:10px solid transparent;transition:left .35s ease}
.tube-anim__caption::before{top:-12px;border-bottom:10px solid var(--ta-coat)}
.tube-anim__caption::after{top:-8px;border-left-width:8px;border-right-width:8px;border-bottom:8px solid var(--ta-caption-bg,#1D2A35)}
html:not([data-theme="dark"]) .tube-anim__caption{--ta-caption-bg:#E9F2F9}
html[data-theme="dark"] .tube-anim__caption{--ta-caption-bg:#1A2733}
.tube-anim__caption{background:var(--ta-caption-bg)}
@media (prefers-reduced-motion:reduce){.tube-anim__caption::before,.tube-anim__caption::after{transition:none}}
.tube-anim__tp .product-name__prefix{-webkit-text-stroke-width:.75px}

/* ---- cost bars visible in every step, accumulating over the year ---- */
.tube-anim__readout{min-height:0}
.tube-anim.is-impact .tube-anim__meters{opacity:1;transform:none}
.tube-anim__tug,.tube-anim.is-impact .tube-anim__tug{position:static;opacity:1;transform:none;pointer-events:auto;margin-top:14px}
.tube-anim__tug-title{margin-bottom:6px}
.cb-seg{transition:none}
.cb-seg--clean{background:#7A5B3A;color:#fff;gap:5px}
html[data-theme="dark"] .cb-seg--clean{background:#8A6A45}
.cb-seg--save{justify-content:center}
.cb-seg__text{white-space:nowrap;font-size:11.5px;font-weight:700}
.cb-brush{width:14px;height:14px;flex:none}
.cb-seg--clean.is-cleaning .cb-brush{animation:cb-scrub .32s ease-in-out infinite alternate}
@keyframes cb-scrub{from{transform:translateX(-3px) rotate(-12deg)}to{transform:translateX(3px) rotate(12deg)}}
.tube-anim__tug-swatch--clean{background:#7A5B3A}
html[data-theme="dark"] .tube-anim__tug-swatch--clean{background:#8A6A45}
@media (prefers-reduced-motion:reduce){.cb-seg--clean.is-cleaning .cb-brush{animation:none}}
@media (max-width:760px){.tube-anim__readout{min-height:0}.cb-seg__text{display:none}}
.tube-anim .cb-brush,.fig .cb-brush{display:inline-block;width:14px;height:14px;flex:none}

/* ---- cost bars stacked on one shared scale, with an "Untreated total" marker ---- */
.tube-anim__costbars{position:relative;display:grid;grid-template-columns:minmax(150px,230px) minmax(0,1fr);column-gap:18px;row-gap:12px;align-items:center}
.cb-row{display:contents}
.cb-head{grid-column:1}
.cb-head .tube-anim__costbar-label{margin:0 0 2px}
.cb-head .tube-anim__costbar-note{margin:0;font-size:12.5px;line-height:1.4}
.cb-row--untreated .tube-anim__costbar-label{color:#8A5A1E}
html[data-theme="dark"] .cb-row--untreated .tube-anim__costbar-label{color:#E9B27B}
.cb-row--treated .tube-anim__costbar-label{color:var(--product-accent-ink,#3E7FA8)}
html[data-theme="dark"] .cb-row--treated .tube-anim__costbar-label{color:var(--ta-coat)}
.cb-row .tube-anim__costbar-track{grid-column:2;height:26px}
.cb-row--untreated .tube-anim__costbar-track{grid-row:1}
.cb-row--untreated .cb-head{grid-row:1}
.cb-row--treated .tube-anim__costbar-track{grid-row:2}
.cb-row--treated .cb-head{grid-row:2}
.cb-overlay{grid-column:2;grid-row:1 / span 2;position:relative;align-self:stretch;pointer-events:none}
.cb-marker{position:absolute;top:-6px;bottom:-6px;left:0;width:0;border-left:2px dashed var(--ta-text);opacity:0;transform:translateX(-1px)}
.cb-marker__label{position:absolute;top:-18px;left:0;transform:translateX(-50%);white-space:nowrap;font-size:11.5px;font-weight:700;color:var(--ta-text);
  padding:1px 6px;border-radius:4px;background:var(--ta-caption-bg,#E9F2F9)}
html[data-theme="dark"] .cb-marker__label{background:#1A2733}
.tube-anim__tug-title{margin-bottom:22px}
@media (max-width:760px){
  .tube-anim__costbars{grid-template-columns:96px minmax(0,1fr);column-gap:10px}
  .cb-head .tube-anim__costbar-note{display:none}
  .cb-head .tube-anim__costbar-label{font-size:11.5px}
}
.tube-anim__costbars{row-gap:9px}.cb-row .tube-anim__costbar-track{height:22px}.tube-anim__tug{margin-top:10px}.tube-anim__tug-title{margin-bottom:20px}.tube-anim__tug-key{margin-top:8px}.tube-anim__controls{margin-top:10px}

/* ---------- Safety: THERMOPHASE page section, FAQ link target, project-summary callout ---------- */
.safety-section{--sf-green:#3E8A2A;--sf-green-soft:rgba(78,138,42,.10);--sf-card:#FFFFFF;--sf-line:var(--bip-line,#DDE3E8);--sf-muted:var(--bip-muted,#55606B)}
html[data-theme="dark"] .safety-section{--sf-green:#B4D88B;--sf-green-soft:rgba(180,216,139,.10);--sf-card:var(--d-surface,#181C22);--sf-line:var(--d-line-strong,#3A434D);--sf-muted:#B4C0CA}
.safety-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0 0}
.safety-proof__card{display:flex;gap:16px;align-items:flex-start;padding:22px 24px;border-radius:14px;border:1px solid var(--sf-line);background:var(--sf-card);text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s}
.safety-proof__card:hover,.safety-proof__card:focus-visible{border-color:var(--sf-green);box-shadow:0 10px 30px -18px var(--sf-green)}
.safety-proof__icon,.safety-why__icon,.proj-safety__icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--sf-green,#3E8A2A);background:var(--sf-green-soft,rgba(78,138,42,.10))}
.safety-proof__icon svg,.safety-why__icon svg,.proj-safety__icon svg{width:24px;height:24px;display:block}
.safety-proof__body{display:flex;flex-direction:column;gap:4px}
.safety-proof__body b{font-size:18px}
.safety-proof__body span{font-size:15.5px;line-height:1.55;color:var(--sf-muted)}
.safety-proof__body em{font-style:normal;font-weight:600;font-size:15px;color:var(--product-accent-ink,#3E7FA8);margin-top:4px}
html[data-theme="dark"] .safety-proof__body em{color:var(--d-link,#8EC3EA)}
html:is([data-theme]) body main .safety-section .safety-why__title{font-size:20px;margin:40px 0 16px}
.safety-why{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.safety-why li{margin:0;padding:20px;border-radius:14px;border:1px solid var(--sf-line);background:var(--sf-card);display:flex;flex-direction:column;gap:6px}
.safety-why b{font-size:16.5px;margin-top:6px}
.safety-why li>span:last-child{font-size:14.5px;line-height:1.55;color:var(--sf-muted)}
@media (max-width:1000px){.safety-why{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.safety-proof,.safety-why{grid-template-columns:1fr}}

/* project summary: safety callout */
.proj-safety{--sf-green:#3E8A2A;--sf-green-soft:rgba(78,138,42,.10);display:flex;gap:16px;align-items:flex-start;padding:18px 22px;border-radius:14px;
  border:1px solid rgba(78,138,42,.45);border-left:4px solid var(--sf-green);background:linear-gradient(var(--sf-green-soft),var(--sf-green-soft)),var(--ps-card,#fff)}
html[data-theme="dark"] .proj-safety{--sf-green:#B4D88B;--sf-green-soft:rgba(180,216,139,.10);border-color:rgba(180,216,139,.4);border-left-color:var(--sf-green)}
html:is([data-theme]) body .proj-summary .proj-safety .proj-label{color:var(--sf-green)}
.proj-safety__text{font-size:16px;line-height:1.6}
/* ---- Home: still frame of the condenser-tube animation (no script) ---- */
.tube-static .fig-body{padding:18px}
.tube-static__lanes{display:grid;gap:16px}
.tube-static .tube-anim__meter{margin-top:8px}
.tube-static .fig-note a{font-weight:600}
/* THERMOPHASE lettering works even where the page has no product color set */
.tube-static .tube-anim__tp .product-name__prefix{color:transparent;-webkit-text-stroke:.75px var(--product-name-prefix-stroke,#60A9D3);paint-order:stroke fill}
.tube-static .tube-anim__tp .product-name__phase{color:var(--product-name-phase,#111418)}
html[data-theme="dark"] .tube-static .tube-anim__tp .product-name__prefix{-webkit-text-stroke-color:var(--product-name-prefix-stroke,#FFFFFF)}
html[data-theme="dark"] .tube-static .tube-anim__tp .product-name__phase{color:var(--product-name-phase,#60A9D3)}
/* mechanical tube-cleaning brush (step 3, untreated tube) */
.tube-anim .ta-brush{transition:opacity .2s ease}
.tube-anim .ta-brush__rod{stroke:#8E99A3;stroke-width:3;stroke-linecap:round}
.tube-anim .ta-brush__head{fill:#3A4652;stroke:#1E252C;stroke-width:1}
.tube-anim .ta-brush__bristle{stroke:#5B4A2E;stroke-width:1.6;stroke-linecap:round}
html[data-theme="dark"] .tube-anim .ta-brush__rod{stroke:#B8C3CC}
html[data-theme="dark"] .tube-anim .ta-brush__head{fill:#C3CBD3;stroke:#7E8A95}
html[data-theme="dark"] .tube-anim .ta-brush__bristle{stroke:#D8C9A8}
/* twisted-wire tube brush with brown bristles */
.tube-anim .ta-brush__rod{stroke:#8E99A3;stroke-width:3.5;stroke-linecap:round}
.tube-anim .ta-brush__shank{fill:#B8C1C9;stroke:#7E8A95;stroke-width:.8}
.tube-anim .ta-brush__thread{stroke:#7E8A95;stroke-width:.9}
.tube-anim .ta-brush__core{stroke:#9AA4AD;stroke-width:2.2}
.tube-anim .ta-brush__tuft{fill:#8B5E34}
.tube-anim .ta-brush__tuft--back{fill:#5E3D1F}
.tube-anim .ta-brush__tip{fill:#D7262E}
html[data-theme="dark"] .tube-anim .ta-brush__rod{stroke:#B8C3CC}
html[data-theme="dark"] .tube-anim .ta-brush__shank{fill:#D5DCE2;stroke:#9AA4AD}
html[data-theme="dark"] .tube-anim .ta-brush__tuft{fill:#A8774A}
html[data-theme="dark"] .tube-anim .ta-brush__tuft--back{fill:#6E4B2A}
/* Econ fact with a headline number: "0 new failed or degraded condenser tubes", detail underneath */
.econ-fact--stat{flex-direction:column;gap:6px}
.econ-fact__head{margin:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.econ-fact .econ-fact__head b{min-width:0;font-size:32px;line-height:1}
.econ-fact__head span{font-size:17px;font-weight:600;color:var(--econ-text)}
.econ-fact__text{margin:0;font-size:15px;line-height:1.55;color:var(--econ-muted)}
