/* ============================================================
   DAN-EL ENERGY & TECHNOLOGIES — light editorial redesign
   Paper background · inset rounded hero video · dark contrast bands
   Primary type: Questrial · Secondary: Raleway
   ============================================================ */

:root {
  --volt: #5CE65C;
  --deep-volt: #2FB84D;
  --ink: #0B1F19;
  --panel: #12281F;
  --paper: #F4F7F3;
  --paper-60: rgba(244, 247, 243, 0.6);
  --paper-30: rgba(244, 247, 243, 0.3);
  --paper-10: rgba(244, 247, 243, 0.1);
  --ink-60: rgba(11, 31, 25, 0.62);
  --ink-30: rgba(11, 31, 25, 0.34);
  --ink-10: rgba(11, 31, 25, 0.1);
  --font-primary: 'Questrial', sans-serif;
  --font-secondary: 'Raleway', sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --inset: clamp(0.6rem, 1.2vw, 1rem);
  --radius: 26px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--volt);
  color: var(--ink);
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: rgba(11, 31, 25, 0.2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--deep-volt);
}

/* ============ CURSOR ============ */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .25s ease;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--deep-volt);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(47, 184, 77, 0.55);
  transition: width .25s, height .25s, background .25s, opacity .25s ease;
}

.cursor.is-visible,
.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(92, 230, 92, 0.14);
}

@media (hover: none),
(pointer: coarse) {

  .cursor,
  .cursor-ring {
    display: none;
  }
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__inner {
  text-align: center;
}

.preloader__mark {
  width: clamp(90px, 12vw, 140px);
  margin: 0 auto 2rem;
}

.preloader__mark svg {
  width: 100%;
  overflow: visible;
}

.pre-bar {
  fill: var(--volt);
  opacity: 0;
  transform: translateY(24px);
}

.preloader__count {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--paper);
  line-height: 1;
}

.preloader__label {
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--paper-30);
  font-weight: 500;
}

.preloader__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--panel);
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--volt);
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--inset) + 0.9rem) calc(var(--pad) + var(--inset));
  transition: background .5s, backdrop-filter .5s, padding .5s, box-shadow .5s, color .5s;
  transform: translateY(-110%);
  color: var(--paper);
}

.header.is-scrolled {
  background: rgba(244, 247, 243, 0.86);
  backdrop-filter: blur(14px);
  padding: 0.7rem calc(var(--pad) + var(--inset));
  box-shadow: 0 1px 0 var(--ink-10);
  color: var(--ink);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--volt);
  transition: color .5s;
}

.header.is-scrolled .header__logo {
  color: var(--deep-volt);
}

.logo-mark {
  width: 34px;
  height: auto;
}

.logo-mark--lg {
  width: 72px;
}

.header__wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: inherit;
  line-height: 1;
}

.header__logo .header__wordmark {
  color: var(--paper);
  transition: color .5s;
}

.header.is-scrolled .header__logo .header__wordmark {
  color: var(--ink);
}

.header__wordmark em {
  font-family: var(--font-secondary);
  font-style: normal;
  font-weight: 600;
  font-size: 0.42rem;
  letter-spacing: 0.32em;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.header__nav {
  display: flex;
  gap: 2.2rem;
}

.header__nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.3rem 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0%;
  background: var(--volt);
  transition: width .35s cubic-bezier(.65, .05, 0, 1);
}

.header.is-scrolled .header__nav a::after {
  background: var(--deep-volt);
}

.header__nav a:hover::after {
  width: 100%;
}

/* ---- Burger button (hidden on desktop) ---- */
.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 0;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.header__burger span:nth-child(1) { top: 0; }
.header__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__burger span:nth-child(3) { bottom: 0; }

.header__burger.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 860px) {
  .header {
    padding: calc(var(--inset) + 0.6rem) var(--pad);
    gap: 0.5rem;
  }

  .header.is-scrolled {
    padding: 0.6rem var(--pad);
  }

  .header__wordmark {
    font-size: 1.1rem;
  }

  .header__wordmark em {
    font-size: 0.35rem;
    letter-spacing: 0.2em;
  }

  .header__cta--desktop {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    z-index: 200;
    background: #0B1F19;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    padding: 3rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--paper);
    letter-spacing: 0.08em;
  }

  .header__nav a.header__cta--mobile {
    display: inline-flex;
    font-size: 0.78rem;
    color: var(--ink);
    margin-top: 0.8rem;
    padding: 0.65rem 1.4rem;
  }

  .header__burger {
    display: block;
    color: inherit;
    z-index: 210;
  }

  .header.is-scrolled .header__burger.is-open,
  .header__burger.is-open {
    color: var(--paper);
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: color .4s, border-color .4s;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform .4s cubic-bezier(.65, .05, 0, 1);
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s cubic-bezier(.65, .05, 0, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--volt {
  background: var(--volt);
  color: var(--ink);
}

.btn--volt::before {
  background: var(--paper);
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
}

.btn--paper::before {
  background: var(--volt);
}

.btn--ghost {
  border: 1px solid var(--paper-30);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--volt);
  color: var(--volt);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink::before {
  background: var(--panel);
}

/* ---- Mobile CTA inside nav (hidden on desktop) ---- */
.header__cta--mobile { display: none; }

/* ============ HERO — inset rounded video card ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__media {
  position: absolute;
  inset: var(--inset);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 0;
  transform: translateZ(0);
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 31, 25, 0.82) 0%, rgba(11, 31, 25, 0.35) 34%, rgba(11, 31, 25, 0.35) 62%, rgba(11, 31, 25, 0.70) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 calc(var(--pad) + var(--inset));
  margin-bottom: 3rem;
  max-width: 1250px;
  color: var(--paper);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--paper-60);
  margin-bottom: 1.6rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 rgba(92, 230, 92, 0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 230, 92, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(92, 230, 92, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(92, 230, 92, 0);
  }
}

.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 1.6rem;
  max-width: 1000px;
}

.hero__title em {
  font-style: normal;
  color: var(--volt);
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-mask .line {
  display: inline-block;
  transform: translateY(110%);
}

.hero__sub {
  max-width: 520px;
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 2.2rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 calc(var(--pad) + var(--inset)) calc(1.6rem + var(--inset));
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--paper-60);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: var(--paper-30);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--volt);
  animation: scrollLine 2.2s cubic-bezier(.65, .05, 0, 1) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

[data-hero-fade] {
  opacity: 0;
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 1.1rem 0;
  transform: rotate(-1deg) scale(1.03);
  position: relative;
  z-index: 5;
  margin-top: 1.6rem;
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.marquee__track i {
  font-style: normal;
  margin: 0 1.2rem;
  font-size: 0.7em;
  vertical-align: middle;
  color: var(--volt);
}

/* ============ SECTION LABEL ============ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.section-label::after {
  content: '';
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-label--volt {
  color: var(--deep-volt);
}

/* labels sitting on dark bands */
.services .section-label--volt,
.footer .section-label {
  color: var(--volt);
}

/* ============ ABOUT (light) ============ */
.about {
  position: relative;
  padding: clamp(6rem, 12vw, 11rem) var(--pad) clamp(5rem, 9vw, 8rem);
  background: var(--paper);
}

.about__statement {
  font-size: clamp(1.9rem, 4.4vw, 3.9rem);
  line-height: 1.16;
  max-width: 1050px;
  margin: 2.5rem 0 3.5rem;
  color: var(--ink);
}

.about__statement .w {
  opacity: 0.12;
  display: inline-block;
}

.about__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  color: var(--ink-60);
  font-size: 0.95rem;
}

.stream-bars {
  display: flex;
  gap: 10px;
  margin-top: 5rem;
  height: 14px;
}

.stream-bars span {
  display: block;
  height: 100%;
  background: var(--volt);
  transform: skewX(-24deg);
  border-radius: 3px;
  width: 0;
}

.stream-bars span:nth-child(even) {
  background: var(--deep-volt);
}

/* ============ SERVICES — dark contrast band ============ */
.services {
  background: var(--ink);
  position: relative;
  color: var(--paper);
  border-radius: var(--radius);
  margin: 0 var(--inset);
}

.services__pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(4rem, 8vh, 6rem) 0 0;
}

.services__head {
  padding: 0 var(--pad);
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2rem;
  justify-content: space-between;
}

.services__head h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-top: 1.2rem;
}

.services__progress {
  width: min(260px, 30vw);
  height: 2px;
  background: var(--paper-10);
  margin-bottom: 0.8rem;
}

.services__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--volt);
}

.services__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding: 0 var(--pad);
  will-change: transform;
  width: max-content;
}

.s-card {
  width: clamp(300px, 34vw, 430px);
  flex-shrink: 0;
  background: var(--panel);
  border: 1px solid var(--paper-10);
  border-radius: 20px;
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 48vh, 460px);
  transition: border-color .4s, transform .4s;
  position: relative;
  overflow: hidden;
}

.s-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 230, 92, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}

.s-card:hover::after {
  opacity: 1;
}

.s-card:hover {
  border-color: rgba(92, 230, 92, 0.35);
  transform: translateY(-6px);
}

.s-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}

.s-card__num {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--paper-30);
}

.s-card__pillar {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--volt);
  border: 1px solid rgba(92, 230, 92, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}

.s-card__icon {
  width: clamp(44px, 4vw, 56px);
  height: auto;
  color: var(--volt);
  margin: 2rem 0 1.4rem;
}

.s-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 0.8rem;
}

.s-card p {
  color: var(--paper-60);
  font-size: 0.9rem;
  font-weight: 300;
}

.s-card--end {
  background: var(--volt);
  color: var(--ink);
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  border: none;
}

.s-card--end::after {
  display: none;
}

.s-card--end h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.1;
}

/* ============ TELEMETRY (light copy, dark panel) ============ */
.telemetry {
  position: relative;
  background: var(--paper);
  padding: clamp(6rem, 11vw, 10rem) var(--pad);
  overflow: hidden;
}

.bolt-field {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><path d="M68 10 40 62h20L52 110l28-52H60z" fill="none" stroke="%232FB84D" stroke-width="3"/></svg>');
  background-size: 120px;
}

.telemetry__grid {
  position: relative;
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.telemetry__copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin: 1.4rem 0 1.4rem;
  color: var(--ink);
}

.telemetry__copy p {
  color: var(--ink-60);
  max-width: 460px;
  margin-bottom: 2rem;
}

.telemetry__list {
  list-style: none;
}

.telemetry__list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink-10);
  font-size: 0.92rem;
  color: var(--ink);
}

.telemetry__list span {
  color: var(--deep-volt);
  font-size: 0.6rem;
}

.telemetry__panel {
  background: var(--ink);
  border: 1px solid var(--paper-10);
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: 0 40px 80px rgba(11, 31, 25, 0.25);
  color: var(--paper);
}

.tp__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper-60);
  margin-bottom: 2rem;
}

.tp__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--volt);
}

.tp__soc {
  position: relative;
  width: min(240px, 60%);
  margin: 0 auto 2.2rem;
}

.tp__soc svg {
  width: 100%;
  transform: rotate(-90deg);
}

.tp__ring-bg,
.tp__ring {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.tp__ring-bg {
  stroke: var(--paper-10);
}

.tp__ring {
  stroke: var(--volt);
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px rgba(92, 230, 92, 0.5));
}

.tp__soc-val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

.tp__soc-val span {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}

.tp__soc-val em {
  font-style: normal;
  font-size: 1rem;
  color: var(--paper-60);
}

.tp__soc-val small {
  font-family: var(--font-secondary);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--paper-30);
  margin-top: 0.5rem;
}

.tp__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.tp__cell {
  background: var(--panel);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--paper-10);
}

.tp__cell small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--paper-30);
}

.tp__cell strong {
  display: block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0.4rem 0 0.7rem;
}

.tp__meter {
  height: 4px;
  background: var(--paper-10);
  border-radius: 2px;
  overflow: hidden;
}

.tp__meter span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--volt);
  border-radius: 2px;
  transition: width 1s cubic-bezier(.65, .05, 0, 1);
}

.tp__meter--dim span {
  background: var(--deep-volt);
}

.tp__foot {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--paper-30);
  border-top: 1px solid var(--paper-10);
  padding-top: 1.3rem;
}

/* ============ STATS (light) ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--paper);
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}

.stat {
  padding: clamp(2.5rem, 5vw, 4.5rem) 2rem;
  text-align: center;
  border-right: 1px solid var(--ink-10);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--ink);
  line-height: 1;
}

.stat strong .count {
  color: var(--deep-volt);
}

.stat small {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ink-60);
}

/* ============ PROCESS (light) ============ */
.process {
  background: var(--paper);
}

.process__pin {
  height: 100vh;
  display: flex;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 0 var(--pad);
  max-width: 1300px;
  margin: 0 auto;
}

.process__left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.process__line {
  width: 2px;
  height: clamp(160px, 30vh, 260px);
  background: var(--ink-10);
  margin-left: 4px;
}

.process__line span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--deep-volt);
}

.process__nums {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.process__nums span {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--ink-30);
  transition: color .4s, transform .4s;
}

.process__nums span.is-active {
  color: var(--deep-volt);
  transform: translateX(6px);
}

.process__steps {
  position: relative;
  flex: 1;
  min-height: 240px;
}

.p-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity .55s cubic-bezier(.65, .05, 0, 1), transform .55s cubic-bezier(.65, .05, 0, 1);
}

.p-step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.p-step h3 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.p-step h3::after {
  content: '.';
  color: var(--deep-volt);
}

.p-step p {
  max-width: 520px;
  color: var(--ink-60);
  font-size: 1rem;
}

/* ============ CTA ============ */
.cta {
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  background: var(--paper);
}

.cta__panel {
  position: relative;
  background: var(--volt);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  clip-path: inset(8% 4% round 28px);
}

.cta__mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: clamp(220px, 30vw, 420px);
  color: rgba(11, 31, 25, 0.12);
}

.cta__panel h2 {
  position: relative;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.06;
  margin-bottom: 1.4rem;
}

.cta__panel p {
  position: relative;
  font-weight: 500;
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.cta__panel .btn {
  position: relative;
}

/* ============ FOOTER — dark rounded end panel ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 7vw, 6rem) var(--pad) 2rem;
  margin: 0 var(--inset) var(--inset);
  border-radius: var(--radius);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer__brand {
  color: var(--volt);
}

.footer__brand p {
  color: var(--paper-60);
  margin-top: 1.4rem;
  font-size: 0.92rem;
  font-weight: 300;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--paper-60);
}

.footer__col small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--paper-30);
  margin-bottom: 0.4rem;
}

.footer__col a {
  transition: color .3s;
  width: fit-content;
}

.footer__col a:hover {
  color: var(--volt);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.2rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-60);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: var(--volt);
  transform: translateY(-2px);
}

.footer__word {
  font-family: var(--font-primary);
  font-size: clamp(5rem, 18vw, 17rem);
  line-height: 0.95;
  color: var(--panel);
  text-align: center;
  user-select: none;
}

.footer__word .line-mask .line {
  transform: translateY(20%);
  opacity: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 2rem;
  margin-top: -1rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--paper-30);
  border-top: 1px solid var(--paper-10);
}

/* ============ REVEAL DEFAULTS ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

/* ============ MOBILE RESPONSIVE ============ */

/* ---- Tablet (≤ 768px) ---- */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero__content {
    margin-bottom: 2rem;
    padding: 0 calc(var(--pad) + var(--inset));
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    max-width: 100%;
  }

  .hero__sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: calc(1.2rem + var(--inset));
  }

  .hero__meta {
    display: none;
  }

  /* About */
  .about {
    padding: clamp(4rem, 8vw, 6rem) var(--pad);
  }

  .about__statement {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    margin: 1.5rem 0 2.5rem;
  }

  .about__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-left: 0;
  }

  .stream-bars {
    margin-top: 3rem;
  }

  /* Services */
  .services {
    border-radius: 18px;
  }

  .services__head h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .s-card {
    width: clamp(260px, 75vw, 320px);
    min-height: clamp(300px, 55vh, 380px);
    padding: clamp(1.2rem, 4vw, 1.8rem);
  }

  .s-card--end h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  /* Telemetry */
  .telemetry {
    padding: clamp(4rem, 8vw, 6rem) var(--pad);
  }

  .telemetry__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .telemetry__copy h2 {
    font-size: clamp(1.7rem, 6vw, 2.6rem);
  }

  .telemetry__panel {
    max-width: 440px;
  }

  /* Stats */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: clamp(1.5rem, 4vw, 2.5rem) 1.2rem;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat strong {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Process */
  .process__pin {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0 var(--pad);
    text-align: center;
  }

  .process__left {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: 100%;
  }

  .process__left .section-label {
    margin-top: 1rem;
  }

  .process__line {
    width: clamp(120px, 40vw, 220px);
    height: 2px;
    margin-left: 0;
  }

  .process__line span {
    width: 0%;
    height: 100%;
  }

  .process__nums {
    flex-direction: row;
    justify-content: center;
    gap: 1.2rem;
  }

  .process__steps {
    width: 100%;
    min-height: 220px;
  }

  .p-step {
    align-items: center;
    text-align: center;
  }

  .p-step h3 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .p-step p {
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0 auto;
  }

  /* CTA */
  .cta {
    padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
  }

  .cta__panel {
    padding: clamp(2rem, 6vw, 3.5rem);
    border-radius: 22px;
    clip-path: inset(6% 3% round 22px);
  }

  .cta__panel h2 {
    font-size: clamp(1.7rem, 6vw, 2.8rem);
  }

  .cta__mark {
    width: clamp(140px, 35vw, 200px);
    right: -8%;
  }

  /* Footer */
  .footer {
    padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 1.5rem;
    border-radius: 18px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding-top: 1.5rem;
    margin-top: 0;
  }
}

/* ---- Small phone (≤ 480px) ---- */
@media (max-width: 480px) {

  .header__logo .logo-mark {
    width: 24px;
  }

  .header__wordmark {
    font-size: 0.95rem;
  }

  .header__wordmark em {
    font-size: 0.32rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__statement {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .s-card {
    width: clamp(240px, 80vw, 290px);
    min-height: 300px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--ink-10);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .p-step h3 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }

  .cta__panel h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .cta__mark {
    display: none;
  }

  .tp__cell strong {
    font-size: 1.2rem;
  }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {

  [data-reveal],
  [data-hero-fade],
  .line-mask .line,
  .pre-bar {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee__track {
    animation: none !important;
  }
}