@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/anton-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2')}
/* Fire Control Corp. — site styles.
   Layout: one 1180px column with 48px gutters; a near-black hero and footer bookend flat white and light-grey fields;
   hairline-ruled lists carry the capability bullets; red is reserved for actions, yellow for the claim and on-site service. */

/* ---------- Tokens (from the Fire Control Design System) ---------- */
:root {
  color-scheme: light;
  --white: #ffffff;
  --red-50: #fdeceb; --red-100: #fbd6d3; --red-200: #f4aca6; --red-400: #e85850;
  --red-500: #e2231a; --red-600: #cc1e17; --red-700: #a91811;
  --yellow-50: #fffaeb; --yellow-200: #fde08a; --yellow-400: #fdb813; --yellow-500: #f0a500; --yellow-800: #6f4b00;
  --grey-25: #fbfbfc; --grey-50: #f6f6f7; --grey-100: #eeeef0; --grey-150: #e5e6e9; --grey-200: #dadbe0;
  --grey-300: #c1c3cb; --grey-400: #9a9da8; --grey-500: #787b87; --grey-600: #5a5d68; --grey-700: #41434c;
  --grey-800: #2a2c33; --grey-900: #17181c;

  --color-bg: var(--white);
  --color-bg-sunken: var(--grey-50);
  --color-border: var(--grey-150);
  --color-border-strong: var(--grey-300);
  --color-text: var(--grey-700);
  --color-heading: var(--grey-900);
  --color-muted: var(--grey-600);
  --color-brand: var(--red-500);
  --color-brand-hover: var(--red-600);
  --color-brand-active: var(--red-700);
  --color-link: var(--red-600);
  --color-accent: var(--yellow-400);

  --font-display: 'Anton', Impact, 'Arial Narrow Bold', 'Arial Black', sans-serif;
  --font-sans: 'Barlow', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;
  --container: 1180px;
  --gutter: 20px;
  --section: 64px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --fast: 120ms; --base: 180ms;
  --header-h: 68px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --section: 96px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--grey-900); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--color-heading); text-wrap: balance; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--fast) var(--ease); }
a:hover { color: var(--color-brand-active); }
:focus-visible { outline: 3px solid var(--red-400); outline-offset: 2px; border-radius: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap {
  max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--grey-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-md); }
.skip:focus { top: 12px; color: #fff; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.nowrap { white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1.05; letter-spacing: 0.005em; }
.h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.h2 { font-size: clamp(1.875rem, 3.4vw, 2.5rem); }
.h3 { font-size: 1.375rem; }
.title { font-weight: 700; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red-600); }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--color-muted); max-width: 40em; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: 38em; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.arrow-link .icon { transition: transform var(--base) var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 0.9375rem/1.2 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  padding: 14px 24px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn--primary { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.btn--primary:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); color: #fff; }
.btn--primary:active { background: var(--color-brand-active); border-color: var(--color-brand-active); }
.btn--secondary { background: #fff; border-color: var(--color-brand); color: var(--red-600); }
.btn--secondary:hover { background: var(--red-50); color: var(--red-700); }
.btn--on-dark { background: transparent; border-color: var(--grey-600); color: #fff; }
.btn--on-dark:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: 10px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--grey-900); color: var(--grey-300); font-size: 0.8125rem; line-height: 1.4; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; padding-block: 8px; }
.topbar__group { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--grey-500); }
a.topbar__item:hover { color: #fff; }
.topbar__tel { color: var(--yellow-400); font-weight: 600; }
a.topbar__tel:hover { color: var(--yellow-200); }
@media (max-width: 899px) { .topbar__hide-sm { display: none; } }
@media (max-width: 519px) { .topbar__hide-xs { display: none; } .topbar__in { justify-content: center; } }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #fff; border-bottom: 1px solid var(--color-border); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 50px; } }
.nav { display: none; }
.nav a {
  display: block; padding: 10px 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--grey-700); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--red-600); }
.nav a[aria-current="page"] { color: var(--red-600); border-bottom-color: var(--color-brand); }
.header__cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: var(--radius-md); color: var(--grey-900); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-x, .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }
@media (min-width: 520px) { .header__cta { display: inline-flex; } }
@media (max-width: 1099px) {
  .nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--color-border); box-shadow: 0 12px 32px rgba(23, 24, 28, 0.12);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .nav.is-open a { padding: 14px 0; font-size: 0.9375rem; border-bottom: 1px solid var(--grey-100); }
  .nav.is-open li:last-child a { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav ul { display: flex; align-items: center; gap: 28px; }
  .nav a { padding: 8px 0 6px; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--grey-900); color: var(--grey-300); }
.hero__in { display: grid; gap: 40px; padding-block: 56px 48px; align-items: center; }
.hero__eyebrow { color: var(--grey-400); }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 7.2vw, 5.25rem); line-height: 1; margin-top: 18px; }
.hero h1 span { color: var(--yellow-400); display: block; }
.hero__lede { font-size: 1.25rem; line-height: 1.55; color: var(--grey-200); max-width: 30em; margin-top: 24px; }
.hero__sub { font-size: 1rem; color: var(--grey-400); max-width: 34em; margin-top: 12px; }
.hero .btn-row { margin-top: 32px; }
.hero__figure { min-width: 0; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: var(--radius-lg); background: var(--grey-800); }
.hero__figure figcaption { margin-top: 12px; font-size: 0.75rem; color: var(--grey-500); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; padding-block: 88px 72px; }
}
.facts { border-top: 1px solid var(--grey-800); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts > div { padding: 24px 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.facts > div:nth-child(n+3) { border-top: 1px solid var(--grey-800); }
.facts dt { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); }
.facts dd { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: #fff; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div { padding: 28px 0 32px 28px; border-left: 1px solid var(--grey-800); }
  .facts > div:first-child { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--sunken { background: var(--color-bg-sunken); border-block: 1px solid var(--color-border); }
.section--ruled { border-top: 1px solid var(--color-border); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section__head { display: grid; gap: 14px; margin-bottom: 40px; }
.section__head .lede { margin-top: 2px; }
.section__head--split { align-items: end; }
@media (min-width: 860px) { .section__head--split { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; } .section__head--split > .eyebrow, .section__head--split > .lede { grid-column: 1; } .section__head--split > .section__aside { grid-column: 2; grid-row: 1 / span 3; } }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.stack { display: grid; gap: 16px; align-content: start; }
.stack--lg { gap: 24px; }

/* Ruled link rows (home: Sales and Service, product lines) */
.rows { border-bottom: 1px solid var(--color-border); }
.rows a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 17px 4px; border-top: 1px solid var(--color-border); color: var(--grey-900); text-decoration: none;
  font-weight: 600; font-size: 1.125rem; line-height: 1.3; transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.rows a > .icon:first-child { color: var(--color-brand); width: 22px; height: 22px; }
.rows a > .icon:last-child { color: var(--grey-400); width: 18px; height: 18px; transition: transform var(--base) var(--ease), color var(--fast) var(--ease); }
.rows a:hover { color: var(--red-600); }
.rows a:hover > .icon:last-child { color: var(--red-600); transform: translateX(4px); }

/* Product line rows */
.line-rows { border-bottom: 1px solid var(--color-border); }
.line-row { display: grid; gap: 6px 32px; padding: 24px 4px; border-top: 1px solid var(--color-border); color: inherit; text-decoration: none; align-items: baseline; }
.line-row__name { font-weight: 700; font-size: 1.25rem; color: var(--grey-900); line-height: 1.3; transition: color var(--fast) var(--ease); }
.line-row__desc { color: var(--color-muted); font-size: 1rem; }
.line-row__meta { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--grey-500); white-space: nowrap; }
.line-row__meta .icon { width: 18px; height: 18px; color: var(--grey-400); transition: transform var(--base) var(--ease), color var(--fast) var(--ease); }
.line-row:hover { color: inherit; }
.line-row:hover .line-row__name { color: var(--red-600); }
.line-row:hover .line-row__meta .icon { color: var(--red-600); transform: translateX(4px); }
@media (min-width: 860px) { .line-row { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) auto; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.card--pad { padding: 24px; }
@media (min-width: 720px) { .card--pad { padding: 32px; } }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid-3--fixed { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3--fixed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.product { overflow: hidden; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 4 / 3; position: relative; background: #fff; border-bottom: 1px solid var(--grey-100); }
.product__img img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.product__body { padding: 20px 24px 24px; display: grid; gap: 6px; }
.product__model { font-size: 0.75rem; color: var(--red-600); font-weight: 500; }
.product__name { font-weight: 700; font-size: 1.0625rem; color: var(--grey-900); line-height: 1.35; }
.product__desc { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.5; }

/* Manufacturer logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 128px), 1fr)); gap: 12px; }
.logo-wall li { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); height: 84px; display: flex; align-items: center; justify-content: center; padding: 16px 18px; }
.logo-wall img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* Claim */
.claim { background: var(--red-50); border: 1px solid var(--red-200); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
.claim .display { color: var(--red-700); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.claim p { color: var(--grey-700); }
@media (min-width: 720px) { .claim { padding: 40px; } }
.info h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.info p { font-size: 1rem; color: var(--color-muted); }
.stack > .info + .info { border-top: 1px solid var(--color-border); padding-top: 24px; }

/* Contact strip */
.cta { background: var(--color-bg-sunken); border-top: 1px solid var(--color-border); }
.cta__in { display: grid; gap: 32px; padding-block: 64px; align-items: center; }
.cta__tel { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; color: var(--grey-900); text-decoration: none; display: inline-block; }
.cta__tel:hover { color: var(--red-600); }
.cta__meta { font-size: 0.9375rem; color: var(--color-muted); margin-top: 10px; }
@media (min-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; padding-block: 80px; } .cta__side { text-align: right; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { border-bottom: 1px solid var(--color-border); }
.page-head__in { padding-block: 48px 40px; display: grid; gap: 14px; }
@media (min-width: 900px) { .page-head__in { padding-block: 72px 56px; } }
.page-head--split .page-head__in { align-items: end; }
@media (min-width: 900px) { .page-head--split .page-head__in { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; } .page-head--split .page-head__in > * { grid-column: 1; } .page-head--split .page-head__in > .page-head__aside { grid-column: 2; grid-row: 1 / span 3; } }

/* On-site service callout */
.callout { background: var(--yellow-50); border: 1px solid var(--yellow-200); border-radius: var(--radius-lg); padding: 20px 24px; display: grid; gap: 6px; max-width: 26rem; }
.callout__title { font-weight: 700; color: var(--yellow-800); font-size: 1rem; }
.callout p { font-size: 0.9375rem; color: var(--grey-700); line-height: 1.55; }
.callout a { font-weight: 700; font-size: 0.9375rem; color: var(--grey-900); }
.callout a:hover { color: var(--red-600); }

/* ---------- About ---------- */
.about-photo img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
.about-photo figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--grey-500); }
.about-claim { color: var(--color-brand); font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-top: 28px; }
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.member { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 24px; align-items: start; }
.member img { width: 88px; height: 88px; border-radius: var(--radius-lg); object-fit: cover; background: var(--grey-100); }
.member__name { font-weight: 700; font-size: 1.0625rem; color: var(--grey-900); line-height: 1.3; }
.member__role { font-size: 0.875rem; font-weight: 600; color: var(--red-600); line-height: 1.35; margin-top: 2px; }
.member__bio { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.55; margin-top: 10px; }
.member__links { margin-top: 12px; display: grid; gap: 2px; font-size: 0.875rem; }
.member__links a { color: var(--grey-800); text-decoration: none; overflow-wrap: anywhere; }
.member__links a:hover { color: var(--red-600); text-decoration: underline; }

/* ---------- Services ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: #fff; color: var(--grey-800); text-decoration: none; font-size: 0.875rem; font-weight: 600; transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.chips a .icon, .chips span .icon { width: 16px; height: 16px; color: var(--color-brand); }
.chips a:hover { border-color: var(--red-400); color: var(--red-700); }
.service { display: grid; gap: 28px; padding-block: 48px; border-top: 1px solid var(--color-border); scroll-margin-top: calc(var(--header-h) + 16px); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service__media { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.service__media img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.service__head { display: flex; gap: 14px; align-items: flex-start; }
.service__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--red-50); color: var(--color-brand); display: flex; align-items: center; justify-content: center; flex: none; }
.service__icon .icon { width: 22px; height: 22px; }
.service__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.625rem, 2.8vw, 2.125rem); line-height: 1.08; letter-spacing: 0.005em; padding-top: 5px; }
.service__sub { margin-top: 6px; font-size: 1.0625rem; line-height: 1.45; color: var(--color-muted); }
.bullets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); column-gap: 32px; margin-top: 24px; border-bottom: 1px solid var(--grey-100); }
.bullets li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--grey-100); font-size: 1rem; color: var(--grey-800); line-height: 1.4; }
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--color-brand); flex: none; transform: translateY(-2px); }
.service .btn { margin-top: 24px; }
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-block: 64px; align-items: start; } }

/* ---------- Product lines ---------- */
.tabs { display: flex; gap: 4px 28px; border-bottom: 1px solid var(--color-border); overflow-x: auto; scrollbar-width: none; scroll-margin-top: calc(var(--header-h) + 16px); }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 0; font: 700 0.875rem/1.3 var(--font-sans); text-transform: uppercase; letter-spacing: 0.04em; color: var(--grey-600); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: baseline; transition: color var(--fast) var(--ease); }
.tab:hover { color: var(--grey-900); }
.tab[aria-selected="true"] { color: var(--red-600); border-bottom-color: var(--color-brand); }
.tab .mono { font-size: 0.75rem; font-weight: 500; color: var(--grey-400); letter-spacing: 0; }
.tab[aria-selected="true"] .mono { color: var(--red-400); }
.line-intro { display: grid; gap: 4px; margin-block: 28px 24px; min-height: 3.2em; }
.line-intro p { color: var(--color-muted); max-width: 44em; }
.brand-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.brand-card { display: flex; flex-direction: column; overflow: hidden; }
.brand-card__logo { height: 120px; display: flex; align-items: center; justify-content: center; padding: 28px 36px; border-bottom: 1px solid var(--grey-100); background: #fff; }
.brand-card__logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.brand-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.brand-card__name { font-weight: 700; font-size: 1.0625rem; color: var(--grey-900); line-height: 1.3; }
.brand-card__desc { font-size: 0.9375rem; color: var(--color-muted); line-height: 1.55; }
.brand-card__foot { margin-top: auto; padding-top: 10px; display: grid; gap: 14px; justify-items: start; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--grey-100); color: var(--grey-700); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.5; white-space: nowrap; }
.ext-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ext-link .icon { width: 16px; height: 16px; }

/* ---------- Export ---------- */
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); column-gap: 32px; border-bottom: 1px solid var(--color-border); }
.countries li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--color-border); color: var(--grey-900); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.countries .mono { font-size: 0.75rem; color: var(--grey-400); font-weight: 400; }

/* ---------- News ---------- */
.posts { border-bottom: 1px solid var(--color-border); }
.post { display: grid; gap: 6px 40px; padding: 26px 4px; border-top: 1px solid var(--color-border); }
.post__date { font-size: 0.8125rem; color: var(--grey-500); padding-top: 4px; white-space: nowrap; }
.post__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.post__title a { color: var(--grey-900); text-decoration: none; }
.post__title a:hover { color: var(--red-600); }
.post__title .icon { width: 16px; height: 16px; display: inline-block; vertical-align: baseline; margin-left: 4px; color: var(--grey-400); transform: translateY(2px); }
.post__title a:hover .icon { color: var(--red-600); }
.post__excerpt { color: var(--color-muted); font-size: 1rem; margin-top: 6px; max-width: 44em; }
.post .badge { margin-left: 10px; vertical-align: middle; background: var(--yellow-50); color: var(--yellow-800); border: 1px solid var(--yellow-200); transform: translateY(-2px); }
@media (min-width: 760px) { .post { grid-template-columns: 10.5rem minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--grey-700); }
.field label span { font-weight: 400; color: var(--grey-500); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--grey-900); background: #fff;
  padding: 11px 12px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-400); box-shadow: 0 0 0 3px var(--red-100); }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form__note { font-size: 0.875rem; color: var(--grey-500); flex: 1 1 14rem; line-height: 1.5; }
.form__status { font-size: 0.9375rem; color: var(--grey-800); background: var(--grey-50); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 14px; line-height: 1.5; }
.details { display: grid; gap: 0; }
.details > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--color-border); }
.details > div:first-child { border-top: 0; padding-top: 0; }
.details .icon { width: 20px; height: 20px; color: var(--color-brand); margin-top: 3px; }
.details dt { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-500); }
.details dd { color: var(--grey-900); font-size: 1rem; line-height: 1.55; }
.details dd a { color: inherit; }
.details dd a:hover { color: var(--red-600); }
.details dd small { display: block; color: var(--grey-500); font-size: 0.875rem; }
.directory { border-bottom: 1px solid var(--color-border); }
.directory li { display: grid; gap: 2px 32px; padding: 16px 4px; border-top: 1px solid var(--color-border); align-items: baseline; }
.directory__name { font-weight: 700; color: var(--grey-900); }
.directory__role { color: var(--color-muted); font-size: 0.9375rem; }
.directory a { color: var(--grey-800); text-decoration: none; font-size: 0.9375rem; overflow-wrap: anywhere; }
.directory a:hover { color: var(--red-600); text-decoration: underline; }
.directory .mono { font-size: 0.875rem; }
@media (min-width: 900px) { .directory li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--grey-900); color: var(--grey-400); font-size: 0.9375rem; }
.footer__in { display: grid; gap: 40px; padding-block: 64px 48px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.footer__lockup img { width: 44px; height: 44px; border-radius: 7px; }
.footer__name { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: 1.25rem; line-height: 1.1; }
.footer__tag { font-size: 0.8125rem; color: var(--grey-500); margin-top: 3px; }
.footer__claim { color: var(--grey-300); max-width: 22em; line-height: 1.6; }
.footer h2 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: var(--grey-300); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__tel { color: var(--yellow-400) !important; font-weight: 600; }
.footer address { font-style: normal; line-height: 1.6; color: var(--grey-300); }
.footer__bar { border-top: 1px solid var(--grey-800); padding-block: 20px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8125rem; color: var(--grey-500); }
@media (min-width: 720px) { .footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__in { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 80px 56px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Language switch (EN | ES) and the first-visit Spanish suggestion ---------- */
.lang { display: inline-flex; align-items: center; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); font: 600 0.75rem/1 var(--font-sans); letter-spacing: 0.06em; }
.lang__opt { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: var(--radius-pill); color: var(--grey-600); text-decoration: none; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
a.lang__opt:hover { color: var(--red-600); background: var(--red-50); }
a.lang__opt:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 1px; }
.lang__opt[aria-current] { background: var(--grey-900); color: #fff; }
.lang-hint { position: fixed; z-index: 30; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: var(--radius-pill); background: var(--grey-900); color: #fff; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); font-size: 0.9375rem; }
.lang-hint p { margin: 0; }
.lang-hint__go { padding: 8px 14px; border-radius: var(--radius-pill); background: var(--color-brand); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lang-hint__go:hover { background: var(--color-brand-hover); }
.lang-hint__x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; opacity: 0.7; }
.lang-hint__x:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
@media (max-width: 519px) { .lang-hint p { display: none; } }
/* Laptop widths: the full menu, the language switch and the CTA do not all fit; the menu's Contact link stands in for the CTA. */
@media (min-width: 1100px) and (max-width: 1279px) { .header__cta { display: none; } }
.header__cta { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1439px) { .header__in { gap: 20px; } .nav ul { gap: 22px; } }

/* Option 3: "Ember". Loaded after styles.css by `node build.mjs --theme wild`.
   Dark by default with a light switch; a floating glass header; an animated ember hero; a bento grid of services;
   a manufacturer ticker; glow cards that follow the pointer; scroll reveals; a quick-search palette. */

/* ---------- Tokens ---------- */
:root {
  --ink: #09090b;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(23, 24, 28, 0.1);
  --hair: rgba(23, 24, 28, 0.1);
  --card-shadow: 0 1px 2px rgba(23, 24, 28, 0.04), 0 20px 44px -28px rgba(23, 24, 28, 0.28);
  --flame: linear-gradient(100deg, #fdb813 0%, #ff7a1a 48%, #e2231a 100%);
  --flame-text: linear-gradient(100deg, #e85d04 0%, #e2231a 55%, #a91811 100%);
  --orange-500: #ff7a1a;
  --ok: #3ddc84;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 70px;
  --header-off: calc(var(--header-h) + 10px);
  --tone-fire-alarm: #e2231a;
  --tone-fire-suppression: #ff7a1a;
  --tone-fire-equipment: #fdb813;
  --tone-fire-pumps: #aeb2bd;
  --tone-gas-detection: #ff4d6d;
}
:root:not([data-mode="light"]) {
  color-scheme: dark;
  --grey-25: #0e0e11; --grey-50: #101013; --grey-100: #1c1d22; --grey-150: #24252b; --grey-200: #2e3037;
  --grey-300: #41444e; --grey-400: #6d707c; --grey-500: #8d909c; --grey-600: #a9acb7; --grey-700: #c5c7cf;
  --grey-800: #e1e2e7; --grey-900: #f6f6f8;
  --red-50: rgba(226, 35, 26, 0.14); --red-100: rgba(226, 35, 26, 0.28); --red-200: rgba(226, 35, 26, 0.42);
  --red-600: #ff5b4f; --red-700: #ff7b70;
  --yellow-50: rgba(253, 184, 19, 0.1); --yellow-200: rgba(253, 184, 19, 0.4); --yellow-800: #fdb813;
  --color-bg: #0b0b0e; --color-bg-sunken: #0f0f13;
  --color-border: #24252b; --color-border-strong: #41444e;
  --color-text: #c5c7cf; --color-heading: #f6f6f8; --color-muted: #a9acb7;
  --color-brand-hover: #cc1e17; --color-brand-active: #a91811; --color-link: #ff5b4f;
  --surface: #141519; --surface-2: #1a1b20;
  --glass: rgba(18, 19, 23, 0.68); --glass-border: rgba(255, 255, 255, 0.1);
  --hair: rgba(255, 255, 255, 0.09);
  --card-shadow: 0 28px 48px -36px rgba(0, 0, 0, 0.9);
  --flame-text: var(--flame);
}
/* Fields that stay dark in both modes keep the original palette. */
.topbar, .hero, .footer, .skip {
  --grey-25: #fbfbfc; --grey-50: #f6f6f7; --grey-100: #eeeef0; --grey-150: #e5e6e9; --grey-200: #dadbe0;
  --grey-300: #c1c3cb; --grey-400: #9a9da8; --grey-500: #787b87; --grey-600: #5a5d68; --grey-700: #41434c;
  --grey-800: #2a2c33; --grey-900: #17181c;
  --yellow-200: #fde08a;
}

/* ---------- Base ---------- */
body::before { background: var(--ink); }
::selection { background: #e2231a; color: #fff; }
a:hover { color: var(--red-700); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--flame); flex: none; }
.h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); }

.btn { border-radius: var(--radius-pill); position: relative; overflow: hidden; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--base) var(--ease), box-shadow var(--base) var(--ease); }
.btn--primary { box-shadow: 0 10px 28px -10px rgba(226, 35, 26, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%); transform: translateX(-120%); transition: transform 600ms var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--secondary { background: var(--surface); }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--flame); pointer-events: none; }

/* ---------- Floating glass header ---------- */
.topbar { background: var(--ink); position: relative; z-index: 2; }
.header { background: transparent; border: 0; margin-top: 10px; top: calc(env(safe-area-inset-top, 0px) + 10px); padding-inline: 12px; pointer-events: none; }
.header__in {
  pointer-events: auto; position: relative; gap: 10px; min-height: var(--header-h);
  max-width: calc(var(--container) + 40px); padding: 0 12px 0 7px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.45);
}
/* The full-colour logo sits on a white plate so it reads on the dark glass exactly as drawn. */
.brand--plate { display: flex; align-items: center; padding: 7px 18px 7px 12px; border-radius: var(--radius-pill); background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 10px 28px -8px rgba(255, 122, 26, 0.8); transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease); }
.brand--plate img { display: block; height: 42px; width: auto; }
.brand--plate:hover { transform: scale(1.03); box-shadow: 0 0 0 1px #fff, 0 12px 34px -6px rgba(255, 122, 26, 1); }
:root[data-mode="light"] .brand--plate { box-shadow: 0 0 0 1px var(--hair), 0 10px 24px -12px rgba(226, 35, 26, 0.5); }
.footer__plate { justify-self: start; display: inline-flex; padding: 14px 22px 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px -16px rgba(255, 122, 26, 0.75); transition: transform var(--base) var(--ease); }
.footer__plate:hover { transform: translateY(-2px); }
.footer__plate img { display: block; height: 58px; width: auto; }
.nav a { border-bottom: 0; border-radius: var(--radius-pill); }
.nav a[aria-current="page"] { background: var(--red-50); }
.tools { display: flex; align-items: center; gap: 2px; }
.tool { width: 40px; height: 40px; display: inline-grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--grey-800); cursor: pointer; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.tool:hover { background: var(--red-50); color: var(--red-600); }
.tool .icon { width: 19px; height: 19px; }
.tool .icon-moon { display: none; }
:root[data-mode="light"] .tool .icon-sun { display: none; }
:root[data-mode="light"] .tool .icon-moon { display: block; }
.nav-toggle { margin-right: 0; border-radius: 50%; }
@media (max-width: 1099px) {
  .nav.is-open { top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--glass-border); border-radius: 22px; padding: 8px 22px 12px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5); }
  .nav.is-open a { border-radius: 0; border-bottom: 1px solid var(--hair); background: none; }
}
@media (min-width: 1100px) {
  .nav ul { gap: 2px; }
  .nav a { padding: 9px 12px; font-size: 0.78rem; }
}
@media (max-width: 519px) { :root { --header-h: 62px; } .header__in { padding: 0 6px 0 6px; } .brand--plate { padding: 6px 14px 6px 10px; } .brand--plate img { height: 36px; } .footer__plate img { height: 50px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); margin-top: calc(-1 * var(--header-off)); padding-top: var(--header-off); }
.hero__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.hero__blob--a { width: min(56vw, 780px); aspect-ratio: 1; left: -14%; top: -34%; background: #e2231a; opacity: 0.6; animation: drift-a 20s ease-in-out infinite alternate; }
.hero__blob--b { width: min(42vw, 600px); aspect-ratio: 1; right: -12%; top: 4%; background: #ff7a1a; opacity: 0.34; animation: drift-b 26s ease-in-out infinite alternate; }
.hero__blob--c { width: min(46vw, 640px); aspect-ratio: 1; left: 30%; bottom: -52%; background: #fdb813; opacity: 0.2; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
.hero__grid, .page-head::after {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 15%, transparent 75%);
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after, .page-head::before, .cta__in::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift-a { to { transform: translate3d(9%, 12%, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-12%, 16%, 0) scale(0.9); } }

.hx { display: grid; gap: clamp(28px, 3.4vw, 40px); padding-block: clamp(40px, 5vw, 56px) 36px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.86); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.22); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(253, 184, 19, 0); } }
.hero h1 { margin-top: 20px; font-size: clamp(3rem, 10.4vw, 7.25rem); line-height: 0.96; letter-spacing: 0; }
@media (max-width: 519px) { .pill { font-size: 0.6875rem; letter-spacing: 0.05em; } .pill .nowrap { display: none; } }
.hx__w--flame { background: var(--flame); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
@keyframes shimmer { to { background-position: 100% 0; } }
.hx__row { display: grid; gap: 36px; align-items: end; }
@media (min-width: 960px) { .hx__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.hero__lede { margin-top: 0; color: #fff; }
.hero__sub { color: rgba(255, 255, 255, 0.68); }
.hero .btn--on-dark { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .btn--on-dark:hover { background: rgba(255, 255, 255, 0.14); }
.hx__figure { position: relative; margin: 0; perspective: 1100px; }
.hx__frame { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 50px 90px -50px rgba(226, 35, 26, 0.85), 0 0 0 6px rgba(255, 255, 255, 0.04); transition: transform 500ms var(--ease); will-change: transform; }
.hx__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.hx__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(12, 12, 15, 0.62); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; text-decoration: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.7); animation: bob 6s ease-in-out infinite alternate; }
.hx__chip small { display: block; font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.hx__chip--status { left: 12px; top: 12px; }
.hx__chip--tel { right: 12px; bottom: 12px; animation-delay: -3s; font-size: 0.9375rem; }
.hx__chip--tel:hover { color: var(--yellow-400); }
.hx__chip .icon { width: 16px; height: 16px; color: var(--yellow-400); }
@media (min-width: 960px) { .hx__chip--status { left: -18px; top: 26px; } .hx__chip--tel { right: -18px; bottom: 26px; } }
@keyframes bob { to { transform: translateY(-8px); } }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-400); flex: none; }
.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.22); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: clamp(44px, 6vw, 72px); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.11); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat dt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.62); }
.stat dd { font-family: var(--font-display); font-size: clamp(2.25rem, 4.2vw, 3.25rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Manufacturer ticker ---------- */
.ticker { padding-block: 28px 32px; border-bottom: 1px solid var(--hair); display: grid; gap: 18px; }
.ticker__label { justify-self: center; text-align: center; padding-inline: var(--gutter); }
.marquee { display: flex; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { flex: none; display: flex; gap: 14px; animation: slide 56s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; width: 148px; height: 66px; padding: 12px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); display: flex; align-items: center; justify-content: center; }
.marquee__track img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
@keyframes slide { to { transform: translateX(calc(-100% - 14px)); } }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.bento__tile > a {
  position: relative; isolation: isolate; overflow: hidden; height: 100%; min-height: 168px;
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--card-shadow);
  color: var(--color-heading); text-decoration: none;
  transition: transform var(--base) var(--ease), border-color var(--base) var(--ease);
}
.bento__tile > a:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.5); color: var(--color-heading); }
.bento__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--red-50); color: var(--color-brand); display: grid; place-items: center; flex: none; }
.bento__icon .icon { width: 24px; height: 24px; }
.bento__name { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 1.1875rem; line-height: 1.25; padding-right: 8px; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bento__tags span { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--hair); color: var(--color-muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.bento__go { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--color-muted); transition: background var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease), transform var(--base) var(--ease); }
.bento__go .icon { width: 18px; height: 18px; }
.bento__tile > a:hover .bento__go { background: var(--color-brand); border-color: var(--color-brand); color: #fff; transform: rotate(45deg); }
.bento__tile--xl > a { min-height: 300px; color: #fff; border-color: rgba(255, 255, 255, 0.12); background: radial-gradient(120% 120% at 0% 100%, rgba(226, 35, 26, 0.72), transparent 62%), radial-gradient(90% 90% at 100% 0%, rgba(253, 184, 19, 0.3), transparent 60%), var(--ink); }
.bento__tile--xl > a:hover { color: #fff; }
.bento__tile--xl .bento__icon { background: rgba(255, 255, 255, 0.12); color: var(--yellow-400); width: 56px; height: 56px; border-radius: 16px; }
.bento__tile--xl .bento__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; }
.bento__tile--xl .bento__tags span { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.86); }
.bento__tile--xl .bento__go { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__tile--xl { grid-column: span 2; } }
/* Two columns: tiles pair up under the full-width first tile; an odd one left at the end takes the whole row. */
@media (min-width: 640px) and (max-width: 999.98px) { .bento__tile:last-child:nth-child(even) { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); } .bento__tile--xl { grid-row: span 2; } .bento__tile--wide { grid-column: span 2; } }

/* Pointer-following glow */
.bento__tile > a::after, .card::after, .line-row::after, .post::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 26, 0.17), transparent 62%);
  transition: opacity 300ms var(--ease);
}
.bento__tile > a:hover::after, .card:hover::after, .line-row:hover::after, .post:hover::after { opacity: 1; }

/* ---------- Cards ---------- */
.card { position: relative; overflow: hidden; background: var(--surface); border-color: var(--hair); border-radius: 22px; box-shadow: var(--card-shadow); transition: transform var(--base) var(--ease), border-color var(--base) var(--ease); }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.5); }
.card.form:hover { transform: none; border-color: var(--hair); }
.card.form::after { display: none; }
.product__img, .brand-card__logo { margin: 10px 10px 0; border: 0; border-radius: 14px; }
.product { transition: transform 400ms var(--ease), border-color var(--base) var(--ease); }
.service__media { border-color: var(--hair); border-radius: 24px; box-shadow: var(--card-shadow); }
.service__icon { background: var(--flame); color: #fff; border-radius: 14px; }
@media (min-width: 900px) { .service:nth-of-type(even) .service__media { order: 2; } .service:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.chips a, .chips span { background: var(--surface); border-color: var(--hair); }
.info h3 { color: var(--color-heading); }

/* Product lines as tone cards */
.line-rows { border: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.line-row { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 24px; border: 1px solid var(--hair); border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); transition: transform var(--base) var(--ease), border-color var(--base) var(--ease); }
.line-row::before { content: ""; position: absolute; z-index: -1; left: -20%; right: -20%; bottom: -55%; height: 80%; background: radial-gradient(closest-side, var(--tone), transparent); opacity: 0.2; transition: opacity 300ms var(--ease); }
.line-row:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 60%, transparent); }
.line-row:hover::before { opacity: 0.42; }
.line-row__name { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.625rem; line-height: 1.05; color: var(--color-heading); }
.line-row__name::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--tone); flex: none; }
.line-row:hover .line-row__name { color: var(--color-heading); }
.line-row__meta { margin-top: auto; padding-top: 12px; justify-content: space-between; }
[data-tone="fire-alarm"] { --tone: var(--tone-fire-alarm); }
[data-tone="fire-suppression"] { --tone: var(--tone-fire-suppression); }
[data-tone="fire-equipment"] { --tone: var(--tone-fire-equipment); }
[data-tone="fire-pumps"] { --tone: var(--tone-fire-pumps); }
[data-tone="gas-detection"] { --tone: var(--tone-gas-detection); }
.badge[data-tone] { background: color-mix(in srgb, var(--tone) 16%, transparent); color: color-mix(in srgb, var(--tone) 55%, var(--color-heading)); }

/* ---------- Statement band ---------- */
.statement { display: flex; overflow: hidden; padding-block: 26px; background: var(--ink); border-block: 1px solid rgba(255, 255, 255, 0.08); -webkit-user-select: none; user-select: none; }
.statement__track { flex: none; display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.1; animation: slide-full 44s linear infinite; }
.statement span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); }
.statement span.is-fill { -webkit-text-stroke: 0; background: var(--flame); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statement i { width: 0.26em; height: 0.26em; border-radius: 0.05em; background: var(--yellow-400); transform: rotate(45deg); flex: none; }
@keyframes slide-full { to { transform: translateX(-100%); } }

/* ---------- Claim ---------- */
.section--ruled { border-top: 0; }
.claim { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border-color: var(--hair); border-radius: var(--radius-xl); box-shadow: var(--card-shadow); }
.claim::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -30%; top: -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 26, 0.28), transparent); }
.claim .display { font-size: clamp(2rem, 4vw, 3.25rem); background: var(--flame-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.claim p { color: var(--color-text); }
.about-claim { background: var(--flame-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }

/* ---------- Contact band ---------- */
.cta { background: transparent; border: 0; padding: 0 12px var(--section); }
.cta .cta__in {
  position: relative; isolation: isolate; overflow: hidden; max-width: calc(var(--container) + 40px);
  padding: 44px 26px; border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(90% 140% at 0% 100%, rgba(226, 35, 26, 0.78), transparent 60%), radial-gradient(70% 120% at 100% 0%, rgba(253, 184, 19, 0.28), transparent 62%), var(--ink);
  box-shadow: 0 40px 80px -48px rgba(226, 35, 26, 0.8);
}
@media (min-width: 900px) { .cta .cta__in { padding: 72px 64px; } }
.cta .display { color: #fff; font-size: clamp(2.25rem, 5vw, 4rem); }
.cta .lede { color: rgba(255, 255, 255, 0.8); }
.cta__tel { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4rem); }
.cta__tel:hover { color: var(--yellow-400); }
.cta__meta { color: rgba(255, 255, 255, 0.64); }
.cta .btn--secondary { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.cta .btn--secondary:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ---------- Inner page headers ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; border: 0; margin-top: calc(-1 * var(--header-off)); padding-top: var(--header-off);
  background: radial-gradient(60% 130% at 0% 0%, rgba(226, 35, 26, 0.62), transparent 62%), radial-gradient(45% 100% at 100% 100%, rgba(253, 184, 19, 0.2), transparent 62%), var(--ink); }
.page-head::after { content: ""; z-index: -1; }
.page-head__in { padding-block: 56px 48px; }
@media (min-width: 900px) { .page-head__in { padding-block: 88px 64px; } }
.page-head h1 { color: #fff; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.98; }
.page-head .eyebrow { color: var(--yellow-400); }
.page-head .lede { color: rgba(255, 255, 255, 0.8); }
.page-head .callout { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); border-radius: 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.page-head .callout__title { color: var(--yellow-400); }
.page-head .callout p { color: rgba(255, 255, 255, 0.78); }
.page-head .callout a, .page-head .callout a:hover { color: #fff; }

/* ---------- Product lines page ---------- */
.filter { position: relative; max-width: 380px; margin-bottom: 20px; }
.filter .icon { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--color-muted); pointer-events: none; }
.filter input { width: 100%; font: 500 1rem/1.4 var(--font-sans); color: var(--color-heading); background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-pill); padding: 12px 18px 12px 44px; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.filter input:focus { outline: none; border-color: var(--red-400); box-shadow: 0 0 0 3px var(--red-100); }
.filter__empty { margin-top: 24px; color: var(--color-muted); }
[data-q-off] { display: none !important; }
.tabs { border: 0; gap: 8px; flex-wrap: wrap; overflow: visible; }
.tab { margin: 0; padding: 10px 16px; border: 1px solid var(--hair); border-radius: var(--radius-pill); background: var(--surface); align-items: center; transition: color var(--fast) var(--ease), background var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.tab[data-tone]::before { content: ""; width: 8px; height: 8px; border-radius: 2.5px; background: var(--tone); }
.tab[aria-selected="true"] { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.tab[aria-selected="true"] .mono { color: rgba(255, 255, 255, 0.82); }
.tab[aria-selected="true"]::before { background: #fff; }
.brand-card { scroll-margin-top: calc(var(--header-off) + 20px); }
.brand-card.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 60% { border-color: var(--yellow-400); box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.3); } }

/* ---------- Export, news, contact ---------- */
.countries { border: 0; gap: 10px; column-gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.countries li { padding: 12px 16px; border: 1px solid var(--hair); border-radius: 14px; background: var(--surface); }
.posts { border: 0; display: grid; gap: 12px; }
.post { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--hair); border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); transition: transform var(--base) var(--ease), border-color var(--base) var(--ease); }
.post:hover { transform: translateY(-3px); border-color: rgba(255, 122, 26, 0.5); }
.post__title a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.field input, .field select, .field textarea { background: var(--surface-2); border-radius: 12px; }
.form__status { background: var(--surface-2); }
.details .icon { box-sizing: content-box; padding: 9px; margin: -6px 0 0 -9px; border-radius: 12px; background: var(--red-50); }
.details > div { grid-template-columns: 38px minmax(0, 1fr); }
.member img { border-radius: 18px; }
.about-photo img { border-radius: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); position: relative; overflow: hidden; }
.footer__mega { font-family: var(--font-display); text-transform: uppercase; text-align: center; white-space: nowrap; font-size: clamp(4rem, 17.5vw, 15.5rem); line-height: 1; margin-bottom: -0.1em; padding-top: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-user-select: none; user-select: none; }
@media (max-width: 719px) { .footer { padding-bottom: 84px; } }

/* ---------- Mobile action dock ---------- */
.dock { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); transform: translateY(160%); transition: transform 420ms var(--ease); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9375rem; text-decoration: none; color: var(--color-heading); }
.dock a .icon { width: 18px; height: 18px; }
.dock .dock__call { background: var(--color-brand); color: #fff; }
@media (min-width: 720px) { .dock { display: none; } }

/* ---------- Quick search ---------- */
.cmdk { position: fixed; inset: 0; z-index: 60; display: grid; justify-items: center; align-items: start; padding: 11vh 16px 16px; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(9, 9, 11, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmdk__panel { position: relative; width: min(640px, 100%); max-height: min(580px, 78vh); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--glass-border); border-radius: 22px; box-shadow: 0 48px 96px -24px rgba(0, 0, 0, 0.7); animation: pop 180ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.cmdk__input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--hair); color: var(--color-muted); }
.cmdk__input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 1.0625rem/1.4 var(--font-sans); color: var(--color-heading); }
.cmdk__input input::-webkit-search-cancel-button { display: none; }
.cmdk kbd { font: 500 0.6875rem/1 var(--font-mono); padding: 5px 7px; border: 1px solid var(--hair); border-radius: 7px; color: var(--color-muted); white-space: nowrap; }
.cmdk__list { overflow: auto; overscroll-behavior: contain; padding: 8px; display: grid; gap: 2px; }
.cmdk__list a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 13px; color: var(--color-heading); text-decoration: none; }
.cmdk__list a:hover, .cmdk__list a.is-active { background: var(--red-50); color: var(--color-heading); }
.cmdk__ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grey-100); color: var(--color-brand); overflow: hidden; }
.cmdk__ico .icon { width: 18px; height: 18px; }
.cmdk__ico--logo { background: #fff; padding: 5px; border: 1px solid var(--hair); }
.cmdk__ico--logo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.cmdk__t { font-weight: 600; font-size: 0.9688rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk__s { font: 500 0.6875rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); white-space: nowrap; }
.cmdk__empty { padding: 28px 24px; text-align: center; color: var(--color-muted); }
.cmdk__foot { display: flex; gap: 16px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--hair); font-size: 0.75rem; color: var(--color-muted); }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 519px) { .cmdk__s, .cmdk__foot { display: none; } .cmdk__list a { grid-template-columns: 38px minmax(0, 1fr); } }
html.is-locked { overflow: hidden; }

/* ---------- Motion ---------- */
@view-transition { navigation: auto; }
main[data-page] { animation: page-in 480ms var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; } .dock, .progress, .cmdk { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee, .marquee__track { flex-wrap: wrap; justify-content: center; flex: 1 1 100%; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .statement { justify-content: center; }
  .statement__track + .statement__track { display: none; }
}

/* Header fit between 1100 and 1240px */
.header__cta { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1239px) { .nav a { padding: 9px 8px; font-size: 0.74rem; } }

/* Anchored targets clear the floating header */
.brand-card, .service, .tabs { scroll-margin-top: calc(var(--header-off) + 44px); }

/* =====================================================================
   Oomph pass: louder type, flame-lit headings, a spinning flame ring on the hero photo,
   crossed marquee ribbons, spotlight borders, ambient glows, and embers on every dark field.
   ===================================================================== */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
:root { --flame-hot: linear-gradient(135deg, #ff6a1a 0%, #e2231a 58%, #c01b14 100%); --under-glow: 0 30px 60px -34px rgba(255, 90, 20, 0.5); }
:root:not([data-mode="light"]) { --under-glow: 0 30px 60px -32px rgba(255, 90, 20, 0.8); }

/* Flame word in headings */
.flame { background: var(--flame-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: 0.06em; }
.page-head .flame, .cta .flame { background-image: var(--flame); }
.h2 { font-size: clamp(2.375rem, 5.2vw, 4rem); line-height: 1; }
.progress { box-shadow: 0 0 14px rgba(255, 122, 26, 0.9); }

/* Header: a flame hairline under the glass */
.header__in::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, #ff7a1a 25%, #fdb813 50%, #ff7a1a 75%, transparent); opacity: 0.75; }

/* Buttons */
.btn--primary { box-shadow: 0 12px 30px -8px rgba(226, 35, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.hero .btn--primary, .cta .btn--primary { animation: halo 2.8s ease-out infinite; }
@keyframes halo {
  0% { box-shadow: 0 12px 30px -8px rgba(226, 35, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 0 rgba(255, 122, 26, 0.6); }
  70%, 100% { box-shadow: 0 12px 30px -8px rgba(226, 35, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 16px rgba(255, 122, 26, 0); }
}

/* ---------- Hero ---------- */
.hero::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, #ff7a1a 28%, #fdb813 50%, #ff7a1a 72%, transparent); box-shadow: 0 0 46px 8px rgba(255, 122, 26, 0.55); }
.hero__fx { transform: translate3d(0, calc(var(--sy, 0) * 0.22px), 0); }
.hero__blob--a { opacity: 0.74; }
.hero__blob--b { opacity: 0.46; }
.hero__blob--c { opacity: 0.3; }
.hero__spot { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; transition: opacity 500ms var(--ease); background: radial-gradient(560px circle at var(--hx, 70%) var(--hy, 30%), rgba(255, 170, 70, 0.22), transparent 62%); }
.hero.is-lit .hero__spot { opacity: 1; }
.hx { padding-block: clamp(32px, 4vw, 44px) 36px; gap: clamp(24px, 3vw, 34px); }
.hero h1 { font-size: clamp(3rem, 11.4vw, 8.25rem); line-height: 0.94; }
.hero h1 .hx__w { display: block; color: #fff; animation: rise 900ms var(--ease) backwards; }
.hero h1 .hx__w--flame { color: transparent; filter: drop-shadow(0 8px 36px rgba(255, 122, 26, 0.5)); animation: rise 900ms var(--ease) 140ms backwards, shimmer 7s ease-in-out infinite alternate; }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em) skewY(3deg); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-40% -10% -40% -10%); } }
.hx__figure { isolation: isolate; }
.hx__figure::before { content: ""; position: absolute; z-index: -1; inset: 8%; border-radius: 40px; background: conic-gradient(from var(--spin), #e2231a, #ff7a1a, #fdb813, #e2231a); filter: blur(64px); opacity: 0.6; animation: spin 7s linear infinite; }
.hx__frame { padding: 2px; border: 0; background: conic-gradient(from var(--spin), rgba(255, 255, 255, 0.16) 0 48%, #fdb813 66%, #ff7a1a 80%, #e2231a 90%, rgba(255, 255, 255, 0.16) 100%); animation: spin 7s linear infinite; }
.hx__frame img { display: block; border-radius: 22px; }
.stat { position: relative; overflow: hidden; transition: transform var(--base) var(--ease), border-color var(--base) var(--ease), background var(--base) var(--ease); }
.stat::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: var(--flame); }
.stat:hover { transform: translateY(-3px); border-color: rgba(255, 160, 60, 0.5); background: rgba(255, 255, 255, 0.08); }
.stat dd { background: linear-gradient(180deg, #fff 38%, #ffc978); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Ticker: two rows, opposite directions ---------- */
.ticker { gap: 14px; }
.ticker__label { margin-bottom: 4px; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 64s; }

/* ---------- Ambient glows behind sections ---------- */
.section { position: relative; isolation: isolate; }
/* Fixed-size glows, with a fine warm grain over them so the soft gradients do not band on dark screens. */
.section { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .55 0 0 0 0 .25 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.085'/%3E%3C/svg%3E"); }
.section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain), radial-gradient(760px 620px at 100% 0, rgba(226, 35, 26, 0.2), transparent 70%), radial-gradient(620px 480px at 0 100%, rgba(253, 184, 19, 0.08), transparent 70%); }
main > .section:nth-of-type(even)::before { background: var(--grain), radial-gradient(760px 620px at 0 0, rgba(226, 35, 26, 0.2), transparent 70%), radial-gradient(620px 480px at 100% 100%, rgba(253, 184, 19, 0.08), transparent 70%); }
.section.section--sunken { border-block: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.55), transparent) 1; }
.section.section--sunken::before { background: var(--grain), radial-gradient(900px 520px at 50% 108%, rgba(255, 122, 26, 0.24), transparent 70%), radial-gradient(640px 320px at 50% -8%, rgba(226, 35, 26, 0.18), transparent 70%); }
:root[data-mode="light"] .section::before { opacity: 0.5; }

/* ---------- Spotlight border and under-glow on cards ---------- */
.bento__tile > a::before, .card::before, .post::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), #fdb813, #ff7a1a 42%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 300ms var(--ease);
}
.bento__tile > a:hover::before, .card:hover::before, .post:hover::before { opacity: 1; }
.card.form::before { display: none; }
.bento__tile > a, .card, .post { transition: transform var(--base) var(--ease), border-color var(--base) var(--ease), box-shadow 400ms var(--ease); }
.bento__tile > a:hover, .card:hover, .post:hover { border-color: rgba(255, 122, 26, 0.3); box-shadow: var(--under-glow), var(--card-shadow); }
.card.form:hover { box-shadow: var(--card-shadow); }

/* ---------- Bento ---------- */
.bento__icon, .service__icon { background: var(--flame-hot); color: #fff; box-shadow: 0 12px 24px -12px rgba(255, 90, 20, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.bento__icon { transition: transform var(--base) var(--ease); }
.bento__tile > a:hover .bento__icon { transform: scale(1.08) rotate(-6deg); }
.bento__tile--xl > a { background: var(--ink); }
.bento__tile--xl .bento__icon { background: var(--flame-hot); color: #fff; }
.bento__heat { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; }
.bento__heat::before, .bento__heat::after { content: ""; position: absolute; border-radius: 50%; filter: blur(64px); }
.bento__heat::before { width: 78%; aspect-ratio: 1; left: -24%; bottom: -52%; background: #e2231a; opacity: 0.85; animation: drift-b 14s ease-in-out infinite alternate; }
.bento__heat::after { width: 56%; aspect-ratio: 1; right: -18%; top: -44%; background: #fdb813; opacity: 0.36; animation: drift-a 18s ease-in-out infinite alternate; }
.bento__rings { position: absolute; z-index: -1; left: 52px; top: 52px; }
.bento__rings i { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(253, 184, 19, 0.6); opacity: 0; animation: ring 3.9s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.bento__rings i:nth-child(2) { animation-delay: 1.3s; }
.bento__rings i:nth-child(3) { animation-delay: 2.6s; }
@keyframes ring { from { transform: scale(1); opacity: 0.85; } to { transform: scale(8); opacity: 0; } }
.bento__ghost { position: absolute; z-index: -1; right: -46px; top: 96px; color: rgba(255, 255, 255, 0.07); transform: rotate(-14deg); transition: transform 700ms var(--ease), color 400ms var(--ease); }
.bento__ghost .icon { display: block; width: 250px; height: 250px; stroke-width: 1; }
@media (max-width: 639px) { .bento__ghost { top: 20px; } .bento__ghost .icon { width: 190px; height: 190px; } }
.bento__tile--xl > a:hover .bento__ghost { transform: rotate(-4deg) scale(1.06); color: rgba(255, 255, 255, 0.12); }

/* ---------- Featured equipment ---------- */
.product__img img { transition: transform 600ms var(--ease); }
.product:hover .product__img img { transform: scale(1.07) rotate(-1.5deg); }
.product__model { justify-self: start; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--red-50); border: 1px solid var(--red-100); font-weight: 600; }
.service__media img { transition: transform 600ms var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__media { transition: box-shadow 400ms var(--ease); }
.service:hover .service__media { box-shadow: var(--under-glow), var(--card-shadow); }

/* ---------- Product line cards ---------- */
.line-row { min-height: 250px; transition: transform var(--base) var(--ease), border-color var(--base) var(--ease), box-shadow 400ms var(--ease); }
.line-row::before { opacity: 0.34; }
.line-row:hover::before { opacity: 0.7; }
.line-row:hover { box-shadow: 0 30px 60px -36px var(--tone), var(--card-shadow); }
.line-row__name::before { box-shadow: 0 0 14px 1px var(--tone); }
.line-row__meta { align-items: flex-end; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--color-muted); }
.line-row__count { display: inline-flex; align-items: baseline; gap: 8px; }
.line-row__count b { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 0.9; letter-spacing: 0; color: color-mix(in srgb, var(--tone) 78%, var(--color-heading)); }
.line-row__go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; flex: none; transition: background var(--base) var(--ease), border-color var(--base) var(--ease), transform var(--base) var(--ease); }
.line-row__go .icon { color: var(--color-muted); }
.line-row:hover .line-row__go { background: var(--color-brand); border-color: var(--color-brand); transform: rotate(-45deg); }
.line-row:hover .line-row__meta .icon { color: #fff; transform: none; }

/* ---------- Statement: crossed ribbons ---------- */
.statement { display: grid; padding-block: clamp(52px, 7.5vw, 92px); background: transparent; border: 0; }
.ribbon { grid-area: 1 / 1; display: flex; width: 108%; margin-left: -4%; padding-block: clamp(10px, 1.4vw, 16px); }
.statement__track { font-size: clamp(2rem, 5.4vw, 4.25rem); }
.ribbon--ink { background: #131318; border-block: 1px solid rgba(255, 255, 255, 0.1); transform: rotate(2.4deg); }
.ribbon--ink .statement__track { animation-direction: reverse; }
.ribbon--flame { background: var(--flame); transform: rotate(-2.4deg); box-shadow: 0 26px 60px -22px rgba(255, 90, 20, 0.75); }
.ribbon--flame span, .ribbon--flame span.is-fill { background: none; color: #17181c; -webkit-text-fill-color: #17181c; -webkit-text-stroke: 0; }
.ribbon--flame i { background: #17181c; }

/* ---------- Dark fields: drifting glows and embers ---------- */
.fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.fx .embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx__blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.fx__blob--1 { width: 46%; aspect-ratio: 1; left: -12%; bottom: -78%; background: #e2231a; opacity: 0.7; animation: drift-b 16s ease-in-out infinite alternate; }
.fx__blob--2 { width: 32%; aspect-ratio: 1; right: -8%; top: -64%; background: #fdb813; opacity: 0.3; animation: drift-a 20s ease-in-out infinite alternate; }
.page-head h1 { font-size: clamp(3rem, 8.6vw, 6.75rem); }
.page-head .flame { filter: drop-shadow(0 6px 30px rgba(255, 122, 26, 0.45)); }
.page-head { border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.7), transparent) 1; }
.cta .cta__in::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0 58%, #fdb813 74%, #ff7a1a 85%, #e2231a 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite;
}
.cta__tel { text-shadow: 0 0 46px rgba(255, 122, 26, 0.6); }
.claim::before { animation: drift-b 16s ease-in-out infinite alternate; }

/* ---------- Footer wordmark: a flame sheen, and a flame under the pointer ---------- */
.footer__mega {
  background-image: radial-gradient(360px circle at var(--mx, -999px) var(--my, -999px), #fdb813, #ff7a1a 38%, #e2231a 62%, transparent 78%), linear-gradient(100deg, transparent 43%, rgba(255, 122, 26, 0.65) 50%, transparent 57%), linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 85%);
  background-size: auto, 300% 100%, auto; background-repeat: no-repeat; background-position: 0 0, 100% 0, 0 0;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%, 35% { background-position: 0 0, 100% 0, 0 0; } 100% { background-position: 0 0, 0% 0, 0 0; } }

/* ---------- Reveal with a little more travel ---------- */
.reveal-on [data-reveal] { transform: translateY(34px) scale(0.975); filter: blur(6px); transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-on [data-reveal].is-in { transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .ribbon { justify-content: center; }
  .hero__fx { transform: none; }
}

/* =====================================================================
   "What we do": every tile animated after its trade. The fire alarm tile keeps its rings;
   the rest run small CSS scenes behind their content. Each scene's resting styles are a still
   frame, which is what reduced-motion visitors see.
   ===================================================================== */
.bento { --fx-hot: #fdb813; --fx-warm: #ff7a1a; --fx-red: #e2231a; --fx-white: rgba(255, 255, 255, 0.62); --fx-mist: rgba(255, 255, 255, 0.17); --fx-line: rgba(255, 255, 255, 0.17); }
:root[data-mode="light"] .bento { --fx-hot: #f08c00; --fx-warm: #e8590c; --fx-white: rgba(65, 68, 78, 0.62); --fx-mist: rgba(65, 68, 78, 0.18); --fx-line: rgba(23, 24, 28, 0.2); }
.tfx { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; opacity: 0.85; transition: opacity 400ms var(--ease); }
.bento__tile > a:hover .tfx { opacity: 1; }
.tfx i, .tfx b, .tfx span { position: absolute; display: block; }
.tfx__nozzle { top: 0; left: var(--cx, 56%); width: 12px; height: 11px; margin-left: -6px; border-radius: 0 0 4px 4px; background: var(--fx-line); }
.tfx__nozzle::before { content: ""; position: absolute; top: 0; left: -44px; right: -44px; height: 3px; background: var(--fx-line); }
/* Paused while the grid is off screen */
.bento.is-paused *, .bento.is-paused *::before, .bento.is-paused *::after { animation-play-state: paused !important; }

/* Mass notification: sound waves leaving the megaphone */
.tfx--sound i { left: 48px; top: 48px; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 2px solid transparent; border-right-color: var(--fx-hot); transform: scale(calc(1.3 + var(--n) * 1.1)); opacity: calc(0.75 - var(--n) * 0.16); animation: sound 2.6s cubic-bezier(0.25, 0.6, 0.35, 1) infinite; animation-delay: calc(var(--n) * -0.65s); }
.tfx--sound i:nth-of-type(1) { --n: 0; } .tfx--sound i:nth-of-type(2) { --n: 1; } .tfx--sound i:nth-of-type(3) { --n: 2; } .tfx--sound i:nth-of-type(4) { --n: 3; }
@keyframes sound { from { transform: scale(1); opacity: 0; } 8% { opacity: 0.95; } to { transform: scale(5.4); opacity: 0; } }

/* Fire suppression: a clean agent discharge from a ceiling nozzle */
.tfx--agent { --cx: 60%; --fx-mist: rgba(255, 255, 255, 0.24); -webkit-mask: linear-gradient(to bottom, #000 45px, transparent 100px); mask: linear-gradient(to bottom, #000 45px, transparent 100px); }
:root[data-mode="light"] .tfx--agent { --fx-mist: rgba(65, 68, 78, 0.24); }
:root[data-mode="light"] .tfx--agent i { background: linear-gradient(to bottom, transparent, var(--fx-white) 70%, #5b5f6b); }
.tfx--agent b { left: var(--cx); top: -60px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%; background: radial-gradient(closest-side, var(--fx-mist), transparent); transform: translateY(40px) scale(1); opacity: 0.7; animation: flood 5s ease-out infinite; }
.tfx--agent b:nth-of-type(2) { animation-delay: -2.5s; transform: translateY(70px) scale(1.5); opacity: 0.4; }
@keyframes flood { from { transform: translateY(0) scale(0.2); opacity: 0; } 18% { opacity: 1; } to { transform: translateY(95px) scale(1.9); opacity: 0; } }
.tfx--agent i { top: 6px; left: var(--x); width: 3px; height: 16px; border-radius: 3px; background: linear-gradient(to bottom, transparent, var(--fx-white) 70%, #fff); transform: translateY(calc(var(--n) * 17px + 20px)); opacity: 0.6; animation: rain var(--t, 1.5s) linear infinite; animation-delay: calc(var(--n) * -0.37s); }
.tfx--agent i:nth-of-type(1) { --x: 40%; --n: 0; --t: 1.6s; } .tfx--agent i:nth-of-type(2) { --x: 50%; --n: 3; --t: 1.4s; }
.tfx--agent i:nth-of-type(3) { --x: 58%; --n: 1; --t: 1.7s; } .tfx--agent i:nth-of-type(4) { --x: 66%; --n: 4; --t: 1.5s; }
.tfx--agent i:nth-of-type(5) { --x: 74%; --n: 2; --t: 1.3s; } .tfx--agent i:nth-of-type(6) { --x: 83%; --n: 5; --t: 1.6s; }
.tfx--agent i:nth-of-type(7) { --x: 54%; --n: 6; --t: 1.8s; } .tfx--agent i:nth-of-type(8) { --x: 70%; --n: 7; --t: 1.45s; }
@keyframes rain { from { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 0.8; } to { transform: translateY(165px); opacity: 0; } }

/* Fire pumps: the pressure needle climbs, holds just under the red zone, and drops */
.tfx--gauge { --cx: 56%; }
.tfx__dial { left: var(--cx); top: 30px; width: 124px; height: 62px; margin-left: -62px; overflow: hidden; border-radius: 62px 62px 0 0; background: radial-gradient(circle at 50% 100%, transparent 59px, var(--fx-line) 60px 61.5px, transparent 62px); }
.tfx__dial::before, .tfx__dial::after { content: ""; position: absolute; left: 0; top: 0; width: 124px; height: 124px; border-radius: 50%; }
.tfx__dial::before { background: repeating-conic-gradient(from -91deg, var(--fx-line) 0 2deg, transparent 2deg 15deg); -webkit-mask: radial-gradient(closest-side, transparent 76%, #000 77% 92%, transparent 93%); mask: radial-gradient(closest-side, transparent 76%, #000 77% 92%, transparent 93%); }
.tfx__dial::after { background: conic-gradient(from 46deg, var(--fx-red) 0 44deg, transparent 0); opacity: 0.85; -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 87% 96%, transparent 97%); mask: radial-gradient(closest-side, transparent 86%, #000 87% 96%, transparent 97%); }
.tfx__needle { left: var(--cx); top: 42px; width: 3px; height: 50px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(to top, var(--fx-white), var(--fx-hot)); transform-origin: 50% 100%; transform: rotate(34deg); animation: needle 5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.tfx__hub { left: var(--cx); top: 86px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--fx-hot); box-shadow: 0 0 12px var(--fx-warm); }
@keyframes needle {
  0% { transform: rotate(-84deg); } 28% { transform: rotate(46deg); } 34% { transform: rotate(32deg); } 42% { transform: rotate(40deg); }
  50% { transform: rotate(34deg); } 58% { transform: rotate(38deg); } 70% { transform: rotate(35deg); } 86%, 100% { transform: rotate(-84deg); }
}

/* Kitchen: the hood nozzle sprays wet chemical until the cooktop flame is out */
.tfx--kitchen { --cx: 56%; }
.tfx--kitchen .tfx__spray { left: var(--cx); top: 11px; width: 84px; height: 62px; margin-left: -42px; clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); background: repeating-linear-gradient(to bottom, var(--fx-white) 0 2px, transparent 2px 7px); -webkit-mask: linear-gradient(to bottom, #000, transparent); mask: linear-gradient(to bottom, #000, transparent); opacity: 0.6; animation: spray 5s ease-in-out infinite, spray-flow 0.45s linear infinite; }
@keyframes spray { 0%, 30% { opacity: 0; } 36%, 70% { opacity: 0.95; } 78%, 100% { opacity: 0; } }
@keyframes spray-flow { from { background-position: 0 0; } to { background-position: 0 7px; } }
.tfx--kitchen .tfx__flame { left: var(--cx); top: 50px; width: 40px; height: 44px; margin-left: -20px; transform-origin: 50% 100%; transform: scale(0.7); animation: flame-out 5s ease-in-out infinite; }
.tfx__flame::before { content: ""; position: absolute; left: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50% 0 50% 50%; background: radial-gradient(circle at 35% 65%, #fff3b0 0 14%, #fdb813 36%, #ff7a1a 62%, #e2231a 92%); transform: rotate(-45deg); box-shadow: 0 0 18px rgba(255, 122, 26, 0.7); animation: flicker 0.18s ease-in-out infinite alternate; }
.tfx--kitchen .tfx__cooktop { left: var(--cx); top: 94px; width: 64px; height: 3px; margin-left: -32px; border-radius: 3px; background: var(--fx-line); }
@keyframes flicker { from { transform: rotate(-45deg) scale(1); } to { transform: rotate(-41deg) scale(1.08, 0.93); } }
@keyframes flame-out { 0%, 36% { transform: scale(1); opacity: 1; } 62%, 82% { transform: scale(0.12); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Fire extinguishers: a dry chemical burst from the nozzle */
.tfx--burst i { left: 70px; top: 36px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: radial-gradient(circle, var(--fx-white) 0 35%, transparent 70%); transform: translate(calc(var(--dx) * 0.55), calc(var(--dy) * 0.55)) scale(2.4); opacity: 0.35; animation: burst 1.9s cubic-bezier(0.15, 0.7, 0.3, 1) infinite; animation-delay: calc(var(--n) * -0.19s); }
.tfx--burst i:nth-of-type(1) { --dx: 190px; --dy: 10px; --n: 0; } .tfx--burst i:nth-of-type(2) { --dx: 170px; --dy: 46px; --n: 5; }
.tfx--burst i:nth-of-type(3) { --dx: 215px; --dy: 28px; --n: 2; } .tfx--burst i:nth-of-type(4) { --dx: 150px; --dy: -8px; --n: 7; }
.tfx--burst i:nth-of-type(5) { --dx: 230px; --dy: 62px; --n: 4; } .tfx--burst i:nth-of-type(6) { --dx: 180px; --dy: 78px; --n: 9; }
.tfx--burst i:nth-of-type(7) { --dx: 205px; --dy: -2px; --n: 1; } .tfx--burst i:nth-of-type(8) { --dx: 160px; --dy: 30px; --n: 6; }
.tfx--burst i:nth-of-type(9) { --dx: 240px; --dy: 40px; --n: 3; } .tfx--burst i:nth-of-type(10) { --dx: 195px; --dy: 56px; --n: 8; }
@keyframes burst { from { transform: translate(0, 0) scale(0.4); opacity: 0; } 10% { opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(4.6); opacity: 0; } }
.tfx--burst b { left: 70px; top: 22px; width: 230px; height: 90px; transform-origin: 0 50%; transform: rotate(9deg); clip-path: polygon(0 44%, 0 56%, 100% 100%, 100% 0); background: linear-gradient(to right, var(--fx-mist), transparent 85%); opacity: 0.45; animation: jet-pulse 0.9s ease-in-out infinite alternate; }
@keyframes jet-pulse { from { opacity: 0.25; } to { opacity: 0.65; } }

/* Fire hoses: a pressurised stream arcing across the tile */
.tfx--hose svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tfx__jet { fill: none; stroke: var(--fx-white); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 5 3; animation: jet 0.7s linear infinite; }
.tfx__jet--b { stroke-width: 1.5; stroke-dasharray: 2 4; opacity: 0.6; animation-duration: 0.55s; }
.tfx__jet--c { stroke-width: 1.2; stroke-dasharray: 1.5 5; opacity: 0.45; animation-duration: 0.85s; }
@keyframes jet { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -8; } }
.tfx--hose b { left: 95%; top: 54%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: radial-gradient(closest-side, var(--fx-mist), transparent); transform: scale(1); opacity: 0.6; animation: splash 1.4s ease-out infinite; }
.tfx--hose b:nth-of-type(2) { animation-delay: -0.7s; }
@keyframes splash { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

/* Gas detection: a sensor sweep around the corner button, gas drifting through, detections blinking */
.tfx--scan { --r: 120px; --ox: 39px; --oy: 39px; }
.tfx__radar, .tfx__sweep { right: calc(var(--ox) - var(--r)); top: calc(var(--oy) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; }
.tfx__radar { background: repeating-radial-gradient(circle, transparent 0 39px, var(--fx-line) 39px 40.5px); -webkit-mask: radial-gradient(closest-side, #000 62%, transparent); mask: radial-gradient(closest-side, #000 62%, transparent); }
.tfx__sweep { background: conic-gradient(from 0deg, transparent 0 280deg, color-mix(in srgb, var(--fx-hot) 42%, transparent) 360deg); -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); transform: rotate(240deg); animation: sweep 3.6s linear infinite; }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.tfx--scan i { right: calc(var(--ox) - var(--x)); top: calc(var(--oy) + var(--y)); width: 8px; height: 8px; margin: -4px -4px 0 0; border-radius: 50%; background: var(--fx-hot); box-shadow: 0 0 10px 2px var(--fx-warm); opacity: 0; animation: blip 3.6s linear infinite; animation-delay: var(--d); }
.tfx--scan i:nth-of-type(1) { --x: -20px; --y: 56px; --d: 2s; } .tfx--scan i:nth-of-type(2) { --x: -72px; --y: 50px; --d: 2.35s; } .tfx--scan i:nth-of-type(3) { --x: -65px; --y: 14px; --d: 2.58s; }
@keyframes blip { 0% { opacity: 1; transform: scale(1.6); } 30% { opacity: 0.55; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(1); } }
.tfx--scan b { left: 0; top: 58px; width: 140px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-hot) 24%, transparent), transparent); filter: blur(4px); transform: translateX(40px); opacity: 0.7; animation: gas 8s linear infinite; }
.tfx--scan b:nth-of-type(2) { top: 80px; width: 110px; transform: translateX(150px); animation-duration: 10.5s; animation-delay: -5s; }
@keyframes gas { from { transform: translateX(-160px) scaleY(0.7); opacity: 0; } 20%, 80% { opacity: 1; } to { transform: translateX(380px) scaleY(1.25); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tfx--scan i { opacity: 0.85; }
}
@media (min-width: 640px) { .tfx--agent { -webkit-mask: linear-gradient(to bottom, #000 90px, transparent 150px); mask: linear-gradient(to bottom, #000 90px, transparent 150px); } }

/* Language switch inside the glass header */
.tools .lang { margin-right: 4px; border-color: var(--hair); }
.tools .lang__opt { color: var(--grey-800); height: 30px; }
:root:not([data-mode="light"]) .tools .lang__opt:not([aria-current]) { color: rgba(255, 255, 255, 0.72); }
.tools a.lang__opt:hover { background: var(--red-50); color: var(--red-600); }
.tools .lang__opt[aria-current] { background: linear-gradient(135deg, #ff7a1a, #e2231a); color: #fff; }
.lang-hint { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--color-heading); border: 1px solid var(--glass-border); }
@media (min-width: 900px) { .lang-hint { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
/* Phones: the switch shows only the other language, as one button. */
@media (max-width: 519px) {
  .tools .lang { padding: 2px; margin-right: 0; }
  .tools .lang__opt[aria-current] { display: none; }
  .tools .lang__opt { min-width: 34px; height: 32px; padding: 0 6px; }
}

/* Gradient-filled display type: the gradient only paints inside the box, so give accents (MÁS, COMPAÑÍA) room above it. */
.flame, .statement span.is-fill { padding-top: 0.18em; }
.hero h1 .hx__w--flame, .claim .display, .about-claim { padding-top: 0.18em; margin-top: -0.18em; }
