/* Clema site design system + homepage, 2026-10 redesign.
   Dark, instrument-panel look: mono labels, oversized grotesk, contour globe.
   Self-contained: the homepage no longer loads styles.min.css. */

:root {
  --void:   #060607;
  --bg:     #0B0B0D;
  --panel:  #121215;
  --panel-2:#18181C;
  --fg:     #ECEDEF;
  --fg-2:   rgba(236,237,239,0.62);
  --fg-3:   rgba(236,237,239,0.36);
  --fg-4:   rgba(236,237,239,0.16);
  --line:   rgba(236,237,239,0.09);
  --line-2: rgba(236,237,239,0.18);
  --bone:   #E9E7E1;
  --bone-2: #DEDBD3;
  --ink:    #0B0B0D;
  --ink-2:  rgba(11,11,13,0.62);
  --ink-3:  rgba(11,11,13,0.34);
  --ember:  #F25C1C;
  --ember-l:#FF8A3D;
  --ice:    #5BA8FF;
  --f-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--ember); color: #fff; }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dim { color: var(--fg-3); }
.ember { color: var(--ember); }
.ice { color: var(--ice); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Faint vertical rules down the page, like a drafting sheet */
.rules {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  max-width: var(--max); margin: 0 auto;
}
.rules::before, .rules::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.rules::before { left: var(--gutter); }
.rules::after  { right: var(--gutter); }

/* ── NAV: pill chips, Isembard style ─────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,8,10,0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 11px;
  border-radius: 4px;
  background: rgba(22,22,26,0.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(236,237,239,0.06);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.chip:hover { background: rgba(48,48,54,0.9); }
.chip img { width: 16px; height: 16px; }
.chip-ember { background: var(--ember); border-color: var(--ember); color: #fff; }
.chip-ember:hover { background: var(--ember-l); }
.chip-solid { background: var(--fg); border: 1px solid var(--fg); color: var(--ink); }
.nav-links { display: flex; gap: 6px; }
.nav-right { display: flex; gap: 6px; align-items: center; }
.chip-icon { width: 30px; padding: 0; justify-content: center; font-size: 16px; }
.chip-icon span { transition: transform .4s var(--ease); display: inline-block; }
.menu-open .chip-icon span { transform: rotate(45deg); }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(6,6,7,0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-list { max-width: var(--max); width: 100%; margin: 0 auto; }
.menu-list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(30px, 6vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--fg-3);
  transform: translateY(16px); opacity: 0;
  transition: color .25s, transform .6s var(--ease), opacity .6s var(--ease);
}
.menu-list a .mono { color: var(--fg-3); min-width: 32px; }
.menu-list a:hover { color: var(--fg); }
.menu-open .menu-list a { transform: none; opacity: 1; }
.menu-open .menu-list a:nth-child(2) { transition-delay: .03s; }
.menu-open .menu-list a:nth-child(3) { transition-delay: .06s; }
.menu-open .menu-list a:nth-child(4) { transition-delay: .09s; }
.menu-open .menu-list a:nth-child(5) { transition-delay: .12s; }
.menu-open .menu-list a:nth-child(6) { transition-delay: .15s; }
.menu-open .menu-list a:nth-child(7) { transition-delay: .18s; }
.menu-open .menu-list a:nth-child(8) { transition-delay: .21s; }
.menu-foot { max-width: var(--max); width: 100%; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--fg-3); }
.menu-foot a:hover { color: var(--fg); }

/* ── Scroll rail ─────────────────────────────────────────── */
.rail {
  position: fixed; left: 7px; top: 50%; z-index: 60;
  width: 2px; height: 180px; transform: translateY(-50%);
  background: var(--line);
}
.rail i {
  position: absolute; left: 0; top: 0; width: 2px; height: 48px; background: var(--fg);
  will-change: transform;
}
/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border-radius: 4px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { border-color: var(--fg); }
.btn-solid { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.btn-solid:hover { background: #fff; }
.btn-ember { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn-ember:hover { background: var(--ember-l); border-color: var(--ember-l); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color .25s;
}
.link:hover { border-color: currentColor; }

/* ── Section scaffolding ─────────────────────────────────── */
.sec { position: relative; z-index: 1; scroll-margin-top: var(--nav-h); }
.sec-head {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0; color: var(--fg-3);
}
.sec-head b { color: var(--fg); font-weight: 500; }
.h-xl {
  font-size: clamp(44px, 8.4vw, 140px);
  font-weight: 500; letter-spacing: -0.055em; line-height: 0.9;
}
.h-lg {
  font-size: clamp(36px, 5.4vw, 84px);
  font-weight: 500; letter-spacing: -0.045em; line-height: 0.95;
}
.h-md {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.04;
}
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--fg-2); max-width: 46ch; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; z-index: 1;
  background: #1a1d22;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#glowCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* felt-temperature readings on the workers the cool zone reaches: ember in the heat, ice inside it */
.htags { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.htag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.htag.on { opacity: 1; }
.htag i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #FF8A3D; box-shadow: 0 0 10px rgba(242,92,28,0.9); transition: background .4s, box-shadow .4s; }
.htag i::after { content: ""; position: absolute; left: 2.5px; bottom: 6px; width: 1px; height: 22px; background: linear-gradient(0deg, rgba(255,138,61,0.9), rgba(255,138,61,0.2)); transition: background .4s; }
.htag span { position: absolute; left: -2px; bottom: 30px; transform: translateX(-50%); white-space: nowrap; padding: 3px 6px; border-radius: 3px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: #FFC9A8; text-shadow: 0 1px 6px rgba(0,0,0,0.8); transition: color .4s; }
.htag.cool i { background: #8CC4FF; box-shadow: 0 0 12px rgba(91,168,255,0.95); }
.htag.cool i::after { background: linear-gradient(0deg, rgba(140,196,255,0.95), rgba(140,196,255,0.2)); }
.htag.cool span { color: #DCEEFF; }
.hero-media .fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.8);
}
.hero-media.is-live .fallback { opacity: 0; transition: opacity 1.2s; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.1) 60%),
    linear-gradient(180deg, rgba(6,6,7,0.25) 0%, rgba(6,6,7,0) 40%, rgba(6,6,7,0.7) 88%, var(--bg) 100%);
}
.hero-body {
  position: relative; z-index: 2; pointer-events: none;
  flex: 1; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero-grid { width: 100%; }
.hero-tag { display: flex; gap: 14px; margin-bottom: 26px; color: var(--fg-2); }
.hero h1 {
  font-size: clamp(38px, 4.9vw, 88px);
  font-weight: 500; letter-spacing: -0.045em; line-height: 0.9;
  color: #F2F3F5; text-transform: uppercase;
}
.hero h1 .soft { color: rgba(242,243,245,0.42); display: block; }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(242,243,245,0.78); max-width: 40ch; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-body a { pointer-events: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Hero footer: scroll cue + location */
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; color: rgba(242,243,245,0.55); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 34px; background: rgba(255,255,255,0.18); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ── Intro: the page cools before it opens ───────────────── */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--void);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
  animation: introOut .6s 2.4s forwards;   /* safety net if JS never runs */
}
.intro.done { opacity: 0; visibility: hidden; }
.intro.skip { display: none; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro-inner { display: grid; justify-items: center; gap: 18px; color: var(--fg-3); }
.intro-temp { font-size: clamp(56px, 8vw, 104px); font-weight: 400; letter-spacing: -0.06em; line-height: 1; color: var(--ember); font-variant-numeric: tabular-nums; transition: color .2s linear; }
.intro-line { width: 180px; height: 1px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.intro-line i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* ── 02 ClemaCore: one screen ───────────────────────────── */
.core { position: relative; z-index: 1; background: var(--void); padding: clamp(110px, 12vw, 170px) 0 0; }
/* the line under the vest: centred across the whole section, straight after the image on phones */
.core-thesis { grid-column: 1 / -1; margin: clamp(8px, 2vw, 28px) auto 0; max-width: 20ch; text-align: center; text-wrap: balance;
  font-size: clamp(30px, 3.8vw, 60px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.core-head .aeo-q { color: var(--fg-3); }
.core-head .aeo-a { margin-top: 16px; font-size: clamp(34px, 4.6vw, 72px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.96; max-width: 17ch; }
.core-body { margin-top: 22px; color: var(--fg-2); max-width: 54ch; }
.core-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); margin: clamp(40px, 5vw, 70px) 0; }
.core-col { display: grid; gap: clamp(36px, 5vw, 70px); }
.core-col:last-child { text-align: right; }
.core-col:last-child .benefit p:not(.benefit-n) { margin-left: auto; }
.core-stage { position: relative; height: min(68vh, 640px); }
.core-stage::before { content: ""; position: absolute; inset: 20% 10%; background: radial-gradient(50% 50% at 50% 50%, rgba(30,95,232,0.14), transparent 70%); filter: blur(30px); }
.benefit-n { font-size: clamp(48px, 5vw, 84px); font-weight: 400; letter-spacing: -0.065em; line-height: 0.85; margin-bottom: 14px; }
.benefit-n small { font-size: 0.32em; letter-spacing: 0; color: var(--fg-2); margin-left: 5px; font-family: var(--f-mono); text-transform: uppercase; }
.benefit p:not(.benefit-n) { color: var(--fg-2); font-size: 15.5px; max-width: 30ch; }
.core-more { display: flex; justify-content: flex-end; padding: 22px 0 clamp(90px, 10vw, 140px); }

/* ── 03 The cost of heat: one screen ────────────────────── */
.cost { padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 10vw, 140px); border-top: 1px solid var(--line); }
.cost .h-lg { max-width: 15ch; }
.cost-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(50px, 6vw, 90px); border-top: 1px solid var(--line); }
.cost-item { padding: 30px 28px 0; border-left: 1px solid var(--line); }
.cost-item:first-child { border-left: 0; padding-left: 0; }
.cost-n { font-size: clamp(56px, 7.4vw, 128px); font-weight: 400; letter-spacing: -0.07em; line-height: 0.82; color: #F1F2F4; font-variant-numeric: tabular-nums; }
.cost-l { margin-top: 18px; color: var(--fg-2); max-width: 28ch; }
.cost-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(50px, 6vw, 80px); }
.cost-src { color: var(--fg-3); font-size: 13px; max-width: 46ch; }
.cost-src a { border-bottom: 1px solid var(--line-2); }
.cost-src a:hover { color: var(--fg); }

/* ── 05 The law: globe + table (Isembard) ─────────────── */
.rules-head { padding-top: clamp(110px, 13vw, 190px); display: grid; gap: 22px; }
.rules-lede { color: var(--fg-2); max-width: 62ch; font-size: clamp(16px, 1.25vw, 19px); }
.globe-sec { background: var(--void); position: relative; z-index: 1; padding-bottom: clamp(70px, 9vw, 120px); }
.globe-wrap { position: relative; height: clamp(420px, 54vw, 700px); margin-top: 10px; }
.globe-wrap canvas { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-hint { position: absolute; right: 0; bottom: 8px; color: var(--fg-3); pointer-events: none; }
.globe-hemi { position: absolute; right: 0; top: 0; z-index: 2; display: flex; gap: 6px; }
.globe-hemi .chip { cursor: pointer; }
.globe-hemi button.chip[aria-pressed="true"], .globe-hemi button.chip[aria-pressed="true"]:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.globe-key { position: absolute; left: 0; bottom: 8px; display: grid; gap: 6px; color: var(--fg-3); pointer-events: none; }
.globe-key span { display: inline-flex; align-items: center; gap: 8px; }
.globe-key i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.k-law { background: #fff; }
.k-pre { border: 1px solid #fff; }
.k-hq { background: var(--ember); transform: rotate(45deg); border-radius: 0 !important; width: 7px !important; height: 7px !important; }

.ledger { margin-top: 20px; }
.ledger-group { margin-top: 0; }
.ledger-group .ledger-head { padding-top: 16px; padding-bottom: 16px; }
.ledger-head { display: flex; justify-content: space-between; color: var(--fg-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) 150px;
  gap: 16px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2);
  transition: background .25s, color .25s, padding .35s var(--ease);
}
.ledger-row .st { color: var(--fg); }
.ledger-row .status { text-align: right; color: var(--fg-3); }
.ledger-row .status.law { color: var(--fg); }
.ledger-row:hover { color: var(--fg); background: rgba(236,237,239,0.03); padding-left: 10px; padding-right: 10px; }
.ledger-row:hover .status { color: var(--ember); }
.ledger-foot { display: flex; justify-content: flex-end; margin-top: 30px; }
.ledger-more summary, .ledger-all > summary { list-style: none; cursor: pointer; align-items: center; transition: color .25s; }
.ledger-all > summary::-webkit-details-marker, .ledger-more summary::-webkit-details-marker { display: none; }
.ledger-all > summary:hover, .ledger-more summary:hover { color: var(--fg); }
.ledger-all .more, .ledger-more .more { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.ledger-all .more i, .ledger-more .more i {
  width: 24px; height: 24px; display: inline-grid; place-items: center; font-style: normal; border-radius: 6px;
  background: var(--glass-fill), rgba(16,16,19,0.38); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi);
  transition: transform .4s var(--ease);
}
.ledger-all[open] > summary .more i, .ledger-more[open] .more i { transform: rotate(45deg); }
.ledger-all .more-close, .ledger-all[open] > summary .more-open, .ledger-more .more-close, .ledger-more[open] .more-open { display: none; }
.ledger-all[open] > summary .more-close, .ledger-more[open] .more-close { display: inline; }
.ledger-all:not([open]) > summary .more-close { display: none; }
.ledger-all > summary { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger-more[open] .ledger-row { animation: rowIn .5s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── INDUSTRIES (hover-preview list) ─────────────────────── */
/* ── Industries landscape: one line drawing, nine linked scenes ── */
.lx { position: relative; --px: 0; --py: 0; padding-top: 128px; }
.lx-scroll { position: relative; }
.lx-art { display: block; width: 100%; height: auto; overflow: visible; }
.lx-art .lx-g, .lx-art .lx-far, .lx-art .lx-sky { fill: none; stroke: rgba(236,237,239,0.62); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lx-ground { fill: none; stroke: url(#lxGround); stroke-width: 1.4; }
.lx-ridge { stroke: rgba(236,237,239,0.14); }
.lx-sun { stroke: rgba(242,92,28,0.85); stroke-width: 1.6; }
.lx-heat { fill: none; stroke: rgba(242,92,28,0.35); stroke-width: 1.2; animation: lx-heat 4s linear infinite; }
.lx-hit { fill: transparent; stroke: none; pointer-events: all; }
.lx-g { cursor: pointer; transition: opacity .4s var(--ease); outline: none; }
.lx-g > *, .lx-g use { transition: stroke .35s var(--ease); }
.lx-halo { fill: url(#lxHalo); stroke: rgba(91,168,255,0.7); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4);
  transition: opacity .4s var(--ease), transform .5s var(--ease); }
.lx-pulse { fill: #BFE2FF; stroke: none; filter: drop-shadow(0 0 4px #5BA8FF); }
.lx-smoke { stroke: rgba(236,237,239,0.35); stroke-dasharray: .14 .1; animation: lx-smoke 2.8s linear infinite; }
.lx-pipe { fill: none; stroke: rgba(242,92,28,0.45); stroke-width: 1.4; stroke-dasharray: 3 5; }
.lx-oil { fill: #FF8A3D; stroke: none; filter: drop-shadow(0 0 3px #F25C1C); }
.lx-plan { fill: none; stroke: rgba(191,226,255,0.55); stroke-width: 1.4; stroke-dasharray: 7 8; animation: lx-plan 2.4s linear infinite; }
.lx-lane { fill: none; stroke: rgba(236,237,239,0.18); stroke-width: 1.2; stroke-dasharray: 14 12; }
/* the truck waits at the factory and drives to the warehouse when Logistics is in focus */
.lx-truck { transition: transform 2.6s cubic-bezier(.45, 0, .2, 1); }
.lx-g.on .lx-truck { transform: translateX(196px); }
@keyframes lx-plan { to { stroke-dashoffset: -30; } }
.lx-furnace { stroke: rgba(242,92,28,0.8); fill: rgba(242,92,28,0.12); }
.lx-flare { fill: rgba(242,92,28,0.55); stroke: rgba(255,138,61,0.9); transform-box: fill-box; transform-origin: 50% 100%; animation: lx-flare 1.6s ease-in-out infinite; }
.lx-beam { transform-box: view-box; transform-origin: 1600px 352px; animation: lx-rock 3.4s ease-in-out infinite; }
.lx-flag { transform-box: fill-box; transform-origin: 0 50%; animation: lx-flag 3s ease-in-out infinite; }
@keyframes lx-heat { to { transform: translateX(-60px); } }
@keyframes lx-smoke { to { stroke-dashoffset: -.48; } }
@keyframes lx-flare { 50% { transform: scaleY(1.25) scaleX(.85); } }
@keyframes lx-rock { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes lx-flag { 50% { transform: skewY(4deg) scaleX(.94); } }
/* draw-in: every stroke traces itself once the section comes into view */
.lx-g [pathLength], .lx-g use, .lx-far [pathLength], .lx-sun { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) var(--d, 0s), stroke .35s var(--ease); }
.lx-g .lx-flare, .lx-g .lx-smoke, .lx-g .lx-pulse, .lx-pipe, .lx-oil, .lx-plan, .lx-lane { opacity: 0; transition: opacity .8s var(--ease) calc(var(--d, 0s) + 1.2s); }
.lx.in .lx-g [pathLength], .lx.in .lx-g use, .lx.in .lx-far [pathLength], .lx.in .lx-sun { stroke-dashoffset: 0; }
.lx.in .lx-g .lx-flare, .lx.in .lx-g .lx-smoke, .lx.in .lx-g .lx-pulse, .lx.in .lx-pipe, .lx.in .lx-oil, .lx.in .lx-plan, .lx.in .lx-lane { opacity: 1; }
/* depth: the far ridge and sun drift against the cursor */
.lx-far { transform: translate(calc(var(--px) * -10px), calc(var(--py) * -4px)); transition: transform .6s var(--ease); }
.lx-sky { transform: translate(calc(var(--px) * -22px), calc(var(--py) * -8px)); transition: transform .6s var(--ease); }
.lx-scenes { transform: translate(calc(var(--px) * 6px), 0); transition: transform .6s var(--ease); }
/* focus one scene: it lights up, the worker gets a cool halo, the rest recede */
.lx[data-on] .lx-g { opacity: .22; }
.lx[data-on] .lx-g.rel { opacity: .62; }
.lx[data-on] .lx-g.on { opacity: 1; }
.lx-g.on > [pathLength], .lx-g.on use { stroke: #fff; }
.lx-g.on { filter: drop-shadow(0 0 6px rgba(191,226,255,0.45)); }
.lx-g.on .lx-halo { opacity: 1; transform: scale(1); animation: lx-breathe 2.4s ease-in-out infinite; }
@keyframes lx-breathe { 50% { transform: scale(1.12); } }
.lx-card { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 6px; width: 152px;
  padding: 5px 5px 7px; border-radius: 6px; background: rgba(10,16,30,0.78); border: 1px solid rgba(191,226,255,0.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lx-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: #0d1422; }
.lx-card b { padding: 0 3px; font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }
.lx-card b::after { content: " \2192"; color: #BFE2FF; }
.lx-card.on { opacity: 1; transform: none; }
.lx-lead { position: absolute; left: 0; top: 0; height: 1px; width: 0; z-index: 2; pointer-events: none; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(191,226,255,0.85), rgba(191,226,255,0.25)); opacity: 0; transition: opacity .3s var(--ease); }
.lx-lead.on { opacity: 1; }
.lx-hint { position: absolute; right: 0; top: 96px; transition: opacity .3s; }
.lx[data-on] .lx-hint { opacity: 0; }
.lx-hint { color: var(--fg-3); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
/* the industries, named quietly above the drawing; on phones the same list becomes a grid of photo tiles */
.lx-keys { list-style: none; margin: 0 0 -96px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; position: relative; z-index: 2; }
.lx-keys li { display: inline-flex; align-items: center; }
.lx-keys li + li::before { content: "\00b7"; margin: 0 10px; color: rgba(236,237,239,0.28); }
.lx-keys a { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); transition: color .25s; }
.lx-keys a:hover, .lx-keys a.on, .lx-keys a:focus-visible { color: var(--fg); }
.lx-keys img { display: none; }
@media (max-width: 760px) {
  .lx { display: none; }
  .lx-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
  .lx-keys li { display: block; }
  .lx-keys li + li::before { content: none; }
  .lx-keys a { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #0d1422; border: 1px solid rgba(236,237,239,0.08); color: var(--fg); }
  .lx-keys img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
  .lx-keys a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,0) 38%, rgba(5,6,8,0.86)); }
  .lx-keys span { position: absolute; left: 9px; right: 6px; bottom: 8px; z-index: 1; font-size: 10px; letter-spacing: .07em; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-heat, .lx-smoke, .lx-flare, .lx-beam, .lx-flag, .lx-g.on .lx-halo, .lx-plan { animation: none; }
  .lx-truck { transition-duration: .01s; }
  .lx-oil { display: none; }
  .lx-pulse { display: none; }
}
.ind { padding: clamp(60px, 7vw, 100px) 0; border-top: 1px solid transparent; border-image: var(--thermal) 1; position: relative; }
.ind .h-lg { max-width: 17ch; }
.ind .h-lg { margin-bottom: clamp(36px, 5vw, 70px); }

/* ── FINAL CTA + newsletter ─────────────────────────────── */
.final::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: min(1300px, 160vw); aspect-ratio: 1.6; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--bloom, 242,92,28), 0.30), rgba(var(--bloom, 242,92,28), 0.07) 55%, transparent 75%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.final > .wrap { position: relative; z-index: 1; }
.final { padding: clamp(100px, 13vw, 200px) 0 clamp(70px, 8vw, 110px); border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.final .h-xl { max-width: 13ch; margin: 0 auto; }
.final .final-head { max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.final-sub { margin: 24px auto 0; max-width: 34ch; color: var(--fg-2); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.01em; text-wrap: balance; }
/* (industries row removed) */
.final-ind { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; margin: clamp(56px, 7vw, 90px) auto 0; max-width: 820px; }
.final-ind .mono { color: var(--fg-3); width: 100%; margin-bottom: 8px; }
.final-ind a { color: var(--fg-2); font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -0.01em; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.final-ind a:hover { color: var(--fg); border-color: var(--ice); }
.final-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.newsletter-quiet { max-width: 460px; margin: clamp(60px, 7vw, 96px) auto 0; padding: 6px; border-radius: 10px; }
.final-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.final-note { margin-top: 18px; color: var(--fg-3); font-size: 14px; }
.final-note a { color: var(--fg); border-bottom: 1px solid var(--line-2); }
.signup {
  margin: clamp(60px, 8vw, 110px) auto 0; max-width: 620px;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; text-align: left;
  padding: 14px; border: 1px solid var(--line-2); border-radius: 6px;
}
.signup .mono { color: var(--fg-3); padding-left: 6px; }
.newsletter { display: flex; gap: 6px; }
.newsletter input {
  flex: 1; min-width: 0; height: 42px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--fg);
  font-family: var(--f-mono); font-size: 13px;
}
.newsletter input::placeholder { color: var(--fg-3); }
.newsletter input:focus { outline: none; border-color: var(--fg-2); }
.newsletter button {
  height: 42px; padding: 0 16px; border-radius: 4px; background: var(--fg); color: var(--ink);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}
.newsletter button:hover { background: #fff; }
.newsletter-done { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); padding: 12px 6px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: 56px; overflow: hidden; background: var(--void); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--fg-2); font-size: 15px; margin-top: 14px; }
.foot-col h3 { margin-bottom: 14px; color: var(--fg-3); font-weight: 500; }
.foot-col li { margin: 7px 0; font-size: 14.5px; color: var(--fg-2); line-height: 1.35; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--fg-3); }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom a:hover { color: var(--fg); }
.foot-mark {
  font-size: clamp(110px, 31vw, 520px); font-weight: 500; letter-spacing: -0.075em; line-height: 0.72;
  text-transform: uppercase; text-align: center; margin: 30px 0 -0.08em;
  color: rgba(236,237,239,0.07);
  user-select: none;
}

/* Mobile sticky CTA */
.mbar { display: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  :root { --nav-h: 56px; }
  body { font-size: 16px; }
  .rail { display: none; }
  .hero-body { padding-top: calc(var(--nav-h) + 28px); }
  .hero-foot span:last-child { display: none; }
  .core-grid { grid-template-columns: 1fr; }
  .core-col:last-child { text-align: left; }
  .core-col:last-child .benefit p { margin-left: 0; }
  .core-stage { height: 64vh; order: -1; }
  .core-thesis { order: -1; margin: -6px auto 22px; }
  .cost-row { grid-template-columns: 1fr; }
  .cost-item { border-left: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .ledger-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .ledger-row .trig { grid-column: 1; grid-row: 2; color: var(--fg-3); }
  .ledger-row .status { grid-column: 2; grid-row: 1 / span 2; }

  .signup { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .globe-wrap { margin-bottom: 120px; }
  .globe-key { bottom: -112px; }
  .globe-hint { bottom: -112px; }
  .mbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mbar.on { transform: none; }
  .mbar .btn { flex: 1; justify-content: center; height: 44px; padding: 0 10px; white-space: nowrap; font-size: 11px; }
  .foot { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}

/* ── Glass material ──────────────────────────────────────────
   Frosted panes for anything that sits over imagery or light.
   One recipe, used everywhere, so the surfaces read as a set. */
:root {
  --glass-fill: linear-gradient(180deg, rgba(255,255,255,0.085) 0%, rgba(255,255,255,0.025) 100%);
  --glass-line: rgba(255,255,255,0.13);
  --glass-hi: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(255,255,255,0.03);
  --glass-blur: blur(22px) saturate(160%);
  --glass-drop: 0 18px 50px -20px rgba(0,0,0,0.7);
  --cobalt: #1E5FE8;
}
.chip:not(.chip-ember):not(.chip-solid),
.btn:not(.btn-solid):not(.btn-ember),
.signup, .mbar, .newsletter-quiet {
  background: var(--glass-fill), rgba(16,16,19,0.38);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi), var(--glass-drop);
}
.chip:not(.chip-ember):not(.chip-solid):hover,
.btn:not(.btn-solid):not(.btn-ember):hover { background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)), rgba(16,16,19,0.38); border-color: rgba(255,255,255,0.28); }
.nav.is-scrolled { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)), rgba(8,8,10,0.55); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.menu { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)), rgba(6,6,7,0.82); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); }
.signup { border-radius: 12px; }
.signup .newsletter input { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.1); }

/* ── Early Access: pressing it cools to blue ─────────────── */
.chip[href="/early-access"], .btn[href="/early-access"] {
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .5s var(--ease);
}
.chip[href="/early-access"]:active, .btn[href="/early-access"]:active,
.chip[href="/early-access"].is-cool, .btn[href="/early-access"].is-cool {
  background: var(--cobalt); border-color: var(--ice); color: #fff;
  box-shadow: 0 0 0 4px rgba(91,168,255,0.18), 0 0 36px rgba(30,95,232,0.6);
  transition-duration: .08s;
}

/* ── Hover cools every button to blue ────────────────────── */
.chip-ember:hover, .chip-solid:hover, .btn-ember:hover, .btn-solid:hover, .newsletter button:hover {
  background: var(--cobalt); border-color: var(--ice); color: #fff;
  box-shadow: 0 0 0 1px rgba(91,168,255,0.25), 0 10px 30px -10px rgba(30,95,232,0.7);
}
.chip:not(.chip-ember):not(.chip-solid):hover,
.btn:not(.btn-solid):not(.btn-ember):hover,
.strip-ctrl button:hover, .ledger-more summary:hover .more i {
  background: linear-gradient(180deg, rgba(91,168,255,0.30), rgba(30,95,232,0.14)), rgba(16,16,19,0.38);
  border-color: rgba(91,168,255,0.55); color: #fff;
}
.chip, .btn, .newsletter button, .strip-ctrl button {
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease);
}
/* Pressing Early Access goes a shade deeper, with the glow */
.chip[href="/early-access"]:active, .btn[href="/early-access"]:active,
.chip[href="/early-access"].is-cool, .btn[href="/early-access"].is-cool { background: #1748B8; }

/* ── Interaction layer ───────────────────────────────────── */
/* words rise into place */
.split.reveal { opacity: 1; transform: none; }
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .wd > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform 1s var(--ease); }
.split.in .wd > i { transform: none; }

.btn, .chip-solid { transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease); }

/* page fade */
.veil { position: fixed; inset: 0; z-index: 190; background: var(--void); opacity: 0; pointer-events: none; transition: opacity .26s ease; }
.veil.on { opacity: 1; }

/* ClemaCore render floats out of the dark between the numbers */
/* benefit callouts pinned to the rig: a dot, a leader line, a label */
.callouts { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; z-index: 2; }
.co { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.co::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 0 4px rgba(91,168,255,0.22), 0 0 18px rgba(91,168,255,0.7);
  transform: scale(0); transition: transform .5s var(--ease); }
.co::after { content: ""; position: absolute; top: 0; height: 1px; width: var(--len, 64px); background: linear-gradient(90deg, rgba(191,226,255,0.9), rgba(191,226,255,0.35));
  transform: scaleX(0); transition: transform .6s var(--ease) .15s; }
.co-r::after { left: 6px; transform-origin: left; }
.co-l::after { right: 6px; transform-origin: right; background: linear-gradient(270deg, rgba(191,226,255,0.9), rgba(191,226,255,0.35)); }
.co-t { position: absolute; top: 0; transform: translateY(-50%); width: max-content; max-width: 24ch;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; color: #e6f1ff;
  padding: 7px 10px; border-radius: 4px; background: rgba(10,16,30,0.62); border: 1px solid rgba(191,226,255,0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease) .45s; }
.co-r .co-t { left: calc(var(--len, 64px) + 10px); }
.co-l .co-t { right: calc(var(--len, 64px) + 10px); text-align: right; }
.callouts.on .co::before { transform: scale(1); }
.callouts.on .co::after { transform: scaleX(1); }
.callouts.on .co-t { opacity: 1; }
.callouts.on .co:nth-child(2)::before, .callouts.on .co:nth-child(2) .co-t { transition-delay: .2s, .65s; }
.callouts.on .co:nth-child(3)::before, .callouts.on .co:nth-child(3) .co-t { transition-delay: .4s, .85s; }
.callouts.on .co:nth-child(4)::before, .callouts.on .co:nth-child(4) .co-t { transition-delay: .6s, 1.05s; }
@media (max-width: 640px) {
  .co-t { font-size: 9.5px; padding: 5px 7px; }
}
.core-stage .rig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 100%); mask: radial-gradient(closest-side, #000 62%, transparent 100%); }
/* benefits: focus one, the others step back */
.core-grid.focusing .benefit { opacity: 0.32; transition: opacity .4s var(--ease); }
.core-grid.focusing .benefit.focus { opacity: 1; }
.benefit { cursor: default; }

/* the cost heats up under the cursor */
.cost-item { position: relative; transition: background .5s var(--ease); }
.cost-item::after { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cost-item:first-child::after { left: 0; }
.cost-item:hover::after { transform: scaleX(1); }
.cost-n { transition: color .5s var(--ease); }

/* globe marker card */
.globe-tip {
  position: absolute; left: 0; top: 0; z-index: 3; min-width: 200px; max-width: 260px;
  padding: 12px 14px; border-radius: 10px; display: grid; gap: 4px;
  background: var(--glass-fill), rgba(10,10,12,0.72); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), var(--glass-drop);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.globe-tip.on { opacity: 1; pointer-events: auto; }
.globe-tip b { color: var(--fg); font-weight: 500; font-size: 12px; }
.globe-tip em { font-style: normal; color: var(--ice); }
.globe-tip a { color: var(--fg); margin-top: 6px; border-bottom: 1px solid var(--line-2); justify-self: start; }
@media (prefers-reduced-motion: reduce) { .split .wd > i { transform: none; } }

/* ── Heat and cool: orange means heat, blue means cool ──── */
:root {
  --heat: 242,92,28;   /* updated by scroll: ember at the top, ice at the end */
  --thermal: linear-gradient(90deg, rgba(242,92,28,0.85) 0%, rgba(242,92,28,0.12) 38%, rgba(91,168,255,0.12) 62%, rgba(91,168,255,0.85) 100%);
}
/* thermal hairlines in place of plain dividers */
.cost, .final { border-top: 1px solid transparent; border-image: var(--thermal) 1; }
.nav.is-scrolled { border-bottom: 1px solid transparent; border-image: var(--thermal) 1; }
/* hero: the promise in solid red */
.hero h1 .soft { color: #F2512A; font-weight: 700; letter-spacing: -0.035em; }
/* the cost: solid white, warming to orange on hover */
.cost-n { color: #F4F4F5; }
.cost-item:hover .cost-n { color: var(--ember-l); }
/* Clema's numbers: solid white */
.benefit-n { color: #F7F8FA; }
/* closing glows: heat on the left, cool on the right */
.final {
  background:
    radial-gradient(38% 55% at 14% 70%, rgba(242,92,28,0.13), transparent 70%),
    radial-gradient(38% 55% at 86% 70%, rgba(91,168,255,0.15), transparent 70%);
}
/* the scroll bar cools down as you read */
.rail i { background: linear-gradient(180deg, rgb(var(--heat)), rgba(var(--heat), 0.4)); }
::selection { background: var(--cobalt); color: #fff; }

/* heat-season legend under the law headline */
.heat-legend { margin-top: 26px; max-width: 420px; }
.hl-title { color: var(--fg-2); margin-bottom: 10px; }
.hl-bar { display: grid; grid-template-columns: repeat(6, 1fr); height: 8px; border-radius: 2px; overflow: hidden; }
.hl-bar i:nth-child(1) { background: #3D7BFF; }
.hl-bar i:nth-child(2) { background: #5BA8FF; }
.hl-bar i:nth-child(3) { background: #B9D3E8; }
.hl-bar i:nth-child(4) { background: #FFB37A; }
.hl-bar i:nth-child(5) { background: #FF8A3D; }
.hl-bar i:nth-child(6) { background: #F2331C; }
.hl-ticks { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 6px; color: var(--fg-3); }
.hl-src { margin-top: 10px; color: var(--fg-3); font-size: 10px; }
.hl-src a { border-bottom: 1px solid var(--line-2); }
.hl-src a:hover { color: var(--fg); }

/* ── Ember details: sparing, consistent, heat only ──────── */
/* primary buttons: the arrow carries the heat until you hover */
.btn-solid .arr { color: #C2410C; transition: color .3s var(--ease), transform .3s var(--ease); }
.btn-solid:hover .arr, .btn-solid.is-cool .arr { color: #fff; }
/* text links draw an ember underline */
.link { transition: border-color .3s var(--ease), color .3s var(--ease); }
.link:hover { border-color: var(--ember); color: var(--fg); }

/* ── More glass ─────────────────────────────────────────── */
.benefit, .cost-item, .heat-legend {
  background: var(--glass-fill), rgba(16,16,19,0.36);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi), var(--glass-drop);
  border-radius: 14px;
}
.benefit { padding: 22px 24px; }
.core-col:last-child .benefit { text-align: right; }
.cost-row { border-top: 0; gap: 12px; }
.cost-item, .cost-item:first-child { padding: 28px 26px 26px; border-left: 1px solid var(--glass-line); }
.cost-item::after, .cost-item:first-child::after { left: 26px; right: 26px; top: auto; bottom: 0; }
.heat-legend { padding: 16px 18px; }
@media (max-width: 800px) {
  .cost-row { gap: 10px; }
  .cost-item, .cost-item:first-child { border: 1px solid var(--glass-line); padding: 22px 20px; }
  .core-col:last-child .benefit { text-align: left; }
}

/* benefits up front: glass cards along the bottom of the hero */
.hero-specs { position: relative; z-index: 2; padding: 34px 0 clamp(22px, 3vw, 36px); }
.hero-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hero-benefits .benefit { padding: 16px 18px 18px; text-align: left; }
.hero-benefits .benefit-n { font-size: clamp(34px, 3.4vw, 56px); margin-bottom: 10px; }
.hero-benefits .benefit p:not(.benefit-n) { font-size: 14px; max-width: none; }
/* ClemaCore: what it is, beside the render */
.core-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.core-grid .core-head { align-self: center; }
@media (max-width: 800px) {
  .hero-benefits { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-benefits .benefit { padding: 14px; }
  .core-grid { grid-template-columns: 1fr; }
}
.core-link { margin-top: 28px; }
.core { padding-bottom: clamp(90px, 10vw, 140px); }

/* the cost: one stat beside the headline */
.cost .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 40px; align-items: end; }
.cost .h-lg { grid-column: 1; }
.cost-one { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; margin-top: 0; align-self: end; }
.cost-one .cost-n { font-size: clamp(72px, 9vw, 150px); }
.cost-foot { grid-column: 1; margin-top: 0; justify-content: flex-start; }
.ind { padding-top: clamp(30px, 4vw, 60px); border-image: none; border-top: 0; }
@media (max-width: 800px) {
  .cost .wrap { grid-template-columns: 1fr; }
  .cost-one, .cost-foot { grid-column: 1; grid-row: auto; }
}

/* the logo stands on its own: no chip box behind it */
.chip.chip-logo:not(.chip-ember):not(.chip-solid),
.chip.chip-logo:not(.chip-ember):not(.chip-solid):hover { background: transparent; border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; padding-left: 0; }
.chip.chip-logo img { width: 20px; height: 20px; }
