/* ==========================================================================
   STRIXOVA — shared design system
   Palette comes straight from the logo: signal orange + deep navy/blue.
   Loaded on every page after tailwind.css.

   1. Tokens          6. Buttons            11. Marquee / cards
   2. Base            7. Header + nav       12. Sections + heroes
   3. Motion states   8. Mobile menu        13. Footer + floating actions
   4. Curtain/loader  9. Type helpers       14. Legacy page harmonising
   5. Cursor          10. Media             15. Reduced motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --sx-navy-950: #030915;
  --sx-navy-900: #050B14;
  --sx-navy-800: #0B192C;
  --sx-navy-700: #10294A;
  --sx-navy-600: #1A365D;
  --sx-blue: #2E6FBF;
  --sx-sky: #4E9BFF;
  --sx-sky-soft: #9CC7FF;
  --sx-orange: #E8751A;
  --sx-orange-bright: #F78D0F;
  --sx-orange-soft: #FFB25C;
  --sx-paper: #F5F7FA;
  --sx-ink: #0B192C;
  --sx-muted: #5B6678;
  --sx-line-dark: rgba(255, 255, 255, 0.09);
  --sx-line-light: rgba(11, 25, 44, 0.1);

  --sx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sx-ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --sx-gutter: clamp(1.25rem, 4vw, 3rem);
  --sx-radius: 1.75rem;
  --sx-header-h: 5.25rem;
}

/* 2. BASE ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: #fff;
  color: var(--sx-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, .font-heading { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
img, video { max-width: 100%; }
::selection { background: var(--sx-orange); color: #fff; }
:focus-visible { outline: 2px solid var(--sx-orange); outline-offset: 3px; border-radius: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }

.sx-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--sx-gutter); }
.sx-skip { position: fixed; left: 1rem; top: -4rem; z-index: 400; background: #fff; color: var(--sx-ink); padding: .65rem 1rem; border-radius: .6rem; font-weight: 600; transition: top .2s; }
.sx-skip:focus { top: 1rem; }

/* 3. MOTION STATES ---------------------------------------------------------
   Elements are only pre-hidden when the motion engine is confirmed to run
   (html.sx-motion is set by an inline script in <head>), so content is never
   lost without JavaScript or with reduced motion.                          */
html.sx-motion [data-reveal],
html.sx-motion [data-stagger] > *,
html.sx-motion [data-split],
html.sx-motion [data-img-reveal] { visibility: hidden; }
html.sx-ready [data-reveal],
html.sx-ready [data-stagger] > *,
html.sx-ready [data-split],
html.sx-ready [data-img-reveal] { visibility: visible; }
[data-img-reveal] { overflow: hidden; }

.sx-line-mask { padding-bottom: .22em; margin-bottom: -.22em; }
/* split pieces are transformed, so each one carries the gradient itself */
.text-gradient .sx-char, .sx-gradient-text .sx-char, .text-gradient .sx-word:not(:has(.sx-char)), .sx-gradient-text .sx-word:not(:has(.sx-char)) { background: linear-gradient(100deg, var(--sx-orange-soft) 0%, var(--sx-orange) 60%, var(--sx-orange-bright) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* 4. CURTAIN / LOADER ------------------------------------------------------ */
.sx-curtain { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: none; }
html.sx-motion .sx-curtain { display: block; }
.sx-curtain__a, .sx-curtain__b { position: absolute; inset: -1px 0; }
.sx-curtain__a { background: linear-gradient(120deg, var(--sx-orange) 0%, var(--sx-orange-bright) 100%); }
.sx-curtain__b { background: var(--sx-navy-950); }
.sx-curtain__brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; color: #fff; }
.sx-curtain__mark { width: clamp(72px, 9vw, 108px); height: auto; border-radius: 27%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 0 60px rgba(232, 117, 26, .35); }
.sx-curtain__name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: .42em; font-size: clamp(.95rem, 1.6vw, 1.25rem); padding-left: .42em; }
.sx-curtain__tag { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-align: center; line-height: 1.7; }
.sx-curtain__bar { width: min(220px, 46vw); height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.sx-curtain__bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--sx-sky), var(--sx-orange)); }
.sx-curtain__count { font-family: 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums; font-size: .75rem; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.sx-curtain__name, .sx-curtain__tag, .sx-curtain__bar, .sx-curtain__count { display: none; }
html:not(.sx-seen) .sx-curtain--full .sx-curtain__name, html:not(.sx-seen) .sx-curtain--full .sx-curtain__tag, html:not(.sx-seen) .sx-curtain--full .sx-curtain__bar, html:not(.sx-seen) .sx-curtain--full .sx-curtain__count { display: block; }
.sx-curtain.is-iris .sx-curtain__b { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--r, 0px), #000 calc(var(--r, 0px) + 1.5px)); mask-image: radial-gradient(circle at 50% 50%, transparent var(--r, 0px), #000 calc(var(--r, 0px) + 1.5px)); }
.sx-curtain__ring { position: absolute; left: 50%; top: 50%; width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); margin: calc(var(--r, 0px) * -1) 0 0 calc(var(--r, 0px) * -1); border-radius: 50%; border: 2px solid var(--sx-orange); box-shadow: 0 0 46px rgba(232, 117, 26, .65), inset 0 0 46px rgba(232, 117, 26, .28); opacity: 0; pointer-events: none; }
.sx-curtain.is-iris .sx-curtain__ring { opacity: 1; }
/* failsafe: if scripts never run, lift the curtain anyway */
html.sx-motion:not(.sx-booted) .sx-curtain { animation: sx-curtain-failsafe .5s 5s forwards; }
@keyframes sx-curtain-failsafe { to { opacity: 0; visibility: hidden; } }
html.sx-motion:not(.sx-booted) [data-reveal],
html.sx-motion:not(.sx-booted) [data-stagger] > *,
html.sx-motion:not(.sx-booted) [data-split],
html.sx-motion:not(.sx-booted) [data-img-reveal] { animation: sx-show 0s 5s forwards; }
@keyframes sx-show { to { visibility: visible; } }

.sx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; pointer-events: none; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--sx-sky) 0%, var(--sx-orange) 70%, var(--sx-orange-bright) 100%); will-change: transform; }

/* 5. CURSOR (fine pointers only; injected by JS) -------------------------- */
.sx-cursor, .sx-cursor-ring { position: fixed; left: 0; top: 0; z-index: 290; pointer-events: none; border-radius: 50%; will-change: transform; opacity: 0; transition: opacity .3s; }
.sx-cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--sx-orange); }
.sx-cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; }
.sx-cursor-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(232, 117, 26, .65); transition: transform .45s var(--sx-ease), background-color .3s, border-color .3s; }
.sx-cursor-ring span { position: relative; font: 700 .68rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--sx-ease); white-space: nowrap; }
.sx-cursor-on .sx-cursor, .sx-cursor-on .sx-cursor-ring { opacity: 1; }
.sx-cursor-link .sx-cursor-ring::before { transform: scale(1.55); background: rgba(232, 117, 26, .12); }
.sx-cursor-link .sx-cursor { opacity: 0; }
.sx-cursor-label .sx-cursor-ring::before { transform: scale(2.3); background: var(--sx-orange); border-color: var(--sx-orange); }
.sx-cursor-label .sx-cursor-ring span { opacity: 1; transform: scale(1); }
.sx-cursor-label .sx-cursor { opacity: 0; }
.sx-cursor-down .sx-cursor-ring::before { transform: scale(.8); }
.sx-cursor-hide .sx-cursor, .sx-cursor-hide .sx-cursor-ring { opacity: 0; }

/* 6. BUTTONS --------------------------------------------------------------- */
.sx-btn {
  --btn-bg: var(--sx-orange); --btn-fg: #fff; --btn-fill: #fff; --btn-fill-fg: var(--sx-ink); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .95rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  overflow: hidden; isolation: isolate; cursor: pointer; user-select: none;
  transition: color .45s var(--sx-ease), border-color .45s var(--sx-ease), box-shadow .45s var(--sx-ease), transform .2s var(--sx-ease);
}
.sx-btn::before {
  content: ''; position: absolute; z-index: -1; left: var(--bx, 50%); top: var(--by, 110%);
  width: 240%; aspect-ratio: 1; border-radius: 50%; background: var(--btn-fill);
  transform: translate(-50%, -50%) scale(0); transition: transform .65s var(--sx-ease);
}
.sx-btn:hover, .sx-btn:focus-visible { color: var(--btn-fill-fg); }
.sx-btn:hover::before, .sx-btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.sx-btn:active { transform: scale(.97); }
.sx-btn > * { position: relative; }
.sx-btn__icon { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin: -.45rem -.75rem -.45rem 0; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: .78rem; overflow: hidden; transition: background-color .45s var(--sx-ease); }
.sx-btn__icon i { transition: transform .5s var(--sx-ease); }
.sx-btn:hover .sx-btn__icon { background: rgba(11, 25, 44, .12); }
.sx-btn:hover .sx-btn__icon i { transform: translateX(2px) rotate(-45deg); }
.sx-btn--light { --btn-bg: #fff; --btn-fg: var(--sx-ink); --btn-fill: var(--sx-orange); --btn-fill-fg: #fff; }
.sx-btn--light .sx-btn__icon { background: rgba(11, 25, 44, .09); }
.sx-btn--light:hover .sx-btn__icon { background: rgba(255, 255, 255, .25); }
.sx-btn--dark { --btn-bg: var(--sx-navy-800); --btn-fg: #fff; --btn-fill: var(--sx-orange); --btn-fill-fg: #fff; }
.sx-btn--ghost { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-fill: #fff; --btn-fill-fg: var(--sx-ink); --btn-bd: rgba(255, 255, 255, .28); }
.sx-btn--outline { --btn-bg: transparent; --btn-fg: var(--sx-ink); --btn-fill: var(--sx-navy-800); --btn-fill-fg: #fff; --btn-bd: rgba(11, 25, 44, .22); }
.sx-btn--sm { padding: .78rem 1.25rem; font-size: .82rem; }
.sx-btn--lg { padding: 1.25rem 2.1rem; font-size: 1.02rem; }
.sx-btn--glow { box-shadow: 0 14px 40px -12px rgba(232, 117, 26, .65); }

.sx-link { position: relative; display: inline-flex; align-items: center; gap: .6rem; font: 700 .82rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: .45rem; }
.sx-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(.28); transform-origin: left; opacity: .5; transition: transform .6s var(--sx-ease), opacity .3s; }
.sx-link i { transition: transform .5s var(--sx-ease); }
a:hover > .sx-link::after, .sx-link:hover::after, .group:hover .sx-link::after { transform: scaleX(1); opacity: 1; }
a:hover > .sx-link i, .sx-link:hover i, .group:hover .sx-link i { transform: translateX(5px); }

/* 7. HEADER ---------------------------------------------------------------- */
.sx-header { position: fixed; inset: 0 0 auto 0; z-index: 200; padding: .9rem var(--sx-gutter) 0; pointer-events: none; transition: transform .7s var(--sx-ease); will-change: transform; }
.sx-header.is-hidden { transform: translateY(-130%); }
.sx-header__inner {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1440px; margin-inline: auto; padding: .45rem .6rem .45rem .5rem; border-radius: 999px;
  border: 1px solid transparent; color: #fff;
  transition: background-color .5s var(--sx-ease), border-color .5s var(--sx-ease), box-shadow .5s var(--sx-ease), padding .5s var(--sx-ease);
}
.sx-header.is-scrolled .sx-header__inner, .sx-header.is-solid .sx-header__inner {
  background: rgba(5, 14, 28, .78);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, .65);
}
.sx-brand { display: flex; align-items: center; gap: .65rem; min-width: 0; color: #fff; text-decoration: none; }
.sx-brand img { width: 2.9rem; height: 2.9rem; object-fit: contain; flex: none; border-radius: 27%; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .8s var(--sx-ease), box-shadow .5s; }
.sx-brand:hover img { box-shadow: 0 10px 26px -8px rgba(232, 117, 26, .65), 0 0 0 1px rgba(232, 117, 26, .35); }
.sx-brand:hover img { transform: rotate(-8deg) scale(1.06); }
/* wordmark follows the logo: left letters cool, running into the brand orange */
.sx-brand__name { font: 800 1.22rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .2em; background: linear-gradient(90deg, #FFFFFF 0%, #E3ECF8 34%, #F3B373 66%, #E8751A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sx-brand__tag { display: none; padding-left: .9rem; margin-left: .25rem; border-left: 1px solid rgba(255, 255, 255, .22); font: 700 .58rem/1.55 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; }
@media (min-width: 1280px) { .sx-brand__tag { display: block; } }

.sx-nav { position: relative; display: none; align-items: center; gap: .15rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.sx-header.is-scrolled .sx-nav { background: transparent; border-color: transparent; }
@media (min-width: 1024px) { .sx-nav { display: flex; } }
.sx-nav__pill { position: absolute; left: 0; top: .3rem; bottom: .3rem; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .13); opacity: 0; pointer-events: none; }
.sx-nav a { position: relative; z-index: 1; padding: .62rem 1.05rem; border-radius: 999px; font: 500 .9rem/1 'Inter', sans-serif; letter-spacing: .01em; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; transition: color .3s; }
.sx-nav a:hover, .sx-nav a.is-active { color: #fff; }
.sx-nav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: .18rem; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sx-orange); }
@media (min-width: 1024px) and (max-width: 1180px) { .sx-nav a { padding-inline: .7rem; font-size: .84rem; } }

.sx-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.sx-header__cta { display: none; }
@media (min-width: 640px) { .sx-header__cta { display: inline-flex; } }
.sx-burger { position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
@media (min-width: 1024px) { .sx-burger { display: none; } }
.sx-burger span { position: absolute; left: 50%; width: 1.1rem; height: 1.5px; margin-left: -.55rem; background: currentColor; border-radius: 2px; transition: transform .55s var(--sx-ease), top .55s var(--sx-ease); }
.sx-burger span:nth-child(1) { top: calc(50% - 4px); }
.sx-burger span:nth-child(2) { top: calc(50% + 3px); }
.sx-menu-open .sx-burger span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.sx-menu-open .sx-burger span:nth-child(2) { top: 50%; transform: rotate(-45deg); }
.sx-menu-open .sx-header { transform: none !important; }
.sx-menu-open .sx-header__inner { background: transparent !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.sx-menu-open .sx-header__cta { opacity: 0; pointer-events: none; }
@media (max-width: 420px) { .sx-brand__name { font-size: 1.02rem; letter-spacing: .16em; } .sx-brand img { width: 2.7rem; height: 2.7rem; } }

/* 8. MOBILE MENU ----------------------------------------------------------- */
.sx-menu { position: fixed; inset: 0; z-index: 190; background: var(--sx-navy-950); color: #fff; visibility: hidden; clip-path: circle(0px at calc(100% - 2.9rem) 2.6rem); display: flex; flex-direction: column; padding: calc(var(--sx-header-h) + 1.5rem) var(--sx-gutter) calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sx-menu::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 45% at 100% 0%, rgba(232, 117, 26, .28), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(46, 111, 191, .35), transparent 70%); }
.sx-menu__list { position: relative; display: flex; flex-direction: column; margin: auto 0; padding: 1rem 0 2rem; }
.sx-menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; overflow: hidden; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sx-menu__list a > span { display: flex; align-items: baseline; gap: 1rem; font: 700 clamp(2rem, 9.5vw, 3.2rem)/1.15 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; }
.sx-menu__list a small { font: 600 .7rem/1 'Inter', sans-serif; letter-spacing: .18em; color: var(--sx-orange); transform: translateY(-.9em); }
.sx-menu__list a.is-active > span { color: var(--sx-orange); }
.sx-menu__foot { position: relative; display: grid; gap: .65rem; font-size: .92rem; }
.sx-menu__foot a { color: rgba(255, 255, 255, .78); text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; padding: .25rem 0; }
.sx-menu__foot a i { width: 1.1rem; color: var(--sx-orange); text-align: center; }
.sx-menu__foot { flex: none; }
.sx-menu__foot .sx-btn { margin-top: .6rem; color: var(--btn-fg); min-height: 3.5rem; }
.sx-menu { transition: clip-path .8s var(--sx-ease-io), visibility 0s linear .8s; }
.sx-menu-open .sx-menu { visibility: visible; clip-path: circle(150vmax at calc(100% - 2.9rem) 2.6rem); transition: clip-path .95s var(--sx-ease-io), visibility 0s; }
.sx-menu__list a > span { transform: translateY(120%); transition: transform .5s var(--sx-ease); }
.sx-menu-open .sx-menu__list a > span { transform: none; transition: transform 1s var(--sx-ease); transition-delay: calc(.28s + var(--i, 0) * .065s); }
.sx-menu__foot { opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.sx-menu-open .sx-menu__foot { opacity: 1; transform: none; transition: opacity .7s, transform .9s var(--sx-ease); transition-delay: .7s; }
@media (min-width: 1024px) { .sx-menu { display: none; } }

/* 9. TYPE HELPERS ---------------------------------------------------------- */
.sx-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .72rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--sx-orange); }
.sx-eyebrow::before { content: ''; width: 1.75rem; height: 1.5px; background: currentColor; flex: none; }
.sx-eyebrow--plain::before { display: none; }
.sx-eyebrow--chip { padding: .55rem .9rem; border-radius: 999px; background: rgba(232, 117, 26, .12); border: 1px solid rgba(232, 117, 26, .3); }
.sx-eyebrow--chip::before { width: 6px; height: 6px; border-radius: 50%; animation: sx-pulse 2.4s ease-in-out infinite; }
.sx-eyebrow--sky { color: var(--sx-sky); }
.sx-eyebrow--sky.sx-eyebrow--chip { background: rgba(78, 155, 255, .12); border-color: rgba(78, 155, 255, .3); }
@keyframes sx-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.sx-display { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.5rem, 6.6vw, 6.25rem); text-wrap: balance; }
.sx-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(2.1rem, 4.6vw, 4.25rem); text-wrap: balance; }
.sx-h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.sx-lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.7; font-weight: 300; }
.sx-accent { color: var(--sx-orange); }
.sx-accent-sky { color: var(--sx-sky); }
.text-gradient, .sx-gradient-text { background: linear-gradient(100deg, var(--sx-orange-soft) 0%, var(--sx-orange) 55%, var(--sx-orange-bright) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sx-outline-text { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.sx-scrub-word { display: inline-block; opacity: .16; }
.sx-char { display: inline-block; }

/* 10. MEDIA ----------------------------------------------------------------- */
.sx-media { position: relative; overflow: hidden; border-radius: var(--sx-radius); background: var(--sx-navy-800); transform: translateZ(0); }
.sx-media > img, .sx-media > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-media--parallax > img { inset: -9% 0; height: 118%; will-change: transform; }
.sx-zoom img { transition: transform 1.2s var(--sx-ease); }
.sx-zoom:hover img, .group:hover .sx-zoom img { transform: scale(1.07); }
.sx-kenburns { animation: sx-kenburns 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes sx-kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -2%, 0); } }

/* 11. MARQUEE + CARDS ------------------------------------------------------- */
.sx-marquee { display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sx-marquee__track { display: flex; flex: none; align-items: center; gap: var(--mq-gap, 2.75rem); padding-right: var(--mq-gap, 2.75rem); will-change: transform; }
html:not(.sx-motion) .sx-marquee__track { animation: sx-marquee 32s linear infinite; }
@keyframes sx-marquee { to { transform: translateX(-100%); } }
.sx-marquee--plain { -webkit-mask-image: none; mask-image: none; }

.sx-card { position: relative; border-radius: var(--sx-radius); overflow: hidden; isolation: isolate; }
.sx-card--dark { background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--sx-line-dark); color: #fff; transition: border-color .5s var(--sx-ease); }
.sx-card--dark:hover { border-color: rgba(232, 117, 26, .45); }
.sx-card--light { background: #fff; border: 1px solid var(--sx-line-light); box-shadow: 0 30px 70px -40px rgba(11, 25, 44, .35); }
[data-spotlight]::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--sx-x, 50%) var(--sx-y, 50%), rgba(232, 117, 26, .2), transparent 62%); }
[data-spotlight="sky"]::before { background: radial-gradient(420px circle at var(--sx-x, 50%) var(--sx-y, 50%), rgba(78, 155, 255, .22), transparent 62%); }
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }
.sx-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; font-size: 1.25rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: transform .7s var(--sx-ease), background-color .5s, color .5s; }
.group:hover .sx-icon, .sx-card:hover .sx-icon { transform: rotate(-8deg) scale(1.08); background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; }
.sx-icon--light { background: rgba(232, 117, 26, .1); border-color: rgba(232, 117, 26, .22); color: var(--sx-orange); }
.sx-tilt { transform-style: preserve-3d; }
.sx-tilt__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(520px circle at var(--sx-x, 50%) var(--sx-y, 50%), rgba(255, 255, 255, .22), transparent 55%); }
[data-tilt]:hover .sx-tilt__glare { opacity: 1; }

/* 12. SECTIONS + HEROES ------------------------------------------------------ */
.sx-section { position: relative; padding-block: clamp(5rem, 11vw, 10rem); }
.sx-dark { background: var(--sx-navy-950); color: #fff; }
.sx-navy { background: var(--sx-navy-800); color: #fff; }
.sx-light { background: #fff; color: var(--sx-ink); }
.sx-paper { background: var(--sx-paper); color: var(--sx-ink); }
.sx-rise { position: relative; z-index: 2; border-radius: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem) 0 0; margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.75rem)); }
.sx-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.sx-grid-bg--ink { background-image: linear-gradient(rgba(11, 25, 44, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 25, 44, .055) 1px, transparent 1px); }
.sx-noise::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sx-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.sx-orb--orange { background: radial-gradient(circle, rgba(232, 117, 26, .38), transparent 68%); }
.sx-orb--blue { background: radial-gradient(circle, rgba(46, 111, 191, .5), transparent 68%); }
.sx-orb--float { animation: sx-float 16s ease-in-out infinite alternate; }
@keyframes sx-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, -6%, 0) scale(1.12); } }

/* hero shell shared by every page */
.sx-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sx-navy-950); color: #fff; }
.sx-hero__bg { position: absolute; inset: 0; z-index: -3; }
.sx-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.sx-hero__gl { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.4s ease; }
.sx-hero__gl.is-live { opacity: 1; }
.sx-hero__gl canvas { display: block; width: 100% !important; height: 100% !important; }
.sx-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 9, 21, .92) 0%, rgba(3, 9, 21, .62) 42%, rgba(3, 9, 21, .12) 100%), linear-gradient(0deg, rgba(3, 9, 21, .95) 0%, rgba(3, 9, 21, 0) 42%); }
.sx-hero__aurora { position: absolute; inset: 0; z-index: -3; background: radial-gradient(55% 60% at 82% 18%, rgba(232, 117, 26, .34), transparent 62%), radial-gradient(60% 70% at 12% 85%, rgba(46, 111, 191, .5), transparent 65%), radial-gradient(40% 50% at 60% 70%, rgba(78, 155, 255, .16), transparent 70%), var(--sx-navy-950); }
.sx-scrollcue { display: inline-flex; align-items: center; gap: .8rem; font: 700 .66rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sx-scrollcue i { position: relative; width: 1px; height: 3.2rem; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sx-scrollcue i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--sx-orange); animation: sx-cue 2.1s var(--sx-ease-io) infinite; }
@keyframes sx-cue { 0% { transform: translateY(-110%); } 100% { transform: translateY(240%); } }

/* inner page hero */
.sx-pagehero { min-height: min(86vh, 54rem); display: flex; align-items: flex-end; padding: calc(var(--sx-header-h) + 5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.sx-pagehero--center { align-items: center; text-align: center; }
.sx-pagehero--short { min-height: min(62vh, 40rem); }
.sx-pagehero .sx-lead { color: rgba(255, 255, 255, .74); }
.sx-pagehero .sx-lead strong { color: #fff; font-weight: 500; }
.sx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font: 600 .72rem/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.sx-crumbs a { color: inherit; text-decoration: none; transition: color .3s; }
.sx-crumbs a:hover { color: #fff; }
.sx-crumbs i { font-size: .55rem; color: var(--sx-orange); }

/* closing call-to-action shared by every page */
.sx-cta { position: relative; min-height: 92vh; min-height: 92svh; display: grid; place-items: center; overflow: hidden; background: var(--sx-navy-900); color: #fff; text-align: center; }
.sx-cta__media { position: absolute; inset: 0; overflow: hidden; will-change: transform; transform-origin: 50% 60%; }
.sx-cta__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.sx-cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--sx-navy-900) 0%, rgba(5, 11, 20, .8) 40%, rgba(11, 25, 44, .55) 100%); }
.sx-cta__in { position: relative; padding: 8rem var(--sx-gutter) 6rem; max-width: 64rem; }
.sx-cta h2 { font-size: clamp(2.5rem, 6.6vw, 6rem); font-weight: 800; }
.sx-cta p { margin: 1.75rem auto 2.5rem; max-width: 44rem; color: rgba(255, 255, 255, .8); }
.sx-cta p strong { font-weight: 400; color: #fff; }
.sx-cta__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.sx-cta--compact { min-height: 70vh; }

/* horizontal story rail */
.sx-hscroll { position: relative; overflow: hidden; }
.sx-hscroll__track { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); will-change: transform; }
html:not(.sx-hpin) .sx-hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-inline: var(--sx-gutter); scroll-padding-inline: var(--sx-gutter); }
html:not(.sx-hpin) .sx-hscroll__track::-webkit-scrollbar { display: none; }
html:not(.sx-hpin) .sx-hscroll__track > * { scroll-snap-align: start; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* accordion */
.sx-acc__item { border-bottom: 1px solid var(--sx-line-dark); }
.sx-light .sx-acc__item, .sx-paper .sx-acc__item { border-color: var(--sx-line-light); }
.sx-acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font: 600 clamp(1.05rem, 1.5vw, 1.3rem)/1.35 'Plus Jakarta Sans', sans-serif; color: inherit; background: none; border: 0; cursor: pointer; transition: color .3s; }
.sx-acc__q:hover, .sx-acc__item.is-open .sx-acc__q { color: var(--sx-orange); }
.sx-acc__q i { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid currentColor; font-size: .8rem; opacity: .8; transition: transform .6s var(--sx-ease), background-color .4s, color .4s; }
.sx-acc__item.is-open .sx-acc__q i { transform: rotate(135deg); background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; opacity: 1; }
.sx-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--sx-ease); }
.sx-acc__item.is-open .sx-acc__a { grid-template-rows: 1fr; }
.sx-acc__a > div { overflow: hidden; }
.sx-acc__a p { padding: 0 3.5rem 1.6rem 0; line-height: 1.75; opacity: .72; font-weight: 300; }

/* 13. FOOTER + FLOATING ACTIONS --------------------------------------------- */
.sx-footer { position: relative; overflow: hidden; background: var(--sx-navy-900); color: rgba(255, 255, 255, .6); padding-top: clamp(3.5rem, 7vw, 6rem); }
.sx-footer a { color: inherit; text-decoration: none; transition: color .3s; }
.sx-footer a:hover { color: #fff; }
.sx-footer__grid { display: grid; gap: 3rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sx-footer__grid { grid-template-columns: repeat(3, 1fr); } .sx-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .sx-footer__grid { grid-template-columns: 1.7fr 1.1fr .8fr .9fr; } .sx-footer__brand { grid-column: auto; } }
.sx-footer h4 { color: #fff; font: 700 .74rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.sx-footer ul { display: grid; gap: .85rem; font-size: .95rem; }
.sx-footer ul a { position: relative; display: inline-block; }
.sx-footer ul a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--sx-orange); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--sx-ease); }
.sx-footer ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.sx-footer ul a.is-active { color: #fff; }
.sx-footer__contact { display: grid; gap: 1px; margin-top: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--sx-line-dark); border-radius: 1.5rem; overflow: hidden; background: var(--sx-line-dark); }
@media (min-width: 860px) { .sx-footer__contact { grid-template-columns: repeat(3, 1fr); } }
.sx-footer__contact a { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.5rem; background: var(--sx-navy-900); color: #fff; overflow: hidden; }
.sx-footer__contact a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232, 117, 26, .16), transparent 70%); transform: translateX(-101%); transition: transform .7s var(--sx-ease); }
.sx-footer__contact a:hover::before { transform: none; }
.sx-footer__contact a > * { position: relative; }
.sx-footer__contact .ico { display: grid; place-items: center; flex: none; width: 2.85rem; height: 2.85rem; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--sx-orange); font-size: 1.05rem; transition: transform .6s var(--sx-ease), background-color .4s, color .4s; }
.sx-footer__contact a:hover .ico { background: var(--sx-orange); color: #fff; transform: rotate(-10deg) scale(1.06); }
.sx-footer__contact small { display: block; font: 600 .64rem/1 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: .4rem; }
.sx-footer__contact b { font: 600 clamp(.92rem, 1.2vw, 1.05rem)/1.2 'Plus Jakarta Sans', sans-serif; word-break: break-word; }
.sx-footer__contact .go { margin-left: auto; font-size: .8rem; opacity: .45; transition: transform .5s var(--sx-ease), opacity .3s; }
.sx-footer__contact a:hover .go { opacity: 1; transform: translate(3px, -3px); }
.sx-social { display: flex; flex-wrap: wrap; gap: .55rem; }
.sx-social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--sx-line-dark); color: rgba(255, 255, 255, .75); font-size: 1rem; transition: transform .5s var(--sx-ease), background-color .4s, border-color .4s, color .4s; }
.sx-social a:hover { background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; transform: translateY(-4px); }
.sx-footer__word { color: rgba(255, 255, 255, .07); display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 4rem); font: 800 clamp(3.4rem, 17.5vw, 19rem)/.8 'Plus Jakarta Sans', sans-serif; letter-spacing: -.04em; white-space: nowrap; user-select: none; pointer-events: none; overflow: hidden; padding-bottom: .04em; }
.sx-footer__word span { display: inline-block; background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sx-footer__base { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--sx-line-dark); font-size: .85rem; }
.sx-footer__seo { padding-bottom: 2rem; font-size: .7rem; line-height: 1.7; color: rgba(255, 255, 255, .28); text-align: justify; }
@media (max-width: 640px) { .sx-footer__seo { text-align: left; } }
.sx-footer__seo strong { font-weight: 400; color: rgba(255, 255, 255, .42); }
.sx-footer__seo a { text-decoration: underline; text-underline-offset: 2px; }

.sx-fab { position: fixed; right: clamp(1rem, 2vw, 2rem); bottom: calc(clamp(1rem, 2vw, 2rem) + env(safe-area-inset-bottom)); z-index: 180; display: flex; flex-direction: column; gap: .7rem; }
.sx-fab a { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; color: #fff; font-size: 1.25rem; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: background-color .35s; }
.sx-fab__call { background: var(--sx-navy-600); border: 1px solid rgba(255, 255, 255, .16); }
.sx-fab__call:hover { background: var(--sx-orange); }
.sx-fab__wa { background: #25D366; font-size: 1.55rem !important; }
.sx-fab__wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: sx-ring 2.6s ease-out infinite; }
@keyframes sx-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
.sx-fab a span { position: absolute; right: calc(100% + .7rem); top: 50%; padding: .5rem .75rem; border-radius: .6rem; background: var(--sx-navy-800); border: 1px solid var(--sx-line-dark); font: 700 .72rem/1 'Inter', sans-serif; white-space: nowrap; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .3s, transform .45s var(--sx-ease); }
@media (hover: hover) { .sx-fab a:hover span { opacity: 1; transform: translate(0, -50%); } }
.sx-fab { transition: opacity .4s, transform .6s var(--sx-ease); }
.sx-menu-open .sx-fab, .sx-fab.is-off { opacity: 0; pointer-events: none; transform: translateY(1rem); }

/* 14. LEGACY PAGE HARMONISING ------------------------------------------------
   Service / legal / article pages keep their own section markup. These rules
   pull their one-off accent colours back onto the brand palette.            */
.gs-reveal, .gs-reveal-up, .gs-reveal-left, .gs-reveal-right { will-change: auto; }
html:not(.sx-motion) .gs-reveal, html:not(.sx-motion) .gs-reveal-up, html:not(.sx-motion) .gs-reveal-left, html:not(.sx-motion) .gs-reveal-right,
html:not(.sx-motion) .reveal, html:not(.sx-motion) .reveal-up, html:not(.sx-motion) .fade-up { opacity: 1 !important; transform: none !important; }

/* 14b. TEXT MOTION HELPERS ------------------------------------------------------ */
/* letter-roll hover: the label slides up while a copy rolls in letter by letter */
.sx-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.sx-roll__a { display: block; transition: transform .6s var(--sx-ease); }
.sx-roll__b { position: absolute; left: 0; top: 100%; display: block; white-space: nowrap; }
.sx-roll__b i { display: inline-block; font-style: normal; transition: transform .6s var(--sx-ease); transition-delay: calc(var(--i, 0) * 16ms); }
:is(a, button):hover .sx-roll__a, :is(a, button):focus-visible .sx-roll__a { transform: translateY(-112%); }
:is(a, button):hover .sx-roll__b i, :is(a, button):focus-visible .sx-roll__b i { transform: translateY(-100%); }
.sx-nav a .sx-roll__b { color: var(--sx-orange-soft); }

/* highlighted words get an underline that draws in once their heading has revealed */
.sx-accent, [data-split] .text-strixova-orange { background-image: linear-gradient(90deg, var(--sx-orange), var(--sx-orange-soft)); background-repeat: no-repeat; background-position: 0 94%; background-size: 0% .07em; transition: background-size 1.1s var(--sx-ease) .15s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.is-lit .sx-accent, .is-lit .text-strixova-orange, html:not(.sx-motion) .sx-accent { background-size: 100% .07em; }

/* looping decorations pause while off screen (set by the engine) */
.sx-paused, .sx-paused *, .sx-paused::before, .sx-paused::after { animation-play-state: paused !important; }

/* phones: frosted-glass blur is costly while scrolling, so cards use their tint alone */
@media (hover: none), (max-width: 767px) {
  #main [class*="backdrop-blur"], .sv-badge, .pf-stats, .rs-filter__in { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .rs-filter__in { background: rgba(255, 255, 255, .97); }
}

/* 14b. LUXE LAYER --------------------------------------------------------------
   3D sculptures, animated hairline card borders, button sheen, gradient shimmer. */

/* 3D sculptures (rendered by assets/js/sx-3d.js) sit behind the section's content */
.sx-3d-host { isolation: isolate; overflow-x: clip; }
.sx-3d { position: absolute; z-index: -1; top: clamp(2rem, 8vh, 6rem); width: clamp(240px, 32vw, 520px); aspect-ratio: 1; pointer-events: none; opacity: 0; transform: translateZ(0); transition: opacity 1.6s var(--sx-ease); contain: strict; }
.sx-3d.is-live { opacity: .9; }
.sx-3d--right { right: max(-11vw, -170px); }
.sx-3d--left { left: max(-11vw, -170px); }
.sx-3d--light.is-live { opacity: .7; }
.sx-3d canvas { display: block; width: 100%; height: 100%; }
.sx-3d::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 117, 26, .22), rgba(78, 155, 255, .08) 60%, transparent); filter: blur(30px); z-index: -1; }
.sx-3d--light::before { background: radial-gradient(closest-side, rgba(232, 117, 26, .16), rgba(46, 111, 191, .08) 60%, transparent); }
@media (max-width: 767px) {
  .sx-3d { width: 62vw; top: 1rem; }
  .sx-3d--right { right: -22vw; } .sx-3d--left { left: -22vw; }
  .sx-3d.is-live { opacity: .55; } .sx-3d--light.is-live { opacity: .45; }
}

/* luxe cards: a light runs around the border on hover, the card lifts on a soft glow */
@property --sx-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.sx-luxe { transition: box-shadow .6s var(--sx-ease), border-color .6s var(--sx-ease); }
.sx-luxe::after {
  content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--sx-ang), transparent 0deg, transparent 200deg, rgba(247, 141, 15, .95) 280deg, rgba(255, 210, 150, .95) 310deg, rgba(78, 155, 255, .85) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s var(--sx-ease); animation: sx-orbit 3.2s linear infinite; animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .sx-luxe:hover { box-shadow: 0 30px 70px -28px rgba(232, 117, 26, .38), 0 18px 40px -24px rgba(3, 9, 21, .45); }
  .sx-luxe:hover::after { opacity: 1; animation-play-state: running; }
}
@keyframes sx-orbit { to { --sx-ang: 360deg; } }

/* buttons: a slow glint crosses the primary buttons every few seconds */
.sx-btn--lg::after, .sx-btn--primary::after, .sx-header .sx-btn::after {
  content: ''; position: absolute; z-index: 0; top: -20%; bottom: -20%; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-120%) skewX(-18deg); animation: sx-glint 6.5s var(--sx-ease) infinite 2.5s;
}
@keyframes sx-glint { 0% { transform: translateX(-120%) skewX(-18deg); } 22%, 100% { transform: translateX(560%) skewX(-18deg); } }

/* gradient words shimmer slowly, like light moving over brushed metal */
.text-gradient:not(:has(.sx-char, .sx-word)), .sx-gradient-text:not(:has(.sx-char, .sx-word)) {
  background-image: linear-gradient(100deg, var(--sx-orange-soft) 0%, var(--sx-orange) 30%, #FFD9A8 45%, var(--sx-orange) 60%, var(--sx-orange-bright) 80%, var(--sx-orange-soft) 100%);
  background-size: 250% 100%; animation: sx-shimmer 7s ease-in-out infinite alternate;
}
@keyframes sx-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* images inside cards ease in a touch on hover */
@media (hover: hover) and (pointer: fine) {
  .sx-luxe img { transition: transform 1.2s var(--sx-ease); }
  .sx-luxe:hover img { transform: scale(1.045); }
}

/* 14b. MOTION BOOST ---------------------------------------------------------------
   Scroll-linked offsets use the independent `translate` property so they never fight
   the reveal / tilt transforms that GSAP writes to `transform`.                      */
.sx-colpar { translate: 0 var(--sx-py, 0px); }
.sx-hero__gl--boost { z-index: 0; }
.sx-hero__gl--boost.is-live { opacity: .8; }
.sx-hero-visual, .sx-tilt-in { will-change: transform; }

/* process timelines: each dot pings as the glowing line reaches it */
@keyframes sx-ping { 0% { box-shadow: 0 0 0 0 rgba(85, 158, 247, .75); } 100% { box-shadow: 0 0 0 20px rgba(85, 158, 247, 0); } }
.timeline-dot.active, .pipeline-node.active { animation: sx-ping 1.1s var(--sx-ease); }

/* articles: an accent rule draws under each section heading once its words have landed */
.sx-motion .blog-content h2::after { content: ''; display: block; width: 3.5rem; height: 3px; margin-top: .7rem; border-radius: 3px; background: linear-gradient(90deg, var(--sx-orange), #F59E0B); transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--sx-ease) .1s; }
.sx-motion .blog-content h2.is-lit::after { transform: scaleX(1); }
.sx-motion .blog-content blockquote { transition: box-shadow .6s var(--sx-ease); }

/* back to top: the ring fills with the scroll position */
.sx-top { position: fixed; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 60; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(6, 16, 32, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); cursor: pointer; opacity: 0; transform: translateY(18px) scale(.85); pointer-events: none; transition: opacity .45s var(--sx-ease), transform .55s var(--sx-ease), background-color .3s; }
.sx-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sx-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sx-top circle { fill: none; stroke-width: 2.5; }
.sx-top__track { stroke: rgba(255, 255, 255, .16); }
.sx-top__bar { stroke: var(--sx-orange); stroke-linecap: round; }
.sx-top i { position: relative; font-size: .95rem; transition: transform .45s var(--sx-ease); }
.sx-top:hover { background: var(--sx-orange); }
.sx-top:hover .sx-top__bar { stroke: #fff; }
.sx-top:hover i { transform: translateY(-3px); }
.sx-top:focus-visible { outline: 2px solid var(--sx-orange); outline-offset: 3px; }
.sx-menu-open .sx-top { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .sx-top { width: 2.9rem; height: 2.9rem; } }

/* 15. REDUCED MOTION ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .sx-marquee__track { animation: none !important; }
  .sx-curtain { display: none !important; }
  .sx-3d { display: none !important; }
  .sx-luxe::after, .sx-btn::after { animation: none !important; }
  .sx-scrub-word { opacity: 1 !important; }
  .sx-colpar { translate: none !important; }
}
@media print { .sx-top, .sx-header, .sx-fab, .sx-curtain, .sx-progress, .sx-cursor, .sx-cursor-ring { display: none !important; } }
