/* Capital Sphere Management - animations & effects (all disabled for reduced-motion users) */

/* page entrance */
body { animation: csPageIn .7s ease both; }
@keyframes csPageIn { from { opacity: 0 } to { opacity: 1 } }

/* keep real content above the animated background layers */
main, footer { position: relative; z-index: 1; }

/* ---------- ambient background ---------- */
#cs-ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#cs-ambient .orb { position: absolute; border-radius: 9999px; will-change: transform; }
#cs-ambient .o1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -15vmax;
  background: radial-gradient(circle, rgba(212,175,55,.14), transparent 65%); animation: csDrift1 26s ease-in-out infinite alternate; }
#cs-ambient .o2 { width: 55vmax; height: 55vmax; right: -22vmax; bottom: -20vmax;
  background: radial-gradient(circle, rgba(180,120,20,.12), transparent 65%); animation: csDrift2 32s ease-in-out infinite alternate; }
@keyframes csDrift1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15) } }
@keyframes csDrift2 { to { transform: translate3d(-12vmax, -8vmax, 0) scale(1.1) } }
#cs-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* cursor glow (desktop only) */
#cs-cursor { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(212,175,55,.10), transparent 60%); opacity: 0; transition: opacity .4s; will-change: transform; }
#cs-cursor.on { opacity: 1; }

/* ---------- scroll progress ---------- */
#cs-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #AA771C, #FCF6BA, #D4AF37); box-shadow: 0 0 10px rgba(212,175,55,.7); }

/* ---------- header ---------- */
#site-header { transition: background-color .3s, box-shadow .3s, border-color .3s; }
#site-header > div:first-child { transition: padding .3s ease; }
#site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); border-color: rgba(212,175,55,.25); }
#site-header.scrolled > div:first-child { padding-top: .5rem; padding-bottom: .5rem; }
.nav-link { position: relative; padding-bottom: 4px; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #BF953F, #FCF6BA); transition: transform .35s ease; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
#mobile-menu:not(.hidden) { animation: csMenuIn .28s ease both; }
#mobile-menu:not(.hidden) nav > * { animation: csMenuItem .4s ease both; }
#mobile-menu:not(.hidden) nav > *:nth-child(1) { animation-delay: .04s }
#mobile-menu:not(.hidden) nav > *:nth-child(2) { animation-delay: .09s }
#mobile-menu:not(.hidden) nav > *:nth-child(3) { animation-delay: .14s }
#mobile-menu:not(.hidden) nav > *:nth-child(4) { animation-delay: .19s }
#mobile-menu:not(.hidden) nav > *:nth-child(5) { animation-delay: .24s }
@keyframes csMenuIn { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }
@keyframes csMenuItem { from { opacity: 0; transform: translateX(-14px) } to { opacity: 1; transform: none } }
#menu-btn svg { transition: transform .3s ease; }
#menu-btn:active svg { transform: scale(.85) rotate(8deg); }

/* ---------- gold text flow ---------- */
.gold-gradient { background-size: 220% auto; animation: csGoldFlow 7s ease-in-out infinite alternate; }
@keyframes csGoldFlow { from { background-position: 0% 50% } to { background-position: 100% 50% } }

/* ---------- hero entrance (independent of AOS) ---------- */
.cs-hero-item { opacity: 0; animation: csRise .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes csRise { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px) } to { opacity: 1; transform: none; filter: none } }
.cs-float { animation: csFloat 7s ease-in-out infinite; }
@keyframes csFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* ---------- cards: spotlight, lift, border glow ---------- */
.glass-card { transition: transform .35s ease, border-color .35s, box-shadow .35s; }
.glass-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(212,175,55,.16), transparent 45%); }
.glass-card:hover::before { opacity: 1; }
@media (hover: hover) {
  .glass-card:hover { box-shadow: 0 25px 60px -25px rgba(212,175,55,.35); }
  .glass-card.cs-lift:hover { transform: translateY(-6px); }
}
.gold-border { transition: border-color .35s, box-shadow .35s; }
img.gold-border { transition: transform .6s ease, box-shadow .6s ease, border-color .35s; }
@media (hover: hover) { img.gold-border:hover { transform: scale(1.025); box-shadow: 0 30px 70px -20px rgba(212,175,55,.35); } }

/* icon pop inside cards */
.glass-card:hover .cs-icon { animation: csPop .6s ease; }
@keyframes csPop { 0% { transform: scale(1) } 40% { transform: scale(1.25) rotate(-8deg) } 100% { transform: scale(1) } }

/* ---------- buttons: shine sweep + press ---------- */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s ease, box-shadow .3s; }
.btn-shine::after { content: ''; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: csShine 4.2s ease-in-out infinite; }
@keyframes csShine { 0% { left: -80% } 35%, 100% { left: 160% } }
.btn-shine:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(212,175,55,.6); }
.btn-shine:active { transform: translateY(0) scale(.97); }
.cs-btn-ghost:hover { transform: translateY(-2px); }

/* pulsing dots */
.cs-pulse-ring { position: relative; }

/* ---------- back to top ---------- */
#cs-top { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 46px; height: 46px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  color: #090A0F; background: linear-gradient(135deg, #CA8A04, #FCD34D); box-shadow: 0 10px 30px -8px rgba(212,175,55,.6);
  opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s; border: 0; cursor: pointer; }
#cs-top.show { opacity: 1; transform: none; pointer-events: auto; }
#cs-top:hover { transform: translateY(-3px); }

/* ---------- slider polish ---------- */
input[type=range] { height: 6px; }

/* ---------- reduced motion: switch it all off ---------- */
@media (prefers-reduced-motion: reduce) {
  body, .gold-gradient, .cs-hero-item, .cs-float, .btn-shine::after, #cs-ambient .orb { animation: none !important; }
  .cs-hero-item { opacity: 1; }
  #cs-particles, #cs-cursor { display: none; }
}


/* =====================================================================
   SIGNATURE EFFECTS  (preloader, curtain transitions, globe, reveals)
   ===================================================================== */

/* ---------- arriving from another page: cover until curtain takes over ---------- */
html.cs-arriving::after { content: ''; position: fixed; inset: 0; z-index: 9990; background: #090A0F; animation: csFail .01s 2.5s forwards; }
html.cs-arriving #cs-preloader { display: none !important; }
@keyframes csFail { to { visibility: hidden } }

/* ---------- Sphere Genesis preloader (home page) ---------- */
#cs-preloader { position: fixed; inset: 0; z-index: 10001; animation: csFail .01s 4.8s forwards; }
#cs-preloader .pl-bg { position: absolute; inset: 0; background: #090A0F; }
#cs-preloader #pl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#cs-preloader .pl-caption { position: absolute; left: 0; right: 0; bottom: max(9vh, 52px); text-align: center; transition: opacity .3s ease, transform .5s ease; }
#cs-preloader.burst .pl-caption { opacity: 0; transform: translateY(8px); }
#cs-preloader .pl-name { font: 700 12px 'Plus Jakarta Sans', system-ui, sans-serif; color: #e9d9a0; text-transform: uppercase; opacity: 0; animation: plName 1.1s ease .45s forwards; }
@keyframes plName { from { opacity: 0; letter-spacing: .7em } to { opacity: 1; letter-spacing: .32em } }
#cs-preloader .pl-bar { width: 170px; height: 2px; margin: 16px auto 0; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
#cs-preloader .pl-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #AA771C, #FCF6BA); }
#cs-preloader .pl-pct { margin-top: 10px; font: 500 10px ui-monospace, monospace; letter-spacing: .25em; color: #8a8f9c; white-space: pre; }
#cs-preloader .pl-skip { position: absolute; z-index: 3; bottom: 20px; left: 0; right: 0; text-align: center; font: 500 10px ui-monospace, monospace; letter-spacing: .25em; color: #555b6b; transition: opacity .3s; }
#cs-preloader.burst .pl-skip { opacity: 0; }

/* ---------- page-transition curtain ---------- */
#cs-curtain { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
#cs-curtain.closed { pointer-events: auto; }
#cs-curtain .cp { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #090A0F; transition: transform .6s cubic-bezier(.77,0,.18,1); }
#cs-curtain.no-t .cp, #cs-curtain.no-t .cc { transition: none !important; }
#cs-curtain .cp.l { left: 0; transform: translateX(-101%); } #cs-curtain .cp.r { right: 0; transform: translateX(101%); }
#cs-curtain.closed .cp { transform: none; }
#cs-curtain .cp::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(transparent, #D4AF37, #FCF6BA, #D4AF37, transparent); box-shadow: 0 0 16px rgba(212,175,55,.8); }
#cs-curtain .cp.l::after { right: 0; } #cs-curtain .cp.r::after { left: 0; }
#cs-curtain .cc { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font: 900 19px 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.02em; color: #000; background: linear-gradient(135deg, #CA8A04, #FDE047, #B45309); box-shadow: 0 0 40px rgba(212,175,55,.5);
  opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .3s, transform .6s cubic-bezier(.2,.8,.2,1); }
#cs-curtain.closed .cc { opacity: 1; transform: none; transition-delay: .25s; }

/* ---------- heading word reveal ---------- */
.cs-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .04em .3em; margin: -.08em -.04em -.3em; }
.cs-split.cs-done .cs-w { overflow: visible; }
.cs-wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; opacity: 0; will-change: transform; }
.cs-split.cs-in .cs-wi { transform: none; opacity: 1; transition: transform .95s cubic-bezier(.2,.8,.2,1), opacity .5s ease; transition-delay: calc(var(--i) * 70ms); }

/* ---------- image wipe reveal ---------- */
.cs-img-reveal { clip-path: inset(0 100% 0 0 round 1.5rem); filter: brightness(1.9) saturate(.4); }
.cs-img-reveal.rtl { clip-path: inset(0 0 0 100% round 1.5rem); }
.cs-img-reveal.cs-in { clip-path: inset(0 0 0 0 round 1.5rem); filter: none; transition: clip-path 1.4s cubic-bezier(.77,0,.18,1), filter 1.6s ease; }
.cs-img-reveal.cs-done { clip-path: none; }

/* ---------- rotating gold ring around hero image ---------- */
@property --csa { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cs-ring::before { content: ''; position: absolute; inset: -3px; border-radius: calc(1.5rem + 3px); z-index: 0;
  background: conic-gradient(from var(--csa), transparent 0 52%, #BF953F 68%, #FCF6BA 82%, #D4AF37 92%, transparent 100%); animation: csSpinAngle 5s linear infinite; }
@keyframes csSpinAngle { to { --csa: 360deg } }

/* ---------- marquee strip ---------- */
.cs-marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(212,175,55,.25); border-bottom: 1px solid rgba(212,175,55,.25);
  background: linear-gradient(90deg, rgba(212,175,55,.06), rgba(212,175,55,.02), rgba(212,175,55,.06));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cs-marquee .track { display: flex; width: max-content; animation: csMarquee 38s linear infinite; padding: 18px 0; }
.cs-marquee:hover .track { animation-play-state: paused; }
.cs-marquee span { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 800; font-size: clamp(14px, 2.2vw, 22px); letter-spacing: .28em; text-transform: uppercase; color: transparent;
  -webkit-text-stroke: 1px rgba(232,196,90,.7); }
.cs-marquee span:nth-child(3n) { color: #D4AF37; -webkit-text-stroke: 0; }
.cs-marquee span::after { content: '\25C6'; margin: 0 2.2rem; font-size: .6em; color: #D4AF37; -webkit-text-stroke: 0; }
@keyframes csMarquee { to { transform: translateX(-50%) } }

/* ---------- globe ---------- */
.cs-globe { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1; margin: 0 auto 2.5rem; }
.cs-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-globe-hint { text-align: center; font: 500 10px ui-monospace, monospace; letter-spacing: .25em; color: #6b7080; text-transform: uppercase; margin: -1.5rem 0 2rem; }

/* magnetic buttons */
.btn-shine { transition: transform .2s ease, box-shadow .3s, translate .25s cubic-bezier(.2,.8,.2,1); }

@media (prefers-reduced-motion: reduce) {
  #cs-preloader, #cs-curtain { display: none !important; }
  .cs-wi { transform: none !important; opacity: 1 !important; }
  .cs-img-reveal { clip-path: none !important; filter: none !important; }
  .cs-marquee .track, .cs-ring::before { animation: none !important; }
}


/* =====================================================================
   ROUND 3: growth chart, scroll-lit manifesto, gold cursor, city clocks
   ===================================================================== */

/* ---------- live growth chart (calculator) ---------- */
.cs-chart { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.07); text-align: left; }
.cs-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 8px;
  font: 600 10px ui-monospace, monospace; letter-spacing: .2em; color: #8a8f9c; text-transform: uppercase; }
.cs-legend { display: inline-flex; gap: 14px; align-items: center; letter-spacing: .12em; }
.cs-legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid #E8C45A; margin-right: 6px; vertical-align: middle; }
.cs-legend i.d { border-top: 2px dashed #6b7080; }
.cs-chart svg { width: 100%; max-width: 680px; margin: 0 auto; height: auto; display: block; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.cs-chart .ln { fill: none; stroke: url(#csLineG); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(212,175,55,.6)); }
.cs-chart .ln.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: csDrawLine 1.8s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes csDrawLine { to { stroke-dashoffset: 0 } }
.cs-chart .ar { fill: url(#csAreaG); transition: opacity 1.2s ease .6s; }
.cs-chart .ar.pre { opacity: 0; }
.cs-chart text { font: 500 20px ui-monospace, monospace; fill: #6b7080; }
.cs-chart .gl { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.cs-chart .idle { stroke: #6b7080; stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.cs-chart .tip text { fill: #fff; font-weight: 700; }
.cs-chart .endlbl { fill: #FCD34D; font-weight: 700; font-size: 22px; }
.cs-chart .pulse { fill: none; stroke: #FCD34D; stroke-width: 2; animation: csPulseDot 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes csPulseDot { from { transform: scale(.5); opacity: 1 } to { transform: scale(2.6); opacity: 0 } }

/* ---------- scroll-lit manifesto ---------- */
.cs-mf { height: 210vh; position: relative; margin-left: 0; margin-right: 0; }
.cs-mf-stick { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; text-align: center; overflow: hidden; }
.cs-mf-ring { position: absolute; width: min(110vmin, 900px); height: min(110vmin, 900px); opacity: .55; will-change: transform; pointer-events: none; }
.cs-mf-eyebrow { position: relative; margin-bottom: 1.5rem; }
.cs-mf-text { position: relative; max-width: 1000px; margin: 0 auto; font-weight: 800; letter-spacing: -.02em; line-height: 1.18; font-size: clamp(1.75rem, 5.2vw, 3.6rem); color: #fff; }
.cs-mf-text .mw { display: inline-block; opacity: .13; will-change: opacity, filter; }
.cs-mf-text .mw.gold { color: #E8C45A; text-shadow: 0 0 28px rgba(212,175,55,.35); }
.cs-mf-bar { position: relative; width: min(220px, 50vw); height: 2px; margin-top: 2.2rem; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.cs-mf-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #AA771C, #FCF6BA); }

/* ---------- gold cursor ---------- */
#cs-cur-dot, #cs-cur-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 10002; border-radius: 9999px; opacity: 0; transition: opacity .3s; }
#cs-cur-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #FCD34D; box-shadow: 0 0 12px #FCD34D; }
#cs-cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(252,211,77,.75); display: flex; align-items: center; justify-content: center;
  font: 800 9px ui-monospace, monospace; letter-spacing: .18em; color: #0b0b0b; text-indent: .18em;
  transition: opacity .3s, width .28s cubic-bezier(.2,.8,.2,1), height .28s cubic-bezier(.2,.8,.2,1), margin .28s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s; }
#cs-cur-dot.on, #cs-cur-ring.on { opacity: 1; }
#cs-cur-ring.hov { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(252,211,77,.16); border-color: rgba(252,211,77,.95); }
#cs-cur-ring.lbl { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: #FCD34D; border-color: #FCD34D; }
#cs-cur-ring.down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
html.cs-cur, html.cs-cur *:not(input):not(textarea):not(select) { cursor: none !important; }

/* ---------- live city clocks ---------- */
.cs-clock { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); text-align: left; }
.cs-clock svg { width: 38px; height: 38px; flex: none; }
.cs-clock .face { fill: rgba(9,10,15,.7); stroke: rgba(212,175,55,.55); stroke-width: 1.4; }
.cs-clock .tk { stroke: rgba(212,175,55,.55); stroke-width: 1.2; }
.cs-clock .hh, .cs-clock .mh { stroke: #F8FAFC; stroke-linecap: round; }
.cs-clock .hh { stroke-width: 2.4; } .cs-clock .mh { stroke-width: 1.8; }
.cs-clock .sh { stroke: #FCD34D; stroke-width: 1; stroke-linecap: round; }
.cs-clock .t { display: block; font: 700 15px ui-monospace, monospace; letter-spacing: .06em; color: #fff; line-height: 1.1; }
.cs-clock .s { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 600 9px ui-monospace, monospace; letter-spacing: .2em; color: #8a8f9c; font-style: normal; }
.cs-clock .dot { width: 6px; height: 6px; border-radius: 9999px; background: #6b7080; }
.cs-clock.open .dot { background: #34D399; box-shadow: 0 0 10px #34D399; animation: csBlink 1.6s ease-in-out infinite; }
.cs-clock.open .s { color: #6EE7B7; }
@keyframes csBlink { 50% { opacity: .35 } }

@media (max-width: 767px) { .cs-mf { height: 170vh; } }
@media (prefers-reduced-motion: reduce) {
  .cs-mf { height: auto; padding: 4rem 0; } .cs-mf-stick { position: static; height: auto; }
  .cs-mf-text .mw { opacity: 1 !important; filter: none !important; }
  #cs-cur-dot, #cs-cur-ring { display: none; } .cs-chart .ln.draw { animation: none; stroke-dashoffset: 0; } .cs-chart .pulse, .cs-clock.open .dot { animation: none; }
}

/* =====================================================================
   ROUND 4: site-wide motion layer
   ===================================================================== */
main { overflow-x: clip; }

/* ---------- section dividers that draw themselves ---------- */
.cs-divider { position: absolute; left: 0; right: 0; height: 0; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; z-index: 0; }
.cs-divider i { display: block; height: 1px; width: 0; background: linear-gradient(90deg, transparent, rgba(212,175,55,.8)); transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
.cs-divider i:last-child { background: linear-gradient(90deg, rgba(212,175,55,.8), transparent); }
.cs-divider b { color: #D4AF37; font-size: 10px; transform: scale(0) rotate(-180deg); transition: transform .9s cubic-bezier(.2,.8,.2,1) .35s; text-shadow: 0 0 14px rgba(212,175,55,.9); }
.cs-divider.in i { width: min(26vw, 320px); } .cs-divider.in b { transform: none; }

/* ---------- headline underline ---------- */
h2.cs-split::after { content: ''; display: block; width: 0; height: 3px; margin-top: .75rem; border-radius: 3px;
  background: linear-gradient(90deg, #BF953F, #FCF6BA, #D4AF37); box-shadow: 0 0 14px rgba(212,175,55,.6); transition: width 1.1s cubic-bezier(.2,.8,.2,1) .7s; }
h2.cs-split.cs-in::after { width: 64px; }
h2.cs-split.cs-h2c::after { margin-left: auto; margin-right: auto; }

/* ---------- paragraphs / list rows / quotes ---------- */
.cs-p { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(5px); }
.cs-p.cs-pin { opacity: 1; transform: none; filter: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .9s ease; }
.cs-li { opacity: 0; transform: translateX(-26px); }
.cs-li.cs-pin { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 120ms); }
.cs-li.cs-pin > span:first-child { animation: csDotPop .9s ease calc(var(--i, 0) * 120ms + .2s) both; }
@keyframes csDotPop { 0% { transform: scale(0) } 60% { transform: scale(1.7); box-shadow: 0 0 14px #FCD34D } 100% { transform: scale(1) } }
.cs-quote .qw { display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(4px); }
.cs-quote.cs-pin .qw { opacity: 1; transform: none; filter: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1), filter .5s ease; transition-delay: calc(var(--i) * 38ms); }

/* ---------- idle icon float + avatar ring + ghost numerals ---------- */
.cs-icon { animation: csBob 3.6s ease-in-out infinite; }
@keyframes csBob { 0%,100% { transform: translateY(0) rotate(0) } 50% { transform: translateY(-6px) rotate(-3deg) } }
.cs-av { position: relative; }
.cs-av::after { content: ''; position: absolute; inset: -5px; border-radius: 9999px; border: 1.5px dashed rgba(212,175,55,.65); animation: csSpinPlain 9s linear infinite; }
@keyframes csSpinPlain { to { transform: rotate(360deg) } }
.cs-num { position: absolute; top: 14px; right: 18px; font: 900 46px/1 'Plus Jakarta Sans', system-ui, sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.28);
  pointer-events: none; transition: transform .5s cubic-bezier(.2,.8,.2,1), -webkit-text-stroke-color .4s; letter-spacing: -.02em; }
.glass-card:hover .cs-num { transform: translateY(-4px) scale(1.08); -webkit-text-stroke-color: rgba(252,211,77,.8); }

/* ---------- floating decorations (parallax) ---------- */
.cs-deco { position: absolute; z-index: -1; pointer-events: none; opacity: .55; will-change: translate, rotate; }
.cs-deco.ring { border-radius: 9999px; border: 1px dashed rgba(212,175,55,.45); animation: csSpinPlain 40s linear infinite; }
.cs-deco.ring::after { content: ''; position: absolute; inset: 14%; border-radius: 9999px; border: 1px solid rgba(212,175,55,.25); }
.cs-deco.diamond { border: 1px solid rgba(212,175,55,.5); transform: rotate(45deg); box-shadow: inset 0 0 30px rgba(212,175,55,.08); }
.cs-deco.cross::before, .cs-deco.cross::after { content: ''; position: absolute; background: rgba(252,211,77,.6); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.cs-deco.cross::before { width: 100%; height: 1.5px; } .cs-deco.cross::after { width: 1.5px; height: 100%; }
.cs-deco.dots { background-image: radial-gradient(rgba(232,196,90,.7) 1.4px, transparent 1.6px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%); mask-image: radial-gradient(circle, #000 30%, transparent 72%); }
@media (max-width: 767px) { .cs-deco { opacity: .32; } }

/* ---------- scroll-spy dots ---------- */
#cs-spy { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 56; display: none; flex-direction: column; gap: 14px; }
@media (min-width: 1280px) { #cs-spy { display: flex; } }
#cs-spy a { position: relative; display: block; width: 9px; height: 9px; border-radius: 9999px; background: rgba(255,255,255,.2); transition: height .35s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .3s; }
#cs-spy a.on { height: 26px; background: linear-gradient(#FCF6BA, #D4AF37); box-shadow: 0 0 14px rgba(212,175,55,.7); }
#cs-spy a span { position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font: 600 10px ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase;
  color: #FDE68A; background: rgba(9,10,15,.92); border: 1px solid rgba(212,175,55,.35); padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#cs-spy a:hover span { opacity: 1; transform: translate(0, -50%); }

/* ---------- ripple ---------- */
.cs-rip { position: relative; overflow: hidden; }
.cs-ripple { position: absolute; border-radius: 9999px; background: rgba(255,255,255,.55); transform: scale(0); pointer-events: none; animation: csRip .75s ease-out forwards; }
@keyframes csRip { to { transform: scale(1); opacity: 0 } }

/* ---------- marquee reverse ---------- */
.cs-marquee.rev .track { animation-direction: reverse; animation-duration: 46s; }

/* ---------- giant brand line ---------- */
.cs-giant { position: relative; z-index: 1; overflow: hidden; text-align: center; margin-top: 4rem; padding: 0 12px; line-height: .95; }
.cs-giant span { display: inline-block; white-space: nowrap; font-weight: 900; letter-spacing: -.03em; font-size: clamp(2.3rem, 10.6vw, 10.5rem); color: transparent; -webkit-text-stroke: 1px rgba(232,196,90,.45);
  background: linear-gradient(90deg, #BF953F, #FCF6BA 50%, #D4AF37) no-repeat; background-size: var(--p, 0%) 100%; -webkit-background-clip: text; background-clip: text; padding-bottom: .08em; }

/* ---------- cursor sparkles ---------- */
#cs-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 10001; pointer-events: none; }

/* ---------- logo + footer hover touches ---------- */
#site-header a[aria-label*="Home"] > div { transition: transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
#site-header a[aria-label*="Home"]:hover > div { transform: rotate(360deg) scale(1.08); box-shadow: 0 0 28px rgba(212,175,55,.7); }
footer a { position: relative; transition: color .3s; }
footer a::after { content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: #D4AF37; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
footer a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- FAQ accordion ---------- */
.cs-faq-card { cursor: pointer; }
.cs-faq-card > h3 { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 0 !important; transition: color .3s; }
.cs-faq-card:hover > h3, .cs-faq-card.open > h3 { color: #FDE68A; }
.cs-plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 9999px; border: 1px solid rgba(212,175,55,.5); transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s; }
.cs-plus::before, .cs-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: #E8C45A; transform: translate(-50%,-50%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.cs-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.cs-faq-card.open .cs-plus { transform: rotate(180deg); background: rgba(212,175,55,.15); }
.cs-faq-card.open .cs-plus::after { transform: translate(-50%,-50%) rotate(0); }
.cs-faq-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.cs-faq-body > div { overflow: hidden; min-height: 0; padding-top: 0; transition: padding .5s cubic-bezier(.2,.8,.2,1); }
.cs-faq-card.open .cs-faq-body { grid-template-rows: 1fr; opacity: 1; }
.cs-faq-card.open .cs-faq-body > div { padding-top: .75rem; }

/* ---------- form polish + success ---------- */
form input:focus, form textarea:focus, form select:focus { box-shadow: 0 0 0 3px rgba(212,175,55,.16), 0 0 30px -8px rgba(212,175,55,.6); }
form > div > label { transition: color .3s, transform .3s; display: block; }
form > div:focus-within > label { color: #FDE68A; transform: translateX(3px); }
form button[type=submit] { position: relative; overflow: hidden; transition: transform .2s, box-shadow .3s, background .3s; }
form button[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(212,175,55,.7); }
form button[type=submit].sending::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55), transparent 80%); transform: translateX(-100%); animation: csSend 0.9s linear infinite; }
@keyframes csSend { to { transform: translateX(100%) } }
.cs-form-host { position: relative; }
.cs-success { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; border-radius: inherit;
  background: rgba(14,16,24,.96); opacity: 0; pointer-events: none; transition: opacity .4s; }
.cs-success.show { opacity: 1; pointer-events: auto; }
.cs-success .wax { width: 104px; height: 104px; margin-bottom: 14px; overflow: visible; opacity: 0; transform: scale(2.6) rotate(-16deg); }
.cs-success.show .wax { animation: waxStamp .8s cubic-bezier(.2,.9,.2,1) .1s forwards; }
@keyframes waxStamp { 0% { transform: scale(2.6) rotate(-16deg); opacity: 0; filter: drop-shadow(0 34px 22px rgba(0,0,0,.65)) } 55% { transform: scale(.9) rotate(2deg); opacity: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.7)) } 75% { transform: scale(1.05) rotate(-1deg); opacity: 1 } 100% { transform: scale(1) rotate(0); opacity: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)) } }
.cs-success .wax .rip { fill: none; stroke: rgba(252,211,77,.8); stroke-width: 2; opacity: 0; transform-origin: 50px 50px; }
.cs-success.show .wax .rip { animation: waxRip .9s ease-out .55s forwards; } @keyframes waxRip { from { opacity: .9; transform: scale(.95) } to { opacity: 0; transform: scale(2.3) } }
.cs-form-host.cs-thud { animation: csThud .45s ease; } @keyframes csThud { 20% { transform: translateY(4px) } 45% { transform: translateY(-2px) } 70% { transform: translateY(1px) } }
.cs-success h4 { font-weight: 800; font-size: 1.25rem; color: #fff; opacity: 0; transform: translateY(8px); } .cs-success p { font-size: .75rem; color: #9aa3b2; margin-top: 6px; max-width: 260px; opacity: 0; transform: translateY(8px); }
.cs-success.show h4 { animation: csRise .6s ease .95s forwards; } .cs-success.show p { animation: csRise .6s ease 1.1s forwards; }
.cs-burst { position: fixed; width: 7px; height: 7px; border-radius: 9999px; background: #FCD34D; box-shadow: 0 0 10px #FCD34D; pointer-events: none; z-index: 10003; }

@media (prefers-reduced-motion: reduce) {
  .cs-p, .cs-li, .cs-quote .qw { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cs-icon, .cs-av::after, .cs-deco.ring { animation: none !important; }
  #cs-trail { display: none; } .cs-divider i { width: min(26vw, 320px) !important; } .cs-divider b { transform: none !important; }
  h2.cs-split::after { width: 64px; transition: none; }
}
