/* base.css — gerado a partir de site-behaviors + motion-extras + motion-pulse
   (C-12 do diagnóstico SEO Genome). Editar os três arquivos de origem e
   concatenar de novo: cat site-behaviors.css motion-extras.css motion-pulse.css > base.css */

/* ==== site-behaviors.css ==== */
/* site-behaviors.css — comportamentos compartilhados das 4 páginas */

/* ============ MOBILE MENU ============ */
.rs-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid var(--hairline-strong);
  cursor: pointer; padding: 0;
  transition: border-color .2s;
}
.rs-burger:hover { border-color: var(--ember); }
.rs-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--bone);
  transition: transform .2s, opacity .2s;
}
.rs-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rs-burger.open span:nth-child(2) { opacity: 0; }
.rs-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.rs-mobile-drawer {
  position: fixed; inset: 64px 0 0 0; z-index: 49;
  background: rgba(5,5,7,0.98); backdrop-filter: blur(24px);
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateY(-100%); opacity: 0;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), opacity .25s;
  pointer-events: none;
  overflow-y: auto;
}
.rs-mobile-drawer.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.rs-mobile-drawer a {
  font-family: var(--type-display);
  font-weight: 300;
  font-size: 32px;
  color: var(--bone);
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  transition: color .2s, padding-left .2s;
}
.rs-mobile-drawer a:hover { color: var(--ember); padding-left: 8px; }
.rs-mobile-drawer a.active { color: var(--ember); }
.rs-mobile-drawer .group-label {
  font-family: var(--type-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute); margin-top: 16px;
  padding-bottom: 4px; border: none;
}
.rs-mobile-drawer .cta {
  margin-top: 24px; align-self: flex-start;
  padding: 14px 22px; border: 1px solid var(--ember);
  background: var(--ember); color: var(--void);
  font-family: var(--type-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}

@media (max-width: 980px) {
  .rs-burger { display: flex !important; }
  .rs-nav { display: none !important; }
  .rs-cta:not(.rs-cta-mobile) { display: none !important; }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ember), var(--ember-glow, #ff5a1f));
  z-index: 100;
  transition: width .08s linear;
  pointer-events: none;
}

/* ============ FAQ ACCORDION ============ */
.faq-list li {
  cursor: pointer;
  transition: padding-left .2s;
}
.faq-list li .qa .a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s cubic-bezier(0.22, 1, 0.36, 1), opacity .25s ease;
}
.faq-list li.open .qa .a {
  max-height: 800px;
  opacity: 1;
}
.faq-list li .q {
  position: relative;
  padding-right: 40px;
  transition: color .2s;
}
.faq-list li .q::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--type-mono);
  font-size: 24px; font-weight: 300;
  color: var(--bone-mute);
  transition: transform .25s, color .2s;
  line-height: 1;
}
.faq-list li.open .q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--ember);
}
.faq-list li.open .q { color: var(--bone); }
.faq-list li:hover .q::after { color: var(--ember); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(0.22, 1, 0.36, 1),
              transform .8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============ FOOTER (estruturado) ============ */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--hairline);
  padding: 80px 40px 32px;
  color: var(--bone-dim);
}
.site-footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px; align-items: start;
}
.site-footer .brand-col h4 {
  font-family: var(--type-display); font-style: italic; font-weight: 300;
  font-size: 28px; color: var(--bone); margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.site-footer .brand-col h4 em { color: var(--ember); font-style: normal; }
.site-footer .brand-col p {
  font-size: 14px; line-height: 1.6; color: var(--bone-dim);
  max-width: 320px;
}
.site-footer .col h5 {
  font-family: var(--type-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute); margin-bottom: 20px; font-weight: 500;
}
.site-footer .col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.site-footer .col a {
  font-size: 14px; color: var(--bone-dim);
  transition: color .15s;
}
.site-footer .col a:hover { color: var(--ember); }

.site-footer-bottom {
  max-width: 1240px; margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--type-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute);
}
.site-footer-bottom .links { display: flex; gap: 20px; }
.site-footer-bottom .links a { color: var(--bone-mute); transition: color .15s; }
.site-footer-bottom .links a:hover { color: var(--ember); }

@media (max-width: 880px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-progress { display: none; }
}



/* ============ FOOTER ============ */
.site-footer {
  margin-top: 140px;
  padding: 64px 48px 28px;
  border-top: 1px solid var(--hairline);
  background: var(--void);
  position: relative;
  overflow: hidden;
}

/* Top row: brand only */
.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}

/* Social icons */
.sf-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  color: var(--bone-mute);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.sf-social a:hover {
  color: var(--ember);
  border-color: var(--ember);
  background: rgba(255,58,14,0.06);
}
.sf-social svg {
  width: 14px; height: 14px;
  display: block;
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.site-footer-brand .sf-sym {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  display: block;
}
.site-footer-brand .sf-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}
.site-footer-brand .sf-name {
  font-family: var(--type-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.site-footer-brand .sf-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember);
}
.site-footer-brand .sf-tag {
  font-family: var(--type-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
}

.site-footer-top .legal-links { display: none; }

/* Bottom legal row: copyright left, links right */
.site-footer-legal {
  border: 0;
  padding-top: 28px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer-legal .legal-year {
  font-family: var(--type-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.site-footer-legal .legal-links {
  display: flex;
  gap: 28px;
}
.site-footer-legal .legal-links a {
  font-family: var(--type-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer-legal .legal-links a:hover { color: var(--ember); }

@media (max-width: 600px) {
  .site-footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer-legal { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .site-footer-legal .legal-year { white-space: nowrap; font-size: 8.5px; letter-spacing: 0.1em; }
  .site-footer-legal .legal-links { justify-content: center; gap: 32px; }
}

/* Big watermark — fills width, no cut */
.site-footer-bigtype {
  display: block;
  width: 100%;
  margin: 56px 0 32px;
  padding: 0;
  font-family: var(--type-display);
  font-weight: 400;
  font-size: clamp(56px, calc((100vw - 96px) / 7.1), 360px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--ember);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  text-align: left;
}
.site-footer-bigtype span { display: inline-block; }
.site-footer-bigtype em {
  font-style: italic;
  font-weight: 300;
  color: var(--bone);
}

/* Tiny copyright line */
.site-footer-legal {
  border: 0;
  padding-top: 32px;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.site-footer-legal .legal-year {
  font-family: var(--type-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
}

@media (max-width: 880px) {
  .site-footer {
    padding: 48px 24px 24px;
    margin-top: 96px;
  }
  .site-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 36px;
  }
  .site-footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .site-footer-legal .legal-year { white-space: nowrap; font-size: 9px; letter-spacing: 0.1em; }
  .site-footer-legal .legal-links { justify-content: center; gap: 32px; }
}


/* ==== motion-extras.css ==== */
/* motion-extras.css
   Visual layer for motion-extras.js + extras (4, 5, 6, 9).
*/

/* ============ 1) HERO WORD REVEAL ============ */
.cascade .l { display: block; }
.cascade .word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
  transition:
    opacity .85s cubic-bezier(.22,1,.36,1) var(--wd, 0ms),
    filter .85s cubic-bezier(.22,1,.36,1) var(--wd, 0ms),
    transform .9s cubic-bezier(.22,1,.36,1) var(--wd, 0ms);
}
.cascade.words-in .word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
/* Disable the original line-cascade animation since words handle reveal */
.cascade .l { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ============ 2) MANIFESTO STAGGERED REVEAL ============ */
.manifesto .open .mword {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity .9s cubic-bezier(.22,1,.36,1) var(--md, 0ms),
    transform 1s cubic-bezier(.22,1,.36,1) var(--md, 0ms),
    filter .9s cubic-bezier(.22,1,.36,1) var(--md, 0ms);
}
.manifesto .open.mwords-in .mword {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.manifesto .mstag {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.05s cubic-bezier(.22,1,.36,1) var(--msd, 0ms),
    transform 1.05s cubic-bezier(.22,1,.36,1) var(--msd, 0ms);
}
.manifesto .mstag.mstag-in {
  opacity: 1;
  transform: translateY(0);
}

/* SPLIT FLIP SEQUENCE — Service as a System reveal */
/* Strikethrough draws across "System as a Service." */
.manifesto .col.old .big .strike::after {
  transform-origin: left center;
  transform: rotate(-4deg) scaleX(0);
  transition: transform .9s cubic-bezier(.65,0,.35,1) .35s;
}
.manifesto .split.split-animate .col.old .big .strike::after {
  transform: rotate(-4deg) scaleX(1);
}

/* VS badge does a vertical flip (rotateX 180) */
.manifesto .vs span {
  display: inline-block;
  perspective: 200px;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.65,0,.35,1) .55s, color .6s ease .55s;
  color: var(--bone-mute);
}
.manifesto .split.split-animate .vs span {
  transform: rotateX(360deg);
  color: var(--ember);
}

/* Old arrow drifts right, new arrow drifts left (entering the flip direction) */
.manifesto .col.old .arrow-row .arrow,
.manifesto .col.new .arrow-row .arrow {
  display: inline-block;
  opacity: 0;
  transition: opacity .6s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.manifesto .col.old .arrow-row .arrow { transform: translateX(-14px); transition-delay: .15s; }
.manifesto .col.new .arrow-row .arrow { transform: translateX(14px);  transition-delay: .85s; }
.manifesto .split.split-animate .col.old .arrow-row .arrow,
.manifesto .split.split-animate .col.new .arrow-row .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Ember words in new col pulse on after the flip */
.manifesto .col.new .big em {
  opacity: 0;
  text-shadow: 0 0 0 rgba(255, 68, 0, 0);
  transition: opacity .7s ease, text-shadow .8s ease;
}
.manifesto .col.new .big em:nth-of-type(1) { transition-delay: 1.1s; }
.manifesto .col.new .big em:nth-of-type(2) { transition-delay: 1.35s; }
.manifesto .split.split-animate .col.new .big em {
  opacity: 1;
  text-shadow: 0 0 26px rgba(255, 68, 0, 0.55);
}
/* After the glow, settle */
.manifesto .split.split-animate .col.new .big em {
  animation: ember-settle 1.4s ease-out 1.9s forwards;
}
@keyframes ember-settle {
  0%   { text-shadow: 0 0 26px rgba(255, 68, 0, 0.55); }
  100% { text-shadow: 0 0 0 rgba(255, 68, 0, 0); }
}

/* ============ 3) MAGNETIC CTA — handled in JS via transform ============ */

/* ============ 4) HAIRLINES DRAWING IN ============ */
.lbl-row .line,
.hero-eyebrow .line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.65,0,.35,1) .15s;
}
/* hero: animate on load */
.hero-eyebrow .line { transform: scaleX(1); }
.hero-eyebrow .line {
  animation: hairline-draw 1.1s cubic-bezier(.65,0,.35,1) .2s both;
}
@keyframes hairline-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
/* sections: animate when section gets .in via existing reveal */
section.in .lbl-row .line,
section .lbl-row.in .line {
  transform: scaleX(1);
}
/* Fallback: ensure visible if reveal system never fires */
.no-js .lbl-row .line { transform: scaleX(1); }

/* ============ 5) KEN BURNS — ADVISORY IMAGE ============ */
@keyframes ken-burns {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.07) translate(-1.5%, -1%); }
  100% { transform: scale(1.02) translate(0, 0); }
}
.adv-visual .bg-video {
  animation: ken-burns 26s ease-in-out infinite;
  will-change: transform;
}

/* ============ 6) SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--ember), #FF1A00);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 68, 0, 0.55);
  transition: width .12s linear;
}

/* ============ 7) COUNTERS — visual handled by JS ============ */

/* ============ 8) ACTIVE SECTION DOT PULSE ============ */
.lbl-row.eyebrow-pulsable::before,
.hero-eyebrow.eyebrow-pulsable::before {
  transition: box-shadow .4s ease, transform .4s ease;
}
.lbl-row.eyebrow-active::before,
.hero-eyebrow.eyebrow-active::before {
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(255,58,14,0.55),
      0 0 0 0 rgba(255,58,14,0.35);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 18px rgba(255,58,14,0.85),
      0 0 0 8px rgba(255,58,14,0);
    transform: scale(1.18);
  }
}

/* ============ 9) ARROW LINKS — UNDERLINE HOVER ============ */
/* For .arrow links that are inline-flex (manifesto, advisory, product-foot) */
a.arrow {
  position: relative;
}
a.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.65,0,.35,1);
  opacity: 0.7;
}
a.arrow:hover::before { transform: scaleX(1); }
/* Don't apply to bordered arrow buttons (product-foot has a box) */
.product-foot a.arrow::before { display: none; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .cascade .word,
  .manifesto .open .mword,
  .manifesto .mstag {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
  .lbl-row .line,
  .hero-eyebrow .line {
    transform: scaleX(1) !important;
    animation: none !important;
  }
  .adv-visual .bg-video { animation: none !important; }
  .lbl-row.eyebrow-active::before,
  .hero-eyebrow.eyebrow-active::before {
    animation: none !important;
  }
  .scroll-progress { display: none; }
}


/* ==== motion-pulse.css ==== */
/* motion-pulse.css
   Continuous-motion layer on top of motion-extras.
   Idempotent. Reduced-motion respected at bottom. */

/* ============ 1) HERO AMBIENT ============ */
.hero { position: relative; isolation: isolate; }
.hero-ambient {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
/* Drifting plasma */
.hero-ambient::before,
.hero-ambient::after {
  content: ""; position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}
.hero-ambient::before {
  left: -20vmax; top: -10vmax;
  background: radial-gradient(circle, rgba(255, 58, 14, 0.55) 0%, rgba(255, 58, 14, 0) 60%);
  animation: hp-drift-a 22s ease-in-out infinite alternate;
}
.hero-ambient::after {
  right: -22vmax; bottom: -18vmax;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.32) 0%, rgba(255, 90, 31, 0) 60%);
  animation: hp-drift-b 28s ease-in-out infinite alternate;
}
@keyframes hp-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(12vmax, 8vmax) scale(1.1); }
  100% { transform: translate(-6vmax, 14vmax) scale(0.95); }
}
@keyframes hp-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-10vmax, -6vmax) scale(1.15); }
  100% { transform: translate(8vmax, 6vmax) scale(0.9); }
}

/* Hero dot grid — moving with cursor */
.hero-grid {
  position: absolute; inset: -40px; z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 95%);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

/* Cursor spotlight */
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background:
    radial-gradient(circle 480px at var(--mx, 50%) var(--my, 50%),
      rgba(255, 58, 14, 0.12) 0%,
      rgba(255, 58, 14, 0.04) 35%,
      transparent 70%);
  mix-blend-mode: screen;
}
.hero:hover .hero-spotlight { opacity: 1; }

/* Hero-inner above ambient layers */
.hero-inner { position: relative; z-index: 2; }

/* Subtle parallax on the headline (set via JS --py) */
.cascade { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ============ 2) SECTION TRANSITION HAIRLINE ============ */
section { position: relative; }
section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,58,14,0.55) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(.65,0,.35,1) .1s;
  pointer-events: none;
  opacity: 0.7;
  z-index: 4;
}
section.in-view::after { transform: scaleX(1); }

/* ============ 3) MID-PAGE MARQUEE STRIP ============ */
.mp-marquee {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  background: linear-gradient(180deg, #07070a 0%, var(--void) 100%);
  height: 56px;
  display: flex; align-items: center;
}
.mp-marquee-track {
  display: flex;
  width: max-content;
  animation: mp-mq-scroll 38s linear infinite;
}
.mp-marquee-track:hover { animation-play-state: paused; }
.mp-mq-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 32px;
  white-space: nowrap;
  font-family: var(--type-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute);
}
.mp-mq-item b { color: var(--bone); font-weight: 500; }
.mp-mq-item em { color: var(--ember); font-style: normal; }
.mp-mq-item::after {
  content: "●"; color: var(--ember); font-size: 8px; margin-left: 16px;
}
@keyframes mp-mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ 4) SCRAMBLER ============ */
.scramble {
  font-variant-ligatures: none;
  display: inline-block;
}
.scramble.is-scrambling {
  color: var(--ember);
  text-shadow: 0 0 12px rgba(255, 58, 14, 0.45);
}

/* ============ 5) PARALLAX BACKGROUNDS ============ */
.adv-visual .bg,
.gs-bg img,
.close-bg video {
  will-change: transform;
}
.adv-visual .bg { transform: translate3d(0, var(--adv-py, 0px), 0) scale(1.08); }
.gs-bg img      { transform: translate3d(0, var(--gs-py, 0px), 0) scale(1.06); }

/* ============ 6) FRAMEWORK CARD COMET ============ */
.fw-card { overflow: hidden; }
.fw-card::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(90deg, transparent, rgba(255,58,14,0.65), transparent) top left/100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(255,58,14,0.65), transparent) top right/1px 100% no-repeat,
    linear-gradient(90deg, transparent, rgba(255,58,14,0.65), transparent) bottom right/100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(255,58,14,0.65), transparent) bottom left/1px 100% no-repeat;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}
.fw-card:hover::before { opacity: 1; animation: fw-sweep 2.2s linear infinite; }
@keyframes fw-sweep {
  0%   { background-position: -100% 0, top right, 200% 100%, bottom -100%; }
  100% { background-position:  200% 0, top right, -100% 100%, bottom 200%; }
}
/* Comet dot riding the border */
.fw-card .fw-comet {
  position: absolute; top: -3px; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 14px rgba(255,58,14,0.9), 0 0 28px rgba(255,58,14,0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  offset-path: rect(0 100% 100% 0);
  offset-distance: 0%;
}
.fw-card:hover .fw-comet {
  opacity: 1;
  animation: fw-comet-run 3.2s linear infinite;
}
@keyframes fw-comet-run {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* ============ 7) HERO SCROLL CUE ============ */
.hero-scrollcue {
  position: absolute; left: 32px; bottom: 20px; z-index: 3;
  font-family: var(--type-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-mute);
  display: flex; align-items: center; gap: 12px;
  pointer-events: none;
}
.hero-scrollcue::before {
  content: ""; width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--ember), transparent);
  background-size: 100% 200%;
  animation: cue-pulse 2.4s ease-in-out infinite;
}
@keyframes cue-pulse {
  0%   { background-position: 0% 200%; opacity: 0.3; }
  50%  { opacity: 1; }
  100% { background-position: 0% -100%; opacity: 0.3; }
}
@media (max-width: 720px) { .hero-scrollcue { display: none; } }

/* ============ 8) OPS COUNTER FLICKER (continuous life) ============ */
.ops-cell .big {
  position: relative;
}
.ops-cell .big::after {
  content: ""; position: absolute; left: 0; right: 30%; bottom: -6px;
  height: 1px; background: var(--ember); opacity: 0;
  transform-origin: left;
  animation: ops-tick 6s ease-in-out infinite;
}
.ops-cell:nth-child(2) .big::after { animation-delay: 1.2s; }
.ops-cell:nth-child(3) .big::after { animation-delay: 2.6s; }
.ops-cell:nth-child(4) .big::after { animation-delay: 4.1s; }
@keyframes ops-tick {
  0%, 92%, 100% { opacity: 0; transform: scaleX(0); }
  93%           { opacity: 1; transform: scaleX(0); }
  98%           { opacity: 1; transform: scaleX(1); }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .hero-ambient::before,
  .hero-ambient::after { animation: none; }
  .mp-marquee-track { animation: none; }
  .fw-card:hover::before { animation: none; }
  .fw-card .fw-comet { display: none; }
  .hero-scrollcue::before { animation: none; }
  .ops-cell .big::after { display: none; }
  section::after { transition: none; transform: scaleX(1); }
}
