/* =============================================================
   Velon Energy — landing.css
   Additions / overrides for the v2 landing page only.
   Loaded after styles.css.
   ============================================================= */

/* ---- SVG wordmark logo ---- */
.logo-svg { display: inline-flex; align-items: center; color: var(--text); }
.logo-wordmark {
  display: block;
  height: 28px;
  width: auto;
}
.ft-logo { height: 32px; width: auto; margin-bottom: 22px; }
.ft-logo-link { display: inline-block; }

@media (max-width: 640px) {
  .logo-wordmark { height: 24px; width: auto; }
}

/* ---- Nav overlay — fully hidden when not open (fixes header bleed-through) ---- */
.nav-overlay {
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.nav-overlay.open {
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.55s var(--ease), visibility 0s linear 0s;
}

/* ---- Hero v2 — universe canvas ---- */
.hero-v2 {
  position: relative;
  min-height: clamp(640px, 96vh, 980px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--ink);
}
.hero-canvas-v2 {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-scrim-v2 {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(75% 100% at 12% 55%, rgba(11,17,24,0.85) 0%, rgba(11,17,24,0.5) 40%, rgba(11,17,24,0.1) 75%, rgba(11,17,24,0) 100%),
    linear-gradient(180deg, rgba(11,17,24,0.20) 0%, rgba(11,17,24,0) 25%, rgba(11,17,24,0) 70%, rgba(11,17,24,0.45) 100%);
  pointer-events: none;
}
.hero-v2-inner { position: relative; z-index: 2; width: 100%; }
@media (max-width: 760px) { .hero-v2 { min-height: min(76vh, 620px); min-height: min(76svh, 620px); } }

/* Reduced top padding — eyebrow sits closer to header */
.hero-v2-content {
  max-width: 820px;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 10vw, 120px);
}

.hero-v2-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 49px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 28px;
}
.hero-v2-title em {
  font-style: normal;
  color: var(--copper-hi);
}

.hero-v2-ctas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}

/* Homepage slogan — headline only, no lede */
.hero-slogan {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}
.hero-v2-ctas:has(.hero-v2-link) { column-gap: 30px; row-gap: 22px; }
/* Phones: keep 'Then we automate them.' on one line */
@media (max-width: 480px) { .hero-slogan { font-size: 32px; } }
@media (max-width: 400px) { .hero-slogan { font-size: 30px; } }
@media (max-width: 379px) { .hero-slogan { font-size: 28px; } }
@media (max-width: 339px) { .hero-slogan { font-size: 23px; } }
.hero-v2-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-v2-link:hover { color: var(--copper-hi); border-color: var(--copper); }

/* Scroll hint */
@keyframes scrollPulse {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}

/* ---- Streams v2 ---- */
.streams-v2 { background: var(--ink); }
.streams-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.streams-head h2 em { color: var(--copper-hi); font-style: normal; }
.section-white .streams-head h2 em { color: var(--copper-dk); }
.streams-head .lede { margin-top: 0; }

@media (max-width: 880px) {
  .streams-head { grid-template-columns: 1fr; align-items: start; }
}
/* Home: the four-streams heading has no lede beside it, so let it use the full width */
.streams-v2 .streams-head { grid-template-columns: 1fr; }

/* Stream cards */
.stream-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stream-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 36px);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
  color: var(--text);
}
.stream-card:hover {
  border-color: var(--copper);
  background: var(--ink-3);
  transform: translateY(-3px);
}
.stream-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(201,123,61,0.10), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.stream-card:hover::before { opacity: 1; }

.stream-card header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.stream-card .sc-num { color: var(--copper-hi); font-weight: 500; }
.stream-card .sc-tag { color: var(--text-dim); }

.stream-card .sc-visual {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(180deg, rgba(11,17,24,0.55), rgba(11,17,24,0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.stream-card .sc-visual svg { width: 100%; height: 100%; display: block; }
.stream-card .sc-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.stream-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 14px;
  position: relative; z-index: 1;
}
.stream-card h3 em { font-style: normal; color: var(--copper-hi); }
.stream-card p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  position: relative; z-index: 1;
}
.stream-card p em { font-style: normal; color: var(--text); }

.stream-card footer {
  margin-top: auto;              /* footers line up across a row, whatever the content height */
  padding-top: 26px;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.stream-card > p { margin-bottom: 26px; }
.stream-card .sc-link {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.stream-card .sc-link .arr { font-family: var(--font-sans); font-style: normal; transition: transform 0.3s var(--ease); }
.stream-card:hover .sc-link { color: var(--copper-hi); }
.stream-card:hover .sc-link .arr { transform: translateX(5px); }

/* Card 01 — PSCAD model of the Balearic grid. The schematic drifts slowly top to bottom so the
   whole network passes through the 16:7 frame (37.6% = the image's overflow at this ratio). */
.stream-card .sc-schematic { background: #0d141c; }
.sc-schematic img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: auto; max-width: none; display: block;
  animation: scPan 32s ease-in-out infinite alternate;
  transition: filter 0.5s var(--ease);
}
.sc-schematic::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 44px 6px #0d141c;
}
.stream-card:hover .sc-schematic img { filter: brightness(1.15) saturate(1.05); }
.sc-schematic.is-offscreen img { animation-play-state: paused; }
@keyframes scPan { from { transform: translateY(0); } to { transform: translateY(-37.6%); } }
.stream-card .sc-cap {
  display: flex; justify-content: space-between; gap: 12px;
  margin: -14px 0 22px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.stream-card .sc-cap span:first-child { color: var(--copper-hi); }
.stream-card .sc-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--copper-hi);
  margin: -4px 0 14px;
  position: relative; z-index: 1;
}

/* Card 04 — PSCAD canvas mock. Text is never stroked (it used to inherit the wires' outline). */
/* Card 03: the Velon Suites app (nine modules over one model; the panel cycles voltage, boundary, storage) */
.sux text { font-family: var(--font-mono); stroke: none; }
.sux .sx-top { fill: rgba(255,255,255,0.025); }
.sux .sx-rule { stroke: rgba(255,255,255,0.08); stroke-width: 0.8; }
.sux .sx-tt { font-size: 6.6px; letter-spacing: 0.03em; fill: rgba(232,229,223,0.42); transition: fill 0.3s; }
.sux .sx-tu { fill: var(--c); opacity: 0; transition: opacity 0.3s; }
.sux .sx-tab.on .sx-tt { fill: var(--c); }
.sux .sx-tab.on .sx-tu { opacity: 1; }
.sux .sx-live { fill: #5dd2a6; }
.sux.is-running .sx-live { animation: sxBlink 1s ease-in-out infinite; }
@keyframes sxBlink { 50% { opacity: 0.25; } }
.sux .sx-st { font-size: 6.2px; font-weight: 500; letter-spacing: 0.14em; fill: #5dd2a6; }
.sux .sx-k { font-size: 5.8px; letter-spacing: 0.14em; fill: rgba(232,229,223,0.5); }
.sux .sx-chip rect { fill: rgba(255,255,255,0.02); stroke: var(--c); stroke-opacity: 0.45; stroke-width: 0.7; transition: fill 0.3s, stroke-opacity 0.3s; }
.sux .sx-chip text { font-size: 5.6px; letter-spacing: 0.04em; fill: var(--c); fill-opacity: 0.8; transition: fill 0.3s; }
.sux .sx-chip.on rect { fill: var(--c); stroke-opacity: 1; }
.sux .sx-chip.on text { fill: #0b1118; fill-opacity: 1; font-weight: 600; }
.sux .sx-ln { fill: none; stroke: rgba(233,165,102,0.4); stroke-width: 0.8; }
.sux .sx-bus { fill: #0d141c; stroke: #e9a566; stroke-width: 0.9; }
.sux .sx-mt { font-family: var(--font-sans); font-size: 8.4px; font-weight: 500; fill: #e8e5df; }
.sux .sx-mc { font-size: 5.9px; letter-spacing: 0.03em; fill: rgba(232,229,223,0.5); }
.sux .sx-kv { font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; fill: #e9a566; }
.sux .sx-kk { font-size: 5.4px; letter-spacing: 0.12em; fill: rgba(232,229,223,0.5); }
.sux .sx-frame { fill: rgba(255,255,255,0.012); stroke: rgba(255,255,255,0.07); stroke-width: 0.7; }
.sux .sx-m { opacity: 0; transition: opacity 0.35s; }
.sux[data-m="0"] .sx-m0, .sux[data-m="1"] .sx-m1, .sux[data-m="2"] .sx-m2 { opacity: 1; }
.sux .sx-under { fill: rgba(233,165,102,0.12); }
.sux .sx-over { fill: rgba(255,107,94,0.3); }
.sux .sx-curve { fill: none; stroke: #e9a566; stroke-width: 1.3; }
.sux .sx-cap { stroke: #ff6b5e; stroke-width: 0.9; stroke-dasharray: 3 2.5; }
.sux .sx-capt { font-size: 5.6px; fill: #ff8a7e; }
.sux .sx-ax { font-size: 5.4px; letter-spacing: 0.06em; fill: rgba(232,229,223,0.42); }
.sux .sx-days { stroke: rgba(255,255,255,0.06); stroke-width: 0.7; }
.sux .sx-socf { fill: rgba(93,210,166,0.12); }
.sux .sx-soc { fill: none; stroke: #5dd2a6; stroke-width: 1.3; stroke-linejoin: round; }
.sux .sx-price { fill: none; stroke: rgba(232,229,223,0.45); stroke-width: 0.8; stroke-dasharray: 2 2; }
.sux .sx-head { stroke: #e9a566; stroke-width: 1; opacity: 0; transition: opacity 0.3s; filter: drop-shadow(0 0 2px rgba(246,210,166,0.7)); }
.sux.is-running .sx-head { opacity: 1; }
.sux .sx-out { font-size: 6.4px; letter-spacing: 0.03em; fill: rgba(232,229,223,0.62); }
.sux .sx-ok { font-size: 6.4px; font-weight: 500; letter-spacing: 0.03em; fill: #5dd2a6; }
html[dir="rtl"] .sux .sx-rtl { direction: rtl; letter-spacing: 0; }
html[dir="rtl"] .sux .sx-mt { font-size: 9px; }
html[dir="rtl"] .sux .sx-mc, html[dir="rtl"] .sux .sx-kk, html[dir="rtl"] .sux .sx-out, html[dir="rtl"] .sux .sx-ok { font-size: 6.8px; }
@media (prefers-reduced-motion: reduce) { .sux.is-running .sx-live { animation: none; } }
@media (max-width: 600px) {  /* phone: fewer, larger labels */
  .sux .sx-tt { font-size: 7px; } .sux .sx-st { font-size: 7px; } .sux .sx-k { font-size: 6.2px; }
  .sux .sx-mt { font-size: 10.2px; } .sux .sx-kv { font-size: 14px; } .sux .sx-ok { font-size: 7.8px; }
  .sux .sx-mc, .sux .sx-kk, .sux .sx-out, .sux .sx-capt { display: none; }
  .sux .sx-ax { font-size: 6.6px; }
}
.pscx text { font-family: var(--font-mono); stroke: none; }
.pscx .px-tab { font-size: 7px; fill: rgba(232,229,223,0.42); letter-spacing: 0.03em; }
.pscx .px-tab-on { fill: #e9a566; }
.pscx .px-run { font-size: 6.5px; font-weight: 500; fill: #5dd2a6; letter-spacing: 0.14em; }
.pscx .px-run-dot { fill: #5dd2a6; }
.pscx .px-time { font-size: 7px; fill: rgba(232,229,223,0.72); }
.pscx .px-lbl { font-size: 7.5px; fill: rgba(232,229,223,0.66); text-anchor: middle; letter-spacing: 0.04em; }
.pscx .px-bus { font-size: 7.5px; fill: rgba(232,229,223,0.86); text-anchor: end; letter-spacing: 0.02em; }
.pscx .px-vsc { font-size: 7.5px; font-weight: 600; text-anchor: middle; letter-spacing: 0.06em; }
.pscx .px-ttl { font-size: 7.5px; fill: rgba(232,229,223,0.8); letter-spacing: 0.03em; }
.pscx .px-val { font-size: 7px; fill: rgba(232,229,223,0.55); text-anchor: end; }
.pscx .px-flbl { font-size: 7px; fill: rgba(232,140,128,0.7); letter-spacing: 0.03em; transition: fill 0.15s; }
.pscx .px-fault { fill: rgba(224,82,79,0.35); transition: fill 0.15s; }
.pscx.is-fault .px-fault { fill: #ff6b5e; filter: drop-shadow(0 0 3px rgba(255,107,94,0.85)); }
.pscx.is-fault .px-flbl { fill: #ff8a7e; }
.pscx .px-head { stroke: rgba(232,229,223,0.38); stroke-width: 0.6; opacity: 0; }
.pscx .px-dot { opacity: 0; }
.pscx.px-live .px-head, .pscx.px-live .px-dot { opacity: 1; }
.pscx .px-traces { transition: opacity 0.45s ease; }
.pscx .px-traces.is-fading { opacity: 0; }

@media (max-width: 880px) {
  .stream-cards { grid-template-columns: 1fr; }
}

/* ---- CTA v2 ---- */
.cta-v2 {
  background: var(--ink);
  color: var(--text);
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
  overflow: hidden;
}
.cta-v2::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 100%, rgba(201,123,61,0.14), transparent 60%),
    radial-gradient(40% 60% at 20% 0%, rgba(93,210,166,0.05), transparent 60%);
  pointer-events: none;
}
.cta-v2-inner { position: relative; z-index: 1; }
.cta-v2 .section-label { color: var(--copper-hi); }
.cta-v2 .section-label::before { background: var(--copper); }
.cta-v2 h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
@media (max-width: 480px) { .cta-v2 h2 { font-size: 30px; } }
@media (max-width: 379px) { .cta-v2 h2 { font-size: 27px; } }
@media (max-width: 339px) { .cta-v2 h2 { font-size: 23px; } }
.cta-v2 h2 em { font-style: normal; color: var(--copper-hi); }
.cta-v2 .lede { color: var(--text-mute); }
.cta-v2-actions {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.cta-v2-actions .btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
}
.cta-v2-actions .btn-ghost:hover {
  background: var(--copper);
  color: var(--ink);
  border-color: var(--copper);
}

/* Hero eyebrow — inherit .section-label but add a live dot */
.hero-section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding-left: 0;
}
.hero-section-label::before { width: 22px; height: 1px; background: var(--copper); }
.hero-section-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  flex: 0 0 auto;
}
.hero-section-label .dot-blink { animation: pulse 2s var(--ease) infinite; }
.hero-section-label .sep { margin: 0 0.6em; }
/* Phones: keep the whole label on one line (≥360px) */
@media (max-width: 480px) {
  .hero-section-label { font-size: 10px; letter-spacing: 0.12em; gap: 9px; }
  .hero-section-label::before { display: none; }
  .hero-section-label .sep { margin: 0 0.15em; }
}

/* Hide the old hero-eyebrow if present */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

/* ---- Selected-work outcome block ---- */

/* ---- Selected-work meta + details link ---- */

/* ---- Featured work card (ET Fuels) ---- */
.work-feature {
  margin-bottom: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3, var(--ink-2)));
  overflow: hidden;
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  color: var(--text);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-feature::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(201,123,61,0.12), transparent 55%),
    radial-gradient(50% 60% at 0% 100%, rgba(93,210,166,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
}
.work-feature:hover { border-color: var(--copper); transform: translateY(-3px); }

/* Stretched-link card pattern: wf-link is on the h3, ::after covers the whole card */
.wf-link {
  color: inherit;
  text-decoration: none;
  position: static;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}
.wf-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.work-feature:hover .wf-link {
  color: var(--copper-hi);
}
/* Keep interactive children clickable above the stretched overlay */
.wf-meta,
.wf-cta,
.wf-extlink,
.wf-cta-btn {
  position: relative;
  z-index: 2;
}

.wf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.wf-tag { color: var(--copper-hi); }
.wf-tag::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--signal);
  animation: pulse 2s var(--ease) infinite;
}
.wf-stream { color: var(--text-dim); }

.wf-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .wf-body { grid-template-columns: 1fr; }
}

.wf-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(25px, 2.9vw, 39px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 18px;
}
.wf-text h3 em { font-style: normal; color: var(--copper-hi); }
.wf-text > p {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 37em;
}
.wf-text > p em { font-style: normal; color: var(--text); }

.wf-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
@media (max-width: 620px) {
  .wf-list { grid-template-columns: 1fr; }
}
.wf-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.55;
}
.wf-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 1px;
  background: var(--copper);
}

.wf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.btn-sm { padding: 12px 18px; font-size: 11px; }
.wf-extlink {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.wf-extlink:hover { color: var(--copper-hi); }

.wf-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,17,24,0.55), rgba(11,17,24,0.88));
  padding: clamp(12px, 1.5vw, 22px);
  position: relative;
  overflow: hidden;
  align-self: center;
}
.wf-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.wf-visual svg { width: 100%; height: auto; display: block; }

/* ===== ET Fuels case study page ===== */

/* ===== ET Fuels — Power-to-X industry context ===== */

/* ---- Case-study cards reused on landing (from consultancy) ---- */
.cons-apps{margin-top:clamp(28px,3vw,40px);display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,1.8vw,24px);}
@media (max-width:1020px){.cons-apps{grid-template-columns:repeat(2,1fr);}}
.cons-app{display:flex;flex-direction:column;background:var(--ink-2);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;color:var(--text);transition:border-color .3s var(--ease),transform .3s var(--ease);}
.cons-app:hover{border-color:var(--copper);transform:translateY(-4px);}
.cons-app-viz{background:var(--ink);border-bottom:1px solid var(--line);padding:20px;background-image:radial-gradient(rgba(255,255,255,0.04) 1px,transparent 1px);background-size:18px 18px;}
.cons-app-viz svg{width:100%;height:auto;display:block;}
.cons-app-body{padding:clamp(20px,2vw,28px);display:flex;flex-direction:column;gap:12px;flex:1;}
.cons-app-tag{font-family:var(--font-mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;align-self:flex-start;padding:5px 11px;border-radius:999px;border:1px solid;}
.cons-app-tag.study{color:var(--copper-hi);border-color:var(--copper);}
.cons-app h3{font-family:var(--font-display);font-weight:500;font-size:clamp(19px,1.8vw,24px);line-height:1.22;}
.cons-app h3 em{font-style:normal;color:var(--copper-hi);}
.cons-app p{font-size:14px;line-height:1.55;color:var(--text-mute);}
.cons-app-go{margin-top:auto;padding-top:12px;font-family:var(--font-mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--copper-hi);display:inline-flex;align-items:center;gap:8px;}
.cons-app:hover .cons-app-go{gap:12px;}
@media (max-width:760px){.cons-apps{grid-template-columns:1fr;}}

/* typographic polish: balance multi-line display headings */
.hero h1,.section h2{text-wrap:balance;}

/* ============================================================
   Home rhythm + live-tools teaser  (scoped to body.home)
   ============================================================ */
.home .section { padding: clamp(60px, 8vw, 108px) 0; }

/* hero tertiary live link */
@keyframes hllPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(93,210,166,0.5); }
  50%     { box-shadow: 0 0 0 6px rgba(93,210,166,0); }
}

/* live-tools teaser band */
.live-band {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.live-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(93,210,166,0.06), transparent 55%);
  pointer-events: none;
}
.live-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .live-band-inner { grid-template-columns: 1fr; } .live-viz { max-width: 420px; } }
.live-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 16px;
}
.live-h em { font-style: normal; color: var(--copper-hi, #e9a566); white-space: nowrap; }
.live-p {
  font-size: 15px; line-height: 1.62; color: var(--text-mute);
  max-width: 37em; margin: 0 0 26px;
}
.live-links { display: flex; gap: 12px; flex-wrap: wrap; }
.live-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--signal); text-decoration: none;
  border: 1px solid var(--signal); border-radius: 10px;
  padding: 13px 20px;
  transition: background .2s, color .2s, border-color .2s;
}
.live-link:hover { background: rgba(93,210,166,0.08); }
.live-link.ghost { color: var(--text-mute); border-color: var(--line); }
.live-link.ghost:hover { color: var(--text); border-color: var(--text-dim); }
.live-viz svg { display: block; width: 100%; height: auto; }

/* the boundary ring breathes outward; the scan settles onto the reference */
@keyframes liveRing {
  0%   { r: 36; opacity: 0.35; }
  55%  { r: 86; opacity: 0.95; }
  72%  { r: 96; opacity: 1; }
  100% { r: 96; opacity: 0; }
}
@keyframes liveScan {
  0%   { stroke-dashoffset: 640; opacity: 0.4; }
  55%  { stroke-dashoffset: 120; opacity: 0.9; }
  78%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.25; }
}

/* ===== header tools / language switcher ===== */
.header-tools{display:flex;align-items:center;gap:10px}
.lang-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-2);color:var(--text-mute);
  border-radius:40px;padding:9px 15px;font-family:var(--font-mono);font-size:12px;letter-spacing:.06em;
  transition:.25s var(--ease)}
.lang-btn:hover{border-color:var(--copper);color:var(--copper-hi)}
.lang-btn span{line-height:1}

/* ===== live mini reduction demo ===== */
.lvz{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:linear-gradient(160deg,#121c28,#0d151e)}
.lvz-bar{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.02);font-family:var(--font-mono);font-size:9.5px;letter-spacing:.11em;text-transform:uppercase}
.lvz-l{color:var(--text-dim)}
.lvz-l::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--signal);
  margin-right:8px;animation:blink 2.4s var(--ease) infinite}
.lvz-r{color:#e9a566;transition:color .3s}
.lvz svg{display:block;width:100%;height:auto}

/* ===== hero declutter ===== */

/* ---- Hero slogan reveal (home) — see the script after the h1 ----
   Calm, editorial motion: each line rises out of an invisible edge, the copper line lands a beat
   later, then one soft pass of light runs through it. Label and buttons are sequenced around it. */
.hero-v2-content.slogan-anim { opacity: 1; transform: none; transition: none; }
.slogan-anim .hero-section-label { animation: sloganFade 1s var(--ease-out) both; }
.slogan-anim .hero-v2-ctas { animation: sloganUp 1.1s var(--ease-out) 1.05s both; }
/* the mask is a clip-path (reaching past the line for ascenders/descenders), so it never affects layout */
.hero-slogan.is-split .sl { display: block; clip-path: inset(-0.14em -0.5em -0.3em -0.5em); }
.hero-slogan.is-split .sl-in { display: block; animation: slIn 1.3s var(--ease-out) both; animation-delay: var(--d); }
.hero-slogan.is-split em { position: relative; display: inline-block; }
.hero-slogan .sw-sheen {
  position: absolute; inset: 0; pointer-events: none;
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, transparent 43%, rgba(255, 236, 214, 0.35) 47%, rgba(255, 246, 234, 0.8) 50%, rgba(255, 236, 214, 0.35) 53%, transparent 57%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: swSheen 2.2s cubic-bezier(0.45, 0, 0.2, 1) 1.5s both;
}
html[dir="rtl"] .hero-slogan .sw-sheen { animation-name: swSheenRtl; }
@media (prefers-reduced-motion: reduce) {          /* same sequence, fade instead of rise; the single pass of light stays */
  .hero-slogan.is-split .sl-in { animation-name: rmFade; animation-duration: 1.4s; }
  .slogan-anim .hero-v2-ctas { animation-name: rmFade; }
  .sc-schematic img { animation: none; transform: translateY(-18.8%); }
}
@keyframes slIn       { from { transform: translateY(calc(100% + 0.45em)); } to { transform: none; } }
@keyframes swSheen    { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes swSheenRtl { from { background-position: 0 0; }    to { background-position: 100% 0; } }
@keyframes sloganFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sloganUp   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Principles: the four disciplines on the dark page ---- */
.principles-v3 {
  position: relative; overflow: hidden;
  background-image: radial-gradient(70% 60% at 85% 0%, rgba(201,123,61,0.07), transparent 60%);
  border-top: 1px solid var(--line);
}
.principles-v3::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--tp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tp-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 15%, transparent 75%);
          mask-image: radial-gradient(90% 70% at 50% 0%, #000 15%, transparent 75%);
}
.principles-v3 .container { position: relative; }
/* Four stages as doorways on one rail, with an engineer sign-off gate between each. The script fills
   the rail to each stage in turn; a gate reviews (amber) then passes (green) before the next stage lights. */
.gw {
  --rail: 56px; --gw-v: 0;
  position: relative; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.gw::before, .gw-fill { content: ''; position: absolute; inset-inline-start: 0; top: var(--rail); height: 1px; }
.gw::before { inset-inline-end: 0; background: var(--tp-line); }
.gw-fill {
  width: var(--fill, 0px); background: linear-gradient(90deg, var(--copper), #f6d2a6);
  box-shadow: 0 0 10px rgba(233,165,102,0.6); transition: width 0.85s linear, opacity 0.5s;
}
html[dir="rtl"] .gw-fill { background: linear-gradient(270deg, var(--copper), #f6d2a6); }
.gw.is-reset .gw-fill { opacity: 0; }
.gw-stage { position: relative; display: flex; flex-direction: column; padding-top: calc(var(--rail) + 34px); }
.gw-node {
  position: absolute; z-index: 1; top: calc(var(--rail) - 14px); inset-inline-start: calc(50% - 14px);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tp-bg); border: 1px solid var(--tp-line); box-shadow: 0 0 0 5px var(--tp-bg);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--tp-mute);
  transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.gw-stage.is-lit .gw-node {
  background: var(--copper-hi); border-color: var(--copper-hi); color: var(--ink);
  box-shadow: 0 0 0 5px var(--tp-bg), 0 0 20px rgba(233,165,102,0.55);
}

/* gates sit on the rail midway between two stages, their label above the rail */
.gw-gate {
  position: absolute; z-index: 1; top: 0; inset-inline-end: -91px; width: 160px; height: calc(var(--rail) + 10px);
  display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none;
}
.gw-gk { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tp-dim); }
.gw-gl { font-size: 12.5px; color: var(--tp-mute); margin-top: 4px; white-space: nowrap; }
.gw-gate.is-lit .gw-gl { animation: gwGl 0.4s ease 0.7s both; }
@keyframes gwGl { from { color: var(--tp-mute); } to { color: var(--tp-ok); } }
.gw-dia {
  position: absolute; top: calc(var(--rail) - 9px); left: calc(50% - 9px); width: 18px; height: 18px;
  display: grid; place-items: center; transform: rotate(45deg); border-radius: 3px;
  background: var(--tp-bg); border: 1px solid rgba(233,165,102,0.5); box-shadow: 0 0 0 5px var(--tp-bg);
}
.gw-dia::after { content: '✓'; transform: rotate(-45deg); font-size: 10px; font-weight: 700; line-height: 1; color: var(--ink); opacity: 0; }
.gw-gate.is-lit .gw-dia { animation: gwGate 1.3s forwards; }
.gw-gate.is-lit .gw-dia::after { animation: gwTick 1.3s forwards; }
@keyframes gwGate {
  0% { background: var(--tp-bg); border-color: #e9a566; }
  30%, 45% { background: rgba(233,165,102,0.3); border-color: #e9a566; box-shadow: 0 0 0 5px var(--tp-bg), 0 0 18px rgba(233,165,102,0.65); }
  70%, 100% { background: #5dd2a6; border-color: #5dd2a6; box-shadow: 0 0 0 5px var(--tp-bg), 0 0 16px rgba(93,210,166,0.55); }
}
@keyframes gwTick { 0%, 62% { opacity: 0; } 78%, 100% { opacity: 1; } }

/* the doorway */
.gw-card {
  flex: 1; display: flex; flex-direction: column; color: inherit; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2vw, 26px);
  transition: border-color 0.45s, background 0.45s, transform 0.4s var(--ease), box-shadow 0.45s;
}
.gw-card:hover { border-color: rgba(201,123,61,0.65); background: var(--ink-3); transform: translateY(-3px); }
.gw-card:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
.gw-card { box-shadow: 0 30px 60px -32px var(--tp-lift); }
.gw-stage.is-lit .gw-card { border-color: rgba(233,165,102,0.42); box-shadow: 0 26px 60px -34px rgba(233,165,102,0.45), 0 30px 60px -32px var(--tp-lift); }
.gw-verb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-hi); }
.gw-vis {
  position: relative; display: block; margin: 16px 0 22px; aspect-ratio: 12 / 5; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,17,24,0.55), rgba(11,17,24,0.85));
}
.gw-vis::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}
.gw-vis svg { display: block; width: 100%; height: 100%; opacity: 0.5; transition: opacity 0.6s; }
.gw-vis svg.gw-flip { transform: scaleX(-1); }
.gw-flip .gw-mini-tick { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
.gw-stage.is-lit .gw-vis svg { opacity: 1; }
.gw-card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.22; letter-spacing: -0.015em; color: var(--text); margin: 0 0 10px;
}
.gw-card p { font-size: 14.5px; line-height: 1.55; color: var(--text-mute); margin: 0 0 22px; }
.gw-go {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-hi);
}
.gw-go i { font-style: normal; font-family: var(--font-sans); transition: transform 0.3s var(--ease); }
.gw-card:hover .gw-go i { transform: translateX(4px); }
html[dir="rtl"] .gw-card:hover .gw-go i { transform: translateX(-4px); }
html[dir="rtl"] .gw-gk, html[dir="rtl"] .gw-go, html[dir="rtl"] .gw-verb { letter-spacing: 0; font-size: 12.5px; }
html[dir="rtl"] .gw-gl { font-size: 13.5px; }

/* visuals: dim until their stage lights, then the main strokes draw in */
.gw-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.gw-stage.is-lit .gw-draw { animation: gwDraw 1.3s var(--ease) var(--d, 0s) both; }
@keyframes gwDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.gw-cu { stroke: var(--copper-hi); stroke-width: 2; }
.gw-env { stroke: rgba(255,107,94,0.5); stroke-width: 1.1; stroke-dasharray: 4 4; }
.gw-fault { stroke: #ff6b5e; stroke-width: 1.6; opacity: 0.8; }
.gw-wire { stroke: rgba(233,165,102,0.75); stroke-width: 1.4; }
/* Velon Suites: one network model feeds deterministic engines, which find the optimum */
.gw-net { stroke: rgba(233,165,102,0.45); stroke-width: 1.1; }
.gw-bus { fill: var(--ink-2); stroke: var(--copper-hi); stroke-width: 1.3; }
.gw-eng { stroke-width: 1.3; }
.gw-e1 { stroke: var(--signal); fill: rgba(93,210,166,0.12); }
.gw-e2 { stroke: var(--copper-hi); fill: rgba(201,123,61,0.14); }
.gw-e3 { stroke: #8ec5ff; fill: rgba(142,197,255,0.1); }
.gw-eng-in { stroke: rgba(232,229,223,0.45); stroke-width: 1.3; }
.gw-opt { fill: var(--signal); }
.gw-opt-drop { stroke: rgba(93,210,166,0.6); stroke-width: 1; stroke-dasharray: 2 2; }
.gw-stage.is-lit .gw-opt { animation: gwIn 0.35s ease 1.6s both; }
/* QMerse: one agent hub drives the commercial tools, an engineer gate releases the result */
.gw-hub { stroke: var(--copper-hi); stroke-width: 1.4; fill: rgba(201,123,61,0.14); }
.gw-hub-core { fill: var(--copper-hi); }
.gw-win { stroke: var(--copper-hi); stroke-width: 1.3; fill: var(--ink-2); }
.gw-stage.is-lit .gw-win { animation: gwWin 0.45s ease var(--d, 0s) both; }
@keyframes gwWin { from { stroke: rgba(232,229,223,0.5); } }
.gw-mini-gate { stroke: var(--signal); stroke-width: 1.4; fill: rgba(93,210,166,0.12); }
.gw-mini-tick { stroke: var(--signal); stroke-width: 1.8; }
.gw-stage.is-lit .gw-mini-gate { animation: gwMini 1.2s ease 0.4s both; }
.gw-stage.is-lit .gw-mini-tick { animation: gwTick 1.2s ease 0.4s both; }
@keyframes gwMini { 0% { stroke: #e9a566; fill: rgba(233,165,102,0.1); } 45% { stroke: #e9a566; fill: rgba(233,165,102,0.3); } 75%, 100% { stroke: #5dd2a6; fill: rgba(93,210,166,0.12); } }
.gw-out { stroke: rgba(93,210,166,0.75); }
.gw-doc { stroke: var(--signal); stroke-width: 1.3; }
.gw-axis { stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.gw-stair { stroke: url(#gwTeachGrad); stroke-width: 2; }
.gw-step { fill: var(--copper-hi); }
.gw-step.gw-final { fill: var(--signal); }
.gw-stage.is-lit .gw-step { animation: gwIn 0.3s ease var(--d, 0s) both; }
@keyframes gwIn { from { opacity: 0; } to { opacity: 1; } }

/* narrow: one column, the rail runs down the side and each gate sits between two stages */
@media (max-width: 1080px) {
  .gw { --gw-v: 1; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gw::before { top: 14px; bottom: 14px; inset-inline-start: 14px; inset-inline-end: auto; width: 1px; height: auto; }
  .gw-fill { top: 0; inset-inline-start: 14px; width: 1px; height: var(--fill, 0px); transition: height 0.85s linear, opacity 0.5s; background: linear-gradient(180deg, var(--copper), #f6d2a6); }
  .gw-stage { padding-top: 0; padding-inline-start: 50px; }
  .gw-node { top: 18px; inset-inline-start: 0; }
  .gw-gate {
    position: relative; top: auto; inset-inline-end: auto; width: auto; height: auto;
    flex-direction: row; align-items: baseline; gap: 12px; padding: 24px 0; text-align: start;
  }
  .gw-gl { margin-top: 0; }
  .gw-dia { top: calc(50% - 9px); left: auto; inset-inline-start: -45px; }
}
@media (max-width: 1080px) and (min-width: 640px) {
  .gw-card {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 28px; align-content: start;
    grid-template-areas: "vis verb" "vis h3" "vis p" "vis go";
  }
  .gw-verb { grid-area: verb; }
  .gw-vis { grid-area: vis; margin: 0; align-self: center; }
  .gw-card h3 { grid-area: h3; margin-top: 10px; }
  .gw-card p { grid-area: p; }
  .gw-go { grid-area: go; }
}
@media (max-width: 639px) {
  /* the four services are pictured just above, so on a phone the steps stay short: words and gates only */
  .gw-vis { display: none; }
  .gw-card h3 { margin-top: 12px; }
  .gw-card p { margin-bottom: 18px; }
  .gw-gate { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-card:hover { transform: none; }
}

/* ---- Press-run band: one primary action, the rest as quiet links ---- */
.live-links { flex-direction: column; align-items: flex-start; gap: 18px; }
.live-more { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.live-link.ghost { border: 0; padding: 0; border-radius: 0; color: var(--text-mute); }
.live-link.ghost:hover { background: none; color: var(--copper-hi); }

/* ---- Final CTA: the brief card fills the right half ---- */
/* The closing call is one focused, centred column */
.cta-v2-inner { text-align: center; }
.cta-v2-inner .section-label { justify-content: center; }
.cta-v2-inner h2 { margin-inline: auto; max-width: 15em; }
.cta-v2-inner .lede { margin-inline: auto; max-width: 36em; }
.cta-v2-actions { justify-content: center; }

/* Home closing call inside the paper tone (generic tone rules live in styles.css) */
.cta-v2[data-tone] { background-color: var(--tp-bg); }
.cta-v2[data-tone]::after { background: radial-gradient(60% 80% at 80% 100%, rgba(201,123,61,0.14), transparent 60%); }
.cta-v2[data-tone] .cta-v2-actions .btn-ghost:not(:hover) { color: var(--tp-ink); border-color: var(--tp-line); }


/* ---------- Home: selected work as one sliding row of project tiles ---------- */
.sel .streams-head { align-items: end; }
/* four tiles in view on a laptop; the rest slide in (arrows, trackpad, swipe). The padding keeps hover lift and focus rings unclipped. */
.sel-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin: -6px -6px 0; padding: 6px 6px 8px; scroll-padding-inline: 6px; }
.sel-row::-webkit-scrollbar { display: none; }
.sel-row > .sel-t { flex: 0 0 calc((100% - 3 * 14px) / 4); scroll-snap-align: start; }
.sel-nav { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.sel-nav[hidden] { display: none; }
.sel-bar { position: relative; flex: 1; height: 2px; margin-inline-end: 12px; border-radius: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
.sel-bar i { position: absolute; inset-block: 0; inline-size: calc(var(--w, 0.5) * 100%); inset-inline-start: calc(var(--p, 0) * (100% - var(--w, 0.5) * 100%)); border-radius: 2px; background: var(--copper-hi); }
.sel-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent;
  color: var(--text); font-size: 16px; line-height: 1; cursor: pointer; transition: border-color 0.25s, background-color 0.25s, color 0.25s, opacity 0.25s; }
.sel-btn:hover:not(:disabled) { border-color: var(--copper-hi); background: rgba(201,123,61,0.14); color: var(--copper-hi); }
.sel-btn:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
.sel-btn:disabled { opacity: 0.35; cursor: default; }
.sel-t { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.sel-t:hover { border-color: rgba(233,165,102,0.45); transform: translateY(-3px); }
.sel-t:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
.sel-v { display: block; aspect-ratio: 320 / 120; background: #0a0f15; border-bottom: 1px solid var(--line); }
.sel-v svg { display: block; width: 100%; height: 100%; }
.sel-b { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; }
.sel-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-hi); }
.sel-k.live { color: var(--signal); }
.sel-k.live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-end: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.sel-n { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: -0.01em; padding-inline-end: 18px; }
.sel-n em { font-style: normal; color: var(--text-mute); }
.sel-go { position: absolute; inset-inline-end: 14px; bottom: 16px; font-style: normal; font-size: 15px; color: var(--copper-hi); opacity: 0.75; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease); }
.sel-t:hover .sel-go, .sel-t:focus-visible .sel-go { opacity: 1; transform: translateX(3px); }
html[dir="rtl"] .sel-t:hover .sel-go, html[dir="rtl"] .sel-t:focus-visible .sel-go { transform: translateX(-3px); }
.sel-more { justify-content: center; align-items: flex-start; padding: 18px 16px; background: transparent; border-style: dashed; border-color: rgba(255,255,255,0.18); }
.sel-more .sel-b { padding: 0; }
.sel-more .sel-n { font-size: 14.5px; color: var(--text-mute); }
.sel-plus { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; font-family: var(--font-mono); font-size: 18px; color: var(--copper-hi); background: rgba(201,123,61,0.14); }
.sel-all { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-hi); }
html[dir="rtl"] :is(.sel-k, .sel-all) { letter-spacing: 0; font-size: 12px; }
@media (max-width: 1100px) {
  /* edge to edge: the tile cut off at the screen edge makes the point that there is more */
  .sel-row { gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .sel-row > .sel-t { flex: 0 0 min(260px, 72vw); }
  .sel-go { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .sel-nav { margin-top: 14px; }
  .sel-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .sel-t:hover { transform: none; } }
