/* ============================================================
   ANARCALLY — Premium Design System v7
   Transparent Marquee · Futuristic Motion · Cinematic Polish
   ============================================================ */

/* ─────────────────────────────────────
   01. TOKENS
───────────────────────────────────── */
:root {
  --gold:        #E99D25;
  --gold-light:  #F5B444;
  --gold-bright: #FFCC55;
  --gold-dim:    rgba(233,157,37,0.16);
  --gold-glow:   rgba(233,157,37,0.32);
  --gold-glow2:  rgba(233,157,37,0.08);

  --bg:          #07060505;
  --bg-deep:     #060504;
  --gold-bg:     #F2B830;   /* hero / light sections */

  --ink:         #0A0A0A;
  --white:       #FFFFFF;
  --w80:         rgba(255,255,255,0.80);
  --w50:         rgba(255,255,255,0.50);
  --w20:         rgba(255,255,255,0.20);
  --w08:         rgba(255,255,255,0.08);
  --w04:         rgba(255,255,255,0.04);
  --w02:         rgba(255,255,255,0.02);

  --ff-display: 'Syne', sans-serif;
  --ff-body:    'Outfit', sans-serif;
  --ff-mono:    'Courier New', monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap:   cubic-bezier(0.6, 0.05, -0.01, 0.9);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.87, 0, 0.13, 1);

  --container: 1240px;
  --r:         14px;
  --r-lg:      22px;
  --hh:        70px;   /* header height */
}

/* ─────────────────────────────────────
   02. RESET
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; overflow-x: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img{ display: block; max-width: 100%; }
em { font-style: normal; }
button { background: none; border: none; cursor: none; }

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

::-webkit-scrollbar      { width: 4px; }
::-webkit-scrollbar-track{ background: var(--bg-deep); }
::-webkit-scrollbar-thumb{ background: var(--gold); border-radius: 2px; }

/* ─────────────────────────────────────
   03. FIXED OVERLAYS  (noise + grid)
───────────────────────────────────── */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: noiseShift 9s steps(10) infinite;
}
@keyframes noiseShift {
  0%,100%{ transform:translate(0,0);}   10%{ transform:translate(-2%,-3%);}
  20%{ transform:translate(3%,2%);}     30%{ transform:translate(-1%,4%);}
  40%{ transform:translate(4%,-1%);}    50%{ transform:translate(-3%,3%);}
  60%{ transform:translate(2%,-4%);}    70%{ transform:translate(-4%,1%);}
  80%{ transform:translate(1%,-2%);}    90%{ transform:translate(-2%,4%);}
}

.grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.018;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ─────────────────────────────────────
   04. CANVAS + ORBS
───────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.orb {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(110px);
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(233,157,37,0.18) 0%, transparent 65%);
  top: -250px; left: -200px;
  animation: orbA 26s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,60,10,0.10) 0%, transparent 65%);
  bottom: -120px; right: -120px;
  animation: orbB 20s ease-in-out infinite;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(233,157,37,0.09) 0%, transparent 65%);
  top: 40%; left: 52%;
  animation: orbC 30s ease-in-out infinite;
}
@keyframes orbA { 0%,100%{transform:translate(0,0) scale(1)} 40%{transform:translate(55px,-45px) scale(1.07)} 70%{transform:translate(-28px,50px) scale(0.94)} }
@keyframes orbB { 0%,100%{transform:translate(0,0) scale(1)} 35%{transform:translate(-45px,28px) scale(1.06)} 65%{transform:translate(40px,-55px) scale(0.93)} }
@keyframes orbC { 0%,100%{transform:translate(-50%,-50%) scale(1); opacity:0.5} 50%{transform:translate(-50%,-50%) scale(1.18); opacity:0.85} }

/* ─────────────────────────────────────
   05. CURSOR
───────────────────────────────────── */
#cursor-outer {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(233,157,37,0.55);
  border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-200px,-200px);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.3s, background 0.3s;
  will-change: transform;
}
#cursor-inner {
  position: fixed; top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-200px,-200px);
  will-change: transform;
  transition: transform 0.06s, background 0.2s;
}
#cursor-trail {
  position: fixed; top: 0; left: 0;
  width: 80px; height: 80px;
  border: 1px solid rgba(233,157,37,0.08);
  border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-200px,-200px);
  will-change: transform;
}
body.cursor-hover #cursor-outer {
  width: 52px; height: 52px;
  background: rgba(233,157,37,0.10);
  border-color: var(--gold);
}
@media (hover: none) {
  #cursor-outer, #cursor-inner, #cursor-trail { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ─────────────────────────────────────
   06. LAYOUT HELPERS
───────────────────────────────────── */
.container { width: min(90%, var(--container)); margin: 0 auto; }

/* Gold / light sections */
.section-gold {
  background: var(--gold-bg);
  color: var(--ink);
  position: relative;
  z-index: 3;
  padding: 128px 0;
}

/* Dark sections */
.section-dark {
  background: var(--bg-deep);
  color: var(--white);
  position: relative;
  z-index: 3;
  padding: 128px 0;
}

.section-accent {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.5;
}
.sa-tl { top: -80px; left: -80px;
  background: radial-gradient(circle, rgba(233,157,37,0.14) 0%, transparent 70%); }
.sa-br { bottom: -80px; right: -80px;
  background: radial-gradient(circle, rgba(233,157,37,0.10) 0%, transparent 70%); }

/* ─────────────────────────────────────
   07. TYPOGRAPHY SYSTEM
───────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(10,10,10,0.38);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-tag.light { color: rgba(255,255,255,0.32); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
}
.section-title.ink { color: var(--ink); }

.section-header { margin-bottom: 72px; }

.gold-bar {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-top: 22px;
  animation: goldBarPulse 3s ease-in-out infinite;
}
@keyframes goldBarPulse {
  0%,100% { width: 40px; opacity: 0.7; }
  50%     { width: 72px; opacity: 1; }
}

.body-text {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.8;
  color: var(--w80);
  letter-spacing: 0.01em;
  margin-bottom: 1.45rem;
}
.body-text:last-child { margin-bottom: 0; }
.body-text.ink { color: rgba(10,10,10,0.72); }

.highlight-text {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem) !important;
  font-weight: 600;
  color: var(--gold-light) !important;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-top: 10px;
  position: relative;
}

/* Holographic text shimmer */
.holo-tag {
  font-family: var(--ff-mono);
  font-size: inherit;
  letter-spacing: inherit;
  background: linear-gradient(90deg,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.65) 30%,
    rgba(233,157,37,0.8) 50%,
    rgba(10,10,10,0.65) 70%,
    rgba(10,10,10,0.35) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: holoShimmer 5s ease-in-out infinite;
}
@keyframes holoShimmer {
  0%   { background-position: 100% 50%; }
  50%  { background-position:   0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Reveal states */
[data-reveal], [data-reveal-stagger] {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
}

/* ─────────────────────────────────────
   08. HEADER
───────────────────────────────────── */
#main-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--hh);
  z-index: 1000;
  display: flex; align-items: center;
  transition: height 0.4s var(--ease-out), background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}
#main-header.scrolled {
  height: 58px;
  background: rgba(6,5,4,0.72);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 40px rgba(0,0,0,0.35);
}
.header-inner {
  width: min(90%, var(--container));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-line {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(233,157,37,0) 20%, rgba(233,157,37,0.25) 50%, rgba(233,157,37,0) 80%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  animation: headerLinePulse 4s ease-in-out infinite;
}
#main-header.scrolled .header-line { opacity: 1; }
@keyframes headerLinePulse {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 38px; width: auto;
  transition: transform 0.4s var(--ease-out), filter 0.3s;
  filter: brightness(0);             /* dark on gold hero */
}
#main-header.scrolled .logo-img {
  filter: brightness(0) invert(1);   /* white on dark scrolled */
}
.logo-link:hover .logo-img { transform: scale(1.05); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-item {
  font-family: var(--ff-body);
  font-size: 0.80rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--ink);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
#main-header.scrolled .nav-item { color: var(--w50); }
#main-header.scrolled .nav-item:hover { color: var(--white); }
.nav-item::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.35s var(--ease-out);
}
.nav-item:hover::after { width: 100%; }

.nav-cta {
  position: relative;
  font-family: var(--ff-body);
  font-size: 0.80rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--white);
  background: var(--ink);
  padding: 9px 20px; border-radius: 100px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  overflow: hidden;
}
#main-header.scrolled .nav-cta { background: var(--gold); color: var(--ink); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cta-glow {
  position: absolute; inset: 0; border-radius: 100px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.nav-cta:hover .cta-glow { opacity: 1; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: transform 0.35s, opacity 0.35s, background 0.3s; }
#main-header.scrolled .burger span { background: var(--white); }
.burger.open span:first-child { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:last-child  { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 998;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-snap);
  visibility: hidden;
}
.mobile-nav-bg {
  position: absolute; inset: 0;
  background: var(--bg-deep);
  backdrop-filter: blur(40px);
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav nav { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.mob-link {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 800; text-transform: uppercase;
  color: var(--white); letter-spacing: -0.03em;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.mob-link:hover { color: var(--gold); transform: translateX(8px); }
.mob-cta {
  font-size: 1rem !important; font-family: var(--ff-body) !important;
  background: var(--gold); color: var(--ink) !important;
  padding: 14px 36px; border-radius: 100px; letter-spacing: 0.05em;
  transform: none !important;
}

/* ─────────────────────────────────────
   09. HERO
───────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--gold-bg);
  color: var(--ink);
  position: relative; z-index: 3;
  overflow: hidden;
  padding-top: var(--hh);
}

/* Hero ambient floating rings */
.hero-ambients { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.ambient-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(10,10,10,0.07);
  animation: ringExpand linear infinite;
}
.ring-1 { width: 500px; height: 500px; top: 50%; left: 60%; transform: translate(-50%,-50%); animation-duration: 18s; }
.ring-2 { width: 300px; height: 300px; top: 20%; left: 75%; transform: translate(-50%,-50%); animation-duration: 12s; animation-delay: -4s; }
.ring-3 { width: 180px; height: 180px; top: 70%; left: 78%; transform: translate(-50%,-50%); animation-duration: 8s; animation-delay: -2s; }
@keyframes ringExpand {
  0%   { transform: translate(-50%,-50%) scale(0.8); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(1.6); opacity: 0; }
}

.ambient-dot {
  position: absolute; border-radius: 50%;
  animation: dotFloat ease-in-out infinite alternate;
}
.dot-1 { width: 6px; height: 6px; background: rgba(10,10,10,0.18); top: 25%; right: 18%; animation-duration: 4.5s; }
.dot-2 { width: 4px; height: 4px; background: rgba(10,10,10,0.12); top: 60%; right: 28%; animation-duration: 6s; animation-delay: -2s; }
.dot-3 { width: 8px; height: 8px; background: rgba(10,10,10,0.10); top: 40%; right: 8%;  animation-duration: 5.5s; animation-delay: -1s; }
@keyframes dotFloat { from { transform: translateY(0); } to { transform: translateY(-18px); } }

/* Scan lines (horizontal) */
.hero-scan-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(10,10,10,0.08) 40%, rgba(10,10,10,0.08) 60%, transparent 100%);
  animation: scanDown 14s linear infinite;
}
.scan-2 { animation-delay: -7s; opacity: 0.5; }
@keyframes scanDown {
  0%  { top: -2px; opacity: 0; }
  5%  { opacity: 1; }
  95% { opacity: 1; }
  100%{ top: 100%; opacity: 0; }
}

/* Tech corners */
.hero-tech { position: absolute; inset: 0; pointer-events: none; }
.tech-h-line {
  position: absolute; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,10,10,0.10), transparent);
}
.thl-top    { top: var(--hh); }
.thl-bottom { bottom: 0; }

.tech-corner {
  position: absolute; width: 24px; height: 24px;
  border-color: rgba(10,10,10,0.18); border-style: solid;
}
.tc-tl { top: calc(var(--hh) + 16px); left: 5%; border-width: 1px 0 0 1px; }
.tc-tr { top: calc(var(--hh) + 16px); right: 5%; border-width: 1px 1px 0 0; }

/* Hero inner */
.hero-inner {
  width: min(90%, var(--container));
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
  flex: 1; justify-content: center;
  padding-top: 32px; padding-bottom: 72px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px; opacity: 0;
}
.eyebrow-line {
  flex: 1; height: 1px;
  background: rgba(10,10,10,0.15);
  min-width: 20px;
}
.eyebrow-text {
  font-family: var(--ff-mono);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  white-space: nowrap; flex-shrink: 0;
}

/* Hero title */
.hero-title-wrap { position: relative; overflow: visible; width: 100%; }

.title-glow {
  position: absolute; inset: 0;
  font-family: var(--ff-display);
  font-size: clamp(2rem, 7.2vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10,10,10,0.06);
  filter: blur(28px);
  transform: scale(1.02);
  pointer-events: none;
  animation: titleGlowPulse 5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes titleGlowPulse {
  0%,100% { opacity: 0.4; filter: blur(24px); }
  50%     { opacity: 0.8; filter: blur(36px); }
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 7.2vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: visible;
  padding-bottom: 0.16em;
  padding-top: 0.04em;
  position: relative;
}
.hero-title-inner { display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.16em; padding-right: 2em; margin-right: -2em; }
.char { display: inline-block; transform: translateY(115%); opacity: 0; will-change: transform, opacity; }

/* Hero subtitle */
.hero-sub { max-width: 680px; opacity: 0; transform: translateY(24px); }
.hero-sub-inner { display: flex; flex-direction: column; gap: 14px; }

.hero-statement {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.7vw, 2.4rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1.12;
}
.statement-main { color: var(--ink); }
.statement-accent { color: rgba(10,10,10,0.35); }

.hero-desc {
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  line-height: 1.75;
  color: rgba(10,10,10,0.65);
  max-width: 520px;
  letter-spacing: 0.01em;
}

/* Hero footer */
.hero-footer {
  display: flex; align-items: center; gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(10,10,10,0.10);
  opacity: 0; transform: translateY(20px);
  overflow: hidden;
}

.scroll-cta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink); white-space: nowrap; flex-shrink: 0;
}
.scroll-arrow { animation: arrowBob 2.4s ease-in-out infinite; }
@keyframes arrowBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

.hero-ticker { overflow: hidden; flex: 1; min-width: 0; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: tickerRun 42s linear infinite;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(10,10,10,0.25);
}
@keyframes tickerRun { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.hero-stat {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(10,10,10,0.30);
  flex-shrink: 0;
}
.stat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); opacity: 0.4;
  animation: statPulse 2.2s ease-in-out infinite;
}
@keyframes statPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ─────────────────────────────────────
   10. MARQUEE — TRANSPARENT (no black blocks)
───────────────────────────────────── */
.marquee-section {
  position: relative; z-index: 4;
  overflow: hidden;
  /* Sits between sections — shows page bg below */
}

/* Glowing separator lines */
.marq-sep {
  position: relative; height: 1px;
  background: transparent;
  overflow: visible;
}
.marq-sep::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(233,157,37,0.15) 20%,
    rgba(233,157,37,0.50) 50%,
    rgba(233,157,37,0.15) 80%,
    transparent 100%);
  box-shadow: 0 0 16px rgba(233,157,37,0.18);
  animation: sepBreath 4s ease-in-out infinite;
}
.marq-sep-top::after    { width: 80%; }
.marq-sep-mid::after    { width: 60%; }
.marq-sep-bottom::after { width: 80%; }
@keyframes sepBreath {
  0%,100% { opacity: 0.6; width: 60%; }
  50%     { opacity: 1.0; width: 85%; }
}

.marquee-row {
  overflow: hidden;
  display: flex;
  /* Edge fade mask instead of solid background */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  /* Subtle frosted glass — NOT a solid color */
  background: rgba(6,5,4,0.18);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}

.row-b {
  /* Second row: slightly different tint */
  background: rgba(242,184,48,0.08);
}

.marquee-track {
  display: flex; white-space: nowrap; flex-shrink: 0;
  padding: 20px 0;
  line-height: 1;
}

/* Row A text — gold on dark-tinted glass */
.marquee-row:not(.row-b) .marquee-track span {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.0vw, 2.0rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(233,157,37,0.25);
}

/* Row B text — dark gold on warm-tinted glass */
.row-b .marquee-track span {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.7vw, 1.7rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(233,157,37,0.55);
  text-shadow: 0 0 30px rgba(233,157,37,0.15);
}

.marquee-right { animation: mRight 50s linear infinite; }
.marquee-left  { animation: mLeft  40s linear infinite; }
@keyframes mRight { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes mLeft  { from{transform:translateX(-50%)} to{transform:translateX(0)} }

.marquee-row:hover .marquee-track { animation-play-state: paused; }

/* ─────────────────────────────────────
   11. ABOUT — SPLIT
───────────────────────────────────── */
.section-split {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 96px; align-items: start;
}
.split-left { position: sticky; top: calc(var(--hh) + 24px); }
.split-right { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 8px; }

/* ─────────────────────────────────────
   12. FOUNDER'S NOTE
───────────────────────────────────── */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 96px; align-items: start;
}
.founder-left { position: sticky; top: calc(var(--hh) + 24px); }
.founder-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.badge {
  font-family: var(--ff-mono);
  font-size: 0.82rem; font-weight: 400;
  color: var(--gold-light);
  padding: 12px 18px; border-radius: var(--r);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.glass-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}
.glass-badge:hover {
  background: rgba(233,157,37,0.10);
  transform: translateX(10px);
}
.founder-right { display: flex; flex-direction: column; gap: 1.5rem; }

/* ─────────────────────────────────────
   13. SERVICE CARDS
───────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}

.service-card {
  position: relative; border-radius: var(--r-lg);
  background: var(--ink); color: var(--white);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  cursor: none;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.38), 0 0 0 1px rgba(233,157,37,0.18);
}
.service-card.featured { background: linear-gradient(160deg,#1a1408 0%,#0e0b04 100%); }

/* Animated border glow on hover */
.card-border-anim {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  box-shadow: inset 0 0 0 1px rgba(233,157,37,0.30);
}
.service-card:hover .card-border-anim { opacity: 1; }

/* Sweep shine effect */
.service-card::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
}
.service-card:hover::after { left: 150%; }

.card-inner { padding: 36px 32px 40px; position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }
.card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(233,157,37,0.14) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }

.card-num { font-family: var(--ff-mono); font-size: 0.70rem; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 20px; }
.card-title { font-family: var(--ff-display); font-size: clamp(1.4rem,2vw,1.9rem); font-weight: 800; text-transform: uppercase; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.card-desc { font-size: 0.90rem; color: rgba(255,255,255,0.50); line-height: 1.68; margin-bottom: auto; padding-bottom: 22px; }
.card-list { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.card-list li { font-size: 0.86rem; font-weight: 500; color: rgba(255,255,255,0.70); padding-left: 16px; position: relative; }
.card-list li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-size: 1.3em; line-height: 1; }

/* ─────────────────────────────────────
   14. TIMELINE
───────────────────────────────────── */
.timeline { position: relative; display: flex; flex-direction: column; padding-left: 82px; }
.timeline-spine { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255,255,255,0.06); border-radius: 1px; overflow: hidden; }
.spine-fill { width: 100%; height: 0%; background: linear-gradient(180deg, var(--gold) 0%, rgba(233,157,37,0.25) 100%); border-radius: 1px; box-shadow: 0 0 14px var(--gold-glow); }
.timeline-node-wrap { position: absolute; left: -68px; top: 36px; }
.timeline-node { width: 56px; height: 56px; background: var(--bg-deep); border: 2px solid rgba(255,255,255,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: border-color 0.5s, box-shadow 0.5s, background 0.5s; }
.timeline-node.active { border-color: var(--gold); background: rgba(233,157,37,0.09); box-shadow: 0 0 28px var(--gold-glow), 0 0 56px var(--gold-glow2); }
.node-pulse { position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(233,157,37,0); transition: border-color 0.5s; }
.timeline-node.active .node-pulse { border-color: rgba(233,157,37,0.22); animation: nodePulse 2.8s ease-in-out infinite; }
@keyframes nodePulse { 0%,100%{transform:scale(1); opacity:1} 50%{transform:scale(1.28); opacity:0} }
.node-num { font-family: var(--ff-mono); font-size: 0.73rem; font-weight: 700; color: rgba(255,255,255,0.32); transition: color 0.5s; }
.timeline-node.active .node-num { color: var(--gold); }
.timeline-item { position: relative; padding: 36px 0 60px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-content { padding: 36px 40px; border-radius: var(--r-lg); transition: border-color 0.5s, box-shadow 0.5s; }
.timeline-content.activated { border-color: rgba(233,157,37,0.18); box-shadow: 0 0 48px rgba(233,157,37,0.05); }
.tl-phase { display: inline-block; font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); opacity: 0.65; margin-bottom: 12px; }
.tl-title { font-family: var(--ff-display); font-size: clamp(1.3rem,2.4vw,2.0rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; }
.tl-desc { font-size: 0.95rem; line-height: 1.78; color: var(--w50); margin-bottom: 22px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tags li { font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); background: rgba(233,157,37,0.08); border: 1px solid rgba(233,157,37,0.16); border-radius: 100px; padding: 5px 14px; transition: background 0.3s, border-color 0.3s; }
.tl-tags li:hover { background: rgba(233,157,37,0.16); border-color: rgba(233,157,37,0.38); }

/* ─────────────────────────────────────
   15. PHILOSOPHY
───────────────────────────────────── */
.philosophy-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: rgba(10,10,10,0.10); border-radius: var(--r-lg); overflow: hidden; }
.phil-item { background: var(--gold-bg); padding: 52px 44px; transition: background 0.4s, transform 0.4s var(--ease-out); cursor: none; }
.phil-item:hover { background: #F7C450; transform: scale(1.01); }
.phil-icon { font-size: 1.4rem; color: var(--ink); opacity: 0.22; display: block; margin-bottom: 20px; transition: opacity 0.4s, transform 0.4s var(--ease-spring); }
.phil-item:hover .phil-icon { opacity: 0.8; transform: scale(1.18) rotate(22deg); }
.phil-item h3 { font-family: var(--ff-display); font-size: clamp(1.1rem,1.8vw,1.55rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink); }
.phil-item p { font-size: 0.92rem; line-height: 1.70; color: rgba(10,10,10,0.58); }

/* ─────────────────────────────────────
   16. TESTIMONIALS
───────────────────────────────────── */
.quotes-grid { display: flex; flex-direction: column; }
.quote-card {
  padding: 44px 44px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
  transition: background 0.35s;
}
.quote-card:last-child { border-bottom: none; }
.quote-card:hover { background: rgba(255,255,255,0.025); }
.quote-mark { position: absolute; top: 28px; left: 40px; font-family: var(--ff-display); font-size: 5rem; line-height: 1; color: rgba(233,157,37,0.06); pointer-events: none; }
.quote-card p { font-family: var(--ff-display); font-size: clamp(1.05rem,2.0vw,1.75rem); font-weight: 700; line-height: 1.38; letter-spacing: -0.02em; color: var(--white); }
.quote-card cite { font-style: normal; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--w20); white-space: nowrap; padding-bottom: 4px; }

/* ─────────────────────────────────────
   17. CTA BAND
───────────────────────────────────── */
.cta-band {
  position: relative; z-index: 3;
  background: var(--gold-bg);
  padding: 128px 0; text-align: center;
  overflow: hidden; color: var(--ink);
}
.cta-band-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,210,100,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(200,120,10,0.28) 0%, transparent 55%);
  animation: ctaBgShift 8s ease-in-out infinite alternate;
}
@keyframes ctaBgShift {
  from { opacity: 0.8; transform: scale(1.0); }
  to   { opacity: 1.0; transform: scale(1.05); }
}
.cta-particles { position: absolute; inset: 0; pointer-events: none; }
.cta-p {
  position: absolute; border-radius: 50%;
  background: rgba(10,10,10,0.06);
  animation: ctaParticleFloat ease-in-out infinite alternate;
}
.cp1 { width: 120px; height: 120px; top: 10%; left: 8%; animation-duration: 7s; }
.cp2 { width: 60px;  height: 60px;  top: 60%; left: 15%; animation-duration: 5s; animation-delay: -2s; }
.cp3 { width: 80px;  height: 80px;  top: 20%; right: 10%; animation-duration: 6s; animation-delay: -3s; }
.cp4 { width: 40px;  height: 40px;  top: 70%; right: 20%; animation-duration: 8s; animation-delay: -1s; }
@keyframes ctaParticleFloat { from{transform:translateY(0) scale(1)} to{transform:translateY(-28px) scale(1.08)} }
.cta-inner-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-title { font-family: var(--ff-display); font-size: clamp(2.2rem, 5.2vw, 4.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); }
.cta-title em { color: rgba(10,10,10,0.32); }
.cta-sub { font-size: clamp(0.92rem, 1.3vw, 1.1rem); color: rgba(10,10,10,0.52); max-width: 440px; line-height: 1.7; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-body); font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--ink); color: var(--gold);
  padding: 14px 32px; border-radius: 100px;
  margin-top: 8px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.28); }
.btn-arrow { transition: transform 0.3s var(--ease-out); }
.cta-btn:hover .btn-arrow { transform: translateX(5px); }

/* ─────────────────────────────────────
   18. CONTACT
───────────────────────────────────── */
.contact-terminal {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.terminal-bar {
  background: rgba(0,0,0,0.4); padding: 14px 26px;
  display: flex; align-items: center; gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.t-dots { display: flex; gap: 7px; }
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.red    { background: #FF5F56; }
.td.yellow { background: #FFBD2E; }
.td.green  { background: #27C93F; }
.t-label { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.18); text-transform: uppercase; flex: 1; }
.terminal-status { display: flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 0.60rem; color: #27C93F; text-transform: uppercase; letter-spacing: 0.12em; }
.ts-dot { width: 5px; height: 5px; background: #27C93F; border-radius: 50%; box-shadow: 0 0 6px #27C93F; animation: tsPulse 2s ease-in-out infinite; }
@keyframes tsPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.contact-nodes { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,0.04); }
.contact-node { background: rgba(255,255,255,0.02); padding: 32px 30px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; transition: background 0.35s; }
.contact-node:hover { background: rgba(255,255,255,0.055); }
.contact-node::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.45s var(--ease-out); }
.contact-node:hover::after { width: 100%; }
.cn-tag { font-family: var(--ff-mono); font-size: 0.62rem; color: rgba(255,255,255,0.16); letter-spacing: 0.1em; text-transform: uppercase; }
.cn-name { font-family: var(--ff-display); font-size: clamp(1.1rem, 1.8vw, 1.55rem); font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: -0.02em; }
.cn-val { font-size: 0.86rem; color: var(--gold); font-weight: 500; }
.cn-arrow { position: absolute; right: 24px; bottom: 24px; font-size: 1.1rem; color: rgba(255,255,255,0.10); transition: color 0.3s, transform 0.3s var(--ease-out); }
.contact-node:hover .cn-arrow { color: var(--gold); transform: translateX(6px); }

/* ─────────────────────────────────────
   19. FOOTER
───────────────────────────────────── */
#footer {
  background: var(--bg-deep); color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 64px 0 32px; position: relative; z-index: 3;
}
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 28px; }
.footer-brand { max-width: 400px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(0.6); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.30); line-height: 1.72; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links a { font-size: 0.80rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.28); transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom span { font-size: 0.76rem; color: rgba(255,255,255,0.18); }
.footer-dot { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.25) !important; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-dot::before { content: ''; width: 6px; height: 6px; background: #27C93F; border-radius: 50%; box-shadow: 0 0 8px #27C93F; animation: livePulse 2.5s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* ─────────────────────────────────────
   20. RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1280px) { .services-grid { grid-template-columns: repeat(2,1fr); } }

@media (max-width: 1024px) {
  .section-split, .founder-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-left, .founder-left { position: relative; top: 0; }
  .philosophy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-gold, .section-dark { padding: 88px 0; }
  .section-header { margin-bottom: 52px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-title { font-size: clamp(1.6rem, 8.5vw, 4.5rem); letter-spacing: -0.03em; }
  .title-glow  { font-size: clamp(1.6rem, 8.5vw, 4.5rem); }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-stat { display: none; }
  .hero-ticker { width: 100%; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .timeline { padding-left: 0; }
  .timeline-spine { display: none; }
  .timeline-node-wrap { position: relative; left: 0; top: 0; margin-bottom: 18px; }
  .timeline-item { padding: 0 0 44px; }
  .timeline-content { padding: 26px 22px; }
  .contact-nodes { grid-template-columns: 1fr; }
  .quote-card { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
  .ring-1, .ring-2, .ring-3 { display: none; }
  .tech-corner { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.3rem, 8vw, 3rem); }
  .title-glow  { font-size: clamp(1.3rem, 8vw, 3rem); }
  .eyebrow-line { display: none; }
  .phil-item { padding: 36px 24px; }
  .cta-band { padding: 88px 0; }
}

@media (min-width: 1800px) {
  .hero-title { font-size: clamp(6rem, 7.5vw, 9rem); }
  .title-glow  { font-size: clamp(6rem, 7.5vw, 9rem); }
}
