/* ============================================================
   TAKE CHARGE EUROPE — 2026 concept · v3 "one living charge"
   Environment fonts only (per WP): Hagrid, Expressway, script.
   HARD RULE — the server's Hagrid is a trial cut with broken
   digits: numerals NEVER render in display faces. Anything
   numeric wears .num (Expressway Bold).
   Script face: logo lockup only.
   ============================================================ */

@font-face {
  font-family: 'Hagrid X';
  src: url('/wp-content/uploads/2025/08/Hagrid-Text-Extrabold.ttf') format('truetype');
  font-weight: 800 900;
  font-display: swap;
}
@font-face {
  font-family: 'Expressway X';
  src: url('/wp-content/uploads/2025/08/expresswayfree.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Expressway X';
  src: url('/wp-content/uploads/2025/08/Expressway-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'TCE Script';
  src: url('/wp-content/uploads/2025/08/fonnts.com-ccspaghettiwestern-script.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ground: #101021;
  --ground-deep: #0A0A16;
  --ink: #EBE3E0;
  --brand: #0472FD;
  --cta: #FF4F00;
  --n-green: #008433;
  --n-pink: #E703AA;
  --n-yellow: #F6AC08;
  --line: color-mix(in srgb, var(--ink) 15%, transparent);
  --ink-dim: color-mix(in srgb, var(--ink) 62%, transparent);
  --display: 'Hagrid X', 'Arial Black', sans-serif;
  --body: 'Expressway X', 'Segoe UI', sans-serif;
  --script: 'TCE Script', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* digits and symbol-heavy strings always render in the complete face */
.num { font-family: var(--body); font-weight: 700; letter-spacing: -.01em; }

.cssdot {
  display: inline-block; width: 6px; height: 6px; border-radius: 99px;
  background: var(--brand); vertical-align: 2px; margin: 0 4px;
  box-shadow: 0 0 7px var(--brand);
}


/* ============================================= the charge spine
   A live current runs the length of the page and fills as you
   scroll: the site charging up as one circuit. */
.spine {
  position: fixed; left: 26px; top: 0; bottom: 0; width: 3px; z-index: 40;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  pointer-events: none;
}
.spine .fill {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 55%, transparent), var(--brand));
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 55%, transparent);
}
.spine .node {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 11px; height: 11px; border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 16px var(--brand), 0 0 4px #fff inset;
}
@media (max-width: 1080px) { .spine { display: none; } }

/* ------------------------------------------------ header */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--ground) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* the brand lockup — Hagrid caps, script Europe tucked under-right */
.lockup { text-decoration: none; display: inline-block; line-height: 1; }
.lockup .l-main {
  font-family: var(--display); text-transform: uppercase;
  color: var(--ink); letter-spacing: -.01em; display: block;
}
.lockup .l-script {
  font-family: var(--script); color: var(--brand);
  display: block; text-align: right; line-height: .62;
  text-transform: none;
}
.lockup-nav .l-main { font-size: 17px; }
.lockup-nav .l-script { font-size: 15px; margin-top: 2px; margin-right: -2px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 14.5px;
  letter-spacing: .02em; transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--cta); color: #fff !important; font-weight: 700;
  padding: 9px 18px; border-radius: 11px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--cta); }

/* ------------------------------------------------ hero */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative;
  padding-top: 64px;
  background:
    radial-gradient(900px 520px at 68% 18%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%),
    var(--ground);
  overflow: hidden;
}

/* drifting ions — the air itself is charged */
.ion {
  position: absolute; border-radius: 99px; pointer-events: none;
  background: var(--brand); opacity: 0;
  filter: blur(1px);
  animation: drift var(--dur, 14s) linear var(--delay, 0s) infinite;
}
@keyframes drift {
  0%   { transform: translateY(30vh) translateX(0); opacity: 0; }
  12%  { opacity: .55; }
  85%  { opacity: .3; }
  100% { transform: translateY(-65vh) translateX(var(--sway, 30px)); opacity: 0; }
}

.hero-inner { position: relative; text-align: center; padding: 40px 24px 90px; width: 100%; }

.hero-eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand);
  opacity: 0; transform: translateY(12px);
}
.booted .hero-eyebrow { animation: rise .7s var(--ease) 2.1s forwards; }

/* ------- the plug-in rig: the cable plugs EUROPE in, and stays in */
.lockup-stage { position: relative; display: inline-block; margin: 26px 0 6px; }

.hero-lockup .l-main { font-size: clamp(54px, 11vw, 150px); line-height: .92; }
.hero-lockup .l-script {
  font-size: clamp(36px, 6.4vw, 88px);
  margin-top: 4px; margin-right: -.04em; line-height: .8;
}
.hero-lockup { opacity: 0; display: inline-block; }
.booted .hero-lockup { animation: ignite 1.15s steps(1, end) 1.5s forwards; }
@keyframes ignite {
  0%   { opacity: .07; filter: none; }
  7%   { opacity: .95; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--brand) 80%, transparent)); }
  11%  { opacity: .12; filter: none; }
  17%  { opacity: 1;   filter: drop-shadow(0 0 42px color-mix(in srgb, var(--brand) 90%, transparent)); }
  23%  { opacity: .35; filter: none; }
  31%  { opacity: 1;   filter: drop-shadow(0 0 36px color-mix(in srgb, var(--brand) 75%, transparent)); }
  40%  { opacity: .75; }
  48%  { opacity: 1; }
  100% { opacity: 1; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--brand) 34%, transparent)); }
}

/* socket bolted to the wordmark's left edge — Europe's inlet */
.inlet {
  position: absolute; left: -46px; top: 42%;
  width: 34px; height: 56px; border-radius: 10px;
  transform: translateY(-50%);
  background: var(--ground-deep);
  border: 2px solid color-mix(in srgb, var(--ink) 30%, var(--ground));
  display: grid; place-items: center; grid-auto-flow: row; gap: 6px; padding-block: 10px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  z-index: 2;
}
.inlet i {
  width: 6px; height: 6px; border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 30%, var(--ground));
  transition: background .3s, box-shadow .3s;
}
.docked .inlet {
  border-color: var(--brand);
  box-shadow: 0 0 26px -6px var(--brand);
}
.docked .inlet i { background: var(--n-green); box-shadow: 0 0 8px var(--n-green); }

/* the cable: v1's sweeping arc, thicker, anchored to the inlet */
.cablewrap {
  position: absolute;
  right: calc(100% + 26px);   /* nose lands under the inlet: docked, not near it */
  top: 42%; transform: translateY(-50%);
  width: 52vw; max-width: 900px; height: 340px;
  pointer-events: none;
}
.cablewrap svg { width: 100%; height: 100%; overflow: visible; }
.cable {
  fill: none; stroke: color-mix(in srgb, var(--ink) 32%, var(--ground));
  stroke-width: 16; stroke-linecap: round;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
}
.booted .cable { animation: draw 1.1s var(--ease) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.current {
  fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 70 1930; stroke-dashoffset: 2000;
  opacity: 0;
  filter: drop-shadow(0 0 7px var(--brand));
}
.booted.docked .current { animation: flow 2.6s linear infinite; opacity: 1; }
@keyframes flow { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: -2000; } }

.plug {
  offset-path: path('M -1150 -120 C -760 -120 -560 190 -230 190 C -110 190 -110 6 34 6');
  offset-distance: 0%; offset-rotate: auto;
  opacity: 0;
}
.booted .plug { animation: travel 1.1s var(--ease) .35s forwards; }
@keyframes travel {
  0%   { offset-distance: 0%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 1; }
}
.spark {
  fill: var(--n-yellow); opacity: 0;
  transform-origin: center; transform-box: fill-box;
}
.booted .spark { animation: spark .4s ease-out 1.42s; }
@keyframes spark {
  0% { opacity: 1; transform: scale(.2) rotate(0deg); }
  100% { opacity: 0; transform: scale(1.8) rotate(24deg); }
}

.hero-sub {
  max-width: 620px; margin: 22px auto 0;
  color: var(--ink-dim); font-size: clamp(16px, 1.6vw, 19px);
  opacity: 0; transform: translateY(12px);
}
.booted .hero-sub { animation: rise .7s var(--ease) 2.25s forwards; }

.hero-ctas {
  display: flex; gap: 14px; justify-content: center; margin-top: 30px;
  opacity: 0; transform: translateY(12px);
}
.booted .hero-ctas { animation: rise .7s var(--ease) 2.4s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.btn {
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 13px; text-decoration: none;
  display: inline-block; letter-spacing: .02em; border: 0; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { box-shadow: 0 12px 30px -10px var(--cta); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: none; }
.btn-ghost:hover { border-color: var(--brand); box-shadow: 0 12px 30px -14px var(--brand); }

.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 56px;
  opacity: 0; transform: translateY(12px);
}
.booted .hero-stats { animation: rise .7s var(--ease) 2.55s forwards; }
.stat { text-align: center; }
.stat b {
  font-family: var(--body); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  display: block; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.stat b .accent { color: var(--brand); }
.stat span {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-dim);
}
.stat .led {
  display: inline-block; width: 7px; height: 7px; border-radius: 99px;
  margin-right: 7px; vertical-align: 1px;
  box-shadow: 0 0 8px currentColor;
}
.led-g { color: var(--n-green); background: var(--n-green); }
.led-y { color: var(--n-yellow); background: var(--n-yellow); }
.led-p { color: var(--n-pink); background: var(--n-pink); }

.replay {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: none; border: 1px solid var(--line); color: var(--ink-dim);
  font-family: var(--body); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 99px; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.replay:hover { color: var(--ink); border-color: var(--brand); }

/* ------------------------------------------------ ticker */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  background: var(--ground-deep);
  padding: 13px 0;
}
.ticker-track { display: inline-block; animation: marquee 34s linear infinite; }
.ticker span {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-dim); margin: 0 26px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------ sections */
.section { padding: 110px 0; position: relative; }
.section-eyebrow {
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-size: 13px; color: var(--brand); margin-bottom: 14px;
}
h2 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02; letter-spacing: -.015em; text-transform: uppercase;
  max-width: 820px;
}
.section-intro { color: var(--ink-dim); max-width: 560px; margin-top: 18px; font-size: 18px; }

/* ------------------------------------------------ logo wall */
.logo-rows { margin-top: 60px; display: grid; gap: 18px; overflow: hidden; }
.logo-row { display: flex; gap: 18px; width: max-content; }
.logo-row.r1 { animation: marquee 42s linear infinite; }
.logo-row.r2 { animation: marquee 42s linear infinite reverse; }
.logo-chip {
  background: #fff; border-radius: 16px;
  height: 84px; width: 200px; flex: none;
  display: grid; place-items: center; padding: 18px 26px;
  grid-template: 100% / 100%;
  overflow: hidden;
}
.logo-chip img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ------------------------------------------------ letter */
.quote-band { background: var(--ground-deep); border-block: 1px solid var(--line); }
.letter-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.letter-quote {
  font-family: var(--display); font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -.015em; text-transform: uppercase;
}
.letter-quote em, .letter-quote .num { color: var(--brand); font-style: normal; }
.letter-quote .num { font-size: .96em; }
.letter-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 38px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ink) 5%, transparent), transparent 55%);
  position: relative;
}
.letter-card::before {
  content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--n-pink));
}
.letter-card p { color: var(--ink-dim); margin-bottom: 16px; }
.sig-count {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 22px;
}
.sig-count i {
  width: 7px; height: 7px; border-radius: 99px; background: var(--n-green);
  box-shadow: 0 0 8px var(--n-green);
}
.letter-link {
  color: var(--brand); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--brand) 40%, transparent);
  transition: border-color .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.letter-link:hover { border-color: var(--brand); }
.letter-link svg { width: 15px; height: 15px; }

/* ------------------------------------------------ pillars — alive on arrival */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.pillar {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--ground-deep);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
/* colour from the start: per-pillar accent duotone, not black and white */
.pillar figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pillar figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.05) brightness(.9);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.pillar figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--pc, var(--brand)) 26%, transparent),
    color-mix(in srgb, var(--ground) 66%, transparent) 92%);
  mix-blend-mode: multiply;
}
.pillar figure::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; z-index: 2;
  background: var(--pc, var(--brand));
  transform: scaleX(0); transform-origin: left;
}
.pillar:hover figure img { filter: saturate(1.05) contrast(1) brightness(.98); transform: scale(1.05); }
.pillar:hover { transform: translateY(-6px); }
.pillar-body { padding: 24px 24px 30px; }
.pillar h3 {
  font-family: var(--display); font-size: 19px; letter-spacing: -.01em;
  text-transform: uppercase; line-height: 1.15; margin-bottom: 10px;
}
.pillar p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; }

/* current sweeps through the row: each card takes its turn, forever */
.pillars.is-live .pillar { animation: ppulse 6.4s var(--ease) calc(var(--i) * 1.6s) infinite; }
.pillars.is-live .pillar figure::before { animation: psweep 6.4s var(--ease) calc(var(--i) * 1.6s) infinite; }
@keyframes ppulse {
  0%, 26%, 100% { border-color: var(--line); box-shadow: 0 0 0 -12px transparent; }
  8% {
    border-color: color-mix(in srgb, var(--pc, var(--brand)) 60%, transparent);
    box-shadow: 0 22px 54px -28px var(--pc, var(--brand));
  }
}
@keyframes psweep {
  0%, 26%, 100% { transform: scaleX(0); }
  6% { transform: scaleX(1); transform-origin: left; }
  18% { transform: scaleX(1); }
  25% { transform: scaleX(0); transform-origin: right; }
}
/* hover takes priority over the roll */
.pillars.is-live .pillar:hover { animation-play-state: paused; border-color: color-mix(in srgb, var(--pc, var(--brand)) 60%, transparent); box-shadow: 0 24px 50px -30px var(--pc, var(--brand)); }
.pillars.is-live .pillar:hover figure::before { animation-play-state: paused; transform: scaleX(1); }

/* ------------------------------------------------ mission — the photo is the point */
.mission {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  min-height: 78vh;
  display: grid; align-items: end;
}
.mission .bg { position: absolute; inset: -12% 0; }
.mission .bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* colour photo, gently graded into the world — not black and white */
  filter: saturate(.95) contrast(1.04) brightness(.9);
}
.mission .bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--ground) 92%, transparent) 10%, transparent 52%),
    linear-gradient(90deg, color-mix(in srgb, var(--ground) 45%, transparent), transparent 40%);
}
.mission .shade {
  position: absolute; inset: 0; background: var(--ground); opacity: .18;
}
.mission h2, .mission .section-intro, .mission .section-eyebrow {
  text-shadow: 0 2px 26px rgba(10, 10, 22, .85), 0 1px 4px rgba(10, 10, 22, .6);
}
.mission .wrap { position: relative; padding-block: 0 70px; }
.mission h2 { max-width: 640px; }
.mission h2 .accent { color: var(--brand); }
.mission .section-intro { max-width: 480px; }

/* scroll-driven parallax where supported; static and lovely where not */
@supports (animation-timeline: view()) {
  .mission .bg img {
    animation: par linear both;
    animation-timeline: view();
  }
  @keyframes par {
    /* anti-scroll: image drifts against the page for depth */
    from { transform: translateY(7%)  scale(1.08); }
    to   { transform: translateY(-7%) scale(1.08); }
  }
  .mission .shade {
    animation: shade linear both;
    animation-timeline: view();
  }
  @keyframes shade {
    from { opacity: .08; }
    60%  { opacity: .35; }
    to   { opacity: .72; }
  }
  .pillar figure img {
    animation: par2 linear both;
    animation-timeline: view();
  }
  @keyframes par2 {
    from { transform: translateY(-4%) scale(1.09); }
    to   { transform: translateY(4%)  scale(1.09); }
  }
}

/* ------------------------------------------------ voices */
.bigquote {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.08; letter-spacing: -.015em; text-transform: uppercase;
  max-width: 900px; position: relative; padding-top: 34px;
}
.bigquote::before {
  content: '"'; font-family: var(--body); font-weight: 700;
  position: absolute; top: -6px; left: 0;
  font-size: 74px; line-height: 1; color: var(--brand); opacity: .85;
}
.bigquote mark {
  background: none; color: var(--ink);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--brand) 45%, transparent), color-mix(in srgb, var(--n-pink) 45%, transparent));
  background-repeat: no-repeat; background-size: 100% 30%; background-position: 0 90%;
}
.attrib { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px;
  font-size: 13.5px; letter-spacing: .06em; color: var(--ink-dim);
}

/* ------------------------------------------------ insights — colour first */
.insights { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; }
.insight {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--ground-deep); text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  display: block;
}
.insight:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.insight figure { aspect-ratio: 21 / 9; overflow: hidden; position: relative; }
.insight figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) brightness(.92);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.insight figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--ground) 82%, transparent));
}
.insight:hover figure img { filter: saturate(1.05) brightness(1); transform: scale(1.03); }
.insight-body { padding: 24px 26px 28px; }
.insight .meta {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.insight h3 {
  font-family: var(--display); font-size: 21px; line-height: 1.2;
  letter-spacing: -.01em; text-transform: uppercase;
}
.insight h3 .num { font-size: .95em; }

/* ------------------------------------------------ CTA */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .grid-lines {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(600px 380px at 50% 50%, #000, transparent);
}
/* charge races through the grid: pulses on the traces, cells lighting up */
.circuit { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.trace {
  position: absolute; height: 2px; width: 160px;
  background: linear-gradient(90deg, transparent, var(--brand) 55%, transparent);
  filter: drop-shadow(0 0 7px var(--brand));
  left: -180px;
  animation: traceX var(--tdur, 6s) linear var(--tdelay, 0s) infinite;
  opacity: .85;
}
.trace.v {
  width: 2px; height: 140px; left: auto; top: -160px;
  background: linear-gradient(180deg, transparent, var(--brand) 55%, transparent);
  animation: traceY var(--tdur, 7s) linear var(--tdelay, 0s) infinite;
}
@keyframes traceX { to { transform: translateX(calc(100vw + 360px)); } }
@keyframes traceY { to { transform: translateY(620px); } }
.cell {
  position: absolute; width: 10px; height: 10px; border-radius: 3px;
  background: var(--brand); opacity: 0;
  box-shadow: 0 0 16px var(--brand);
  animation: cellblink var(--cdur, 5.2s) ease-in-out var(--cdelay, 0s) infinite;
}
@keyframes cellblink {
  0%, 78%, 100% { opacity: 0; }
  84% { opacity: .95; }
  90% { opacity: .25; }
  94% { opacity: .7; }
}
.cta-band h2, .cta-band .section-intro { margin-inline: auto; }
.cta-band form { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band input {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border: 1px solid var(--line); border-radius: 13px;
  padding: 15px 20px; width: min(360px, 80vw);
  transition: border-color .2s, box-shadow .2s;
}
.cta-band input::placeholder { color: var(--ink-dim); }
.cta-band input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}

/* ------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--ink-dim); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer nav a { color: var(--ink-dim); text-decoration: none; margin-left: 22px; }
footer nav a:hover { color: var(--ink); }

/* ------------------------------------------------ reveal */
.rev { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rev.is-on { opacity: 1; transform: none; }
.rev.d1 { transition-delay: .08s; } .rev.d2 { transition-delay: .16s; }
.rev.d3 { transition-delay: .24s; } .rev.d4 { transition-delay: .32s; }

/* ------------------------------------------------ responsive */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .letter-grid { grid-template-columns: 1fr; gap: 40px; }
  .insights { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .cablewrap, .inlet { display: none; }   /* the plug-in is a desktop moment */
  .hero-stats { gap: 26px; flex-wrap: wrap; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .booted .cable, .booted .current, .booted .plug, .booted .spark,
  .booted .hero-lockup, .booted .hero-eyebrow, .booted .hero-sub,
  .booted .hero-ctas, .booted .hero-stats {
    animation: none !important; opacity: 1 !important; transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .booted .hero-lockup { filter: drop-shadow(0 0 24px color-mix(in srgb, var(--brand) 34%, transparent)); }
  .ticker-track, .logo-row, .ion, .trace, .cell { animation: none !important; }
  .trace, .cell { opacity: 0 !important; }
  .mission .shade { animation: none !important; opacity: .3 !important; }
  .pillars.is-live .pillar, .pillars.is-live .pillar figure::before { animation: none !important; }
  .mission .bg img, .pillar figure img { animation: none !important; }
  .rev { opacity: 1; transform: none; transition: none; }
  .spine .node { box-shadow: none; }
}

/* WordPress context: outrank the Elementor kit's body background, and keep
   the admin bar from colliding with the fixed header when logged in */
body.tce26-front { background: var(--ground); }
body.tce26-front.admin-bar header { top: 32px; }
