/* ============================================================
   BrightRay Holdings, cinematic str8fire.io-style layer
   ============================================================ */

:root {
  --chapter-pad: clamp(60px, 8vw, 100px);
}

/* ---------- Base: dark cinematic theme (matches homepage) ---------- */
/* (site-wide dark palette is defined in main.css) */

/* =========================================================
   HERO (HX), 100% viewport width, edge-to-edge
   ========================================================= */
.hx {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 180px) 0 clamp(80px, 10vh, 120px);
  background: #04090e;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Background layers ---------- */
.hx-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hx-photo {
  position: absolute; inset: -6%;
  background: url('/assets/img/hero-bg.jpg') center 32% / cover no-repeat;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.02);
  will-change: transform;
  animation: hxPhotoDrift 22s ease-in-out infinite alternate;
}
@keyframes hxPhotoDrift {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1.5%); }
}
.hx-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,9,14,.96) 0%, rgba(4,9,14,.82) 42%, rgba(4,9,14,.25) 72%, rgba(4,9,14,.55) 100%),
    linear-gradient(180deg, rgba(4,9,14,.4) 0%, transparent 30%, rgba(4,9,14,.75) 100%);
}
.hx-grid {
  position: absolute; inset: 0; opacity: .18;
  background-image:
    linear-gradient(rgba(127,221,229,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,221,229,.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 55%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 55%, #000 40%, transparent 90%);
}
.hx-glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  mix-blend-mode: screen; will-change: transform;
}
.hx-glow-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(16,167,181,.55), transparent 65%);
  top: -180px; right: -120px;
  animation: hxGlow 18s ease-in-out infinite alternate;
}
.hx-glow-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(10,131,197,.5), transparent 65%);
  bottom: -160px; left: -100px;
  animation: hxGlow 22s ease-in-out infinite alternate-reverse;
}
.hx-glow-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(127,221,229,.35), transparent 70%);
  top: 45%; left: 45%;
  animation: hxGlowSmall 14s ease-in-out infinite alternate;
}
@keyframes hxGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: .8; }
  100% { transform: translate(60px, -40px) scale(1.15); opacity: 1; }
}
@keyframes hxGlowSmall {
  0%   { transform: translate(-30px, -20px) scale(.9); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}
.hx-arcs { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hx-arc-1, .hx-arc-2, .hx-arc-3 {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: hxArcDraw 3s ease-out .4s forwards, hxArcFlow 12s linear 3.4s infinite;
}
.hx-arc-2 { animation-delay: .7s, 3.7s; }
.hx-arc-3 { animation-delay: 1s, 4s; }
@keyframes hxArcDraw { to { stroke-dashoffset: 0; } }
@keyframes hxArcFlow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

/* Rising droplets */
.hx-drops { position: absolute; inset: 0; pointer-events: none; }
.hx-drop {
  position: absolute; bottom: -30px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.9) 0 8%, rgba(255,255,255,.15) 26%, transparent 42%),
    linear-gradient(160deg, rgba(180,240,245,.5), rgba(10,131,197,.15));
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 -3px 6px rgba(10,131,197,.3), 0 4px 14px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0;
  animation: hxDropRise linear infinite;
}
.hx-drop-1  { left: 6%;  width: 14px; height: 14px; animation-duration: 12s; animation-delay: 0s; }
.hx-drop-2  { left: 12%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: 1.4s; }
.hx-drop-3  { left: 20%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: .7s; }
.hx-drop-4  { left: 28%; width: 26px; height: 26px; animation-duration: 17s; animation-delay: 3s; }
.hx-drop-5  { left: 36%; width: 12px; height: 12px; animation-duration: 13s; animation-delay: 2s; }
.hx-drop-6  { left: 44%; width: 18px; height: 18px; animation-duration: 16s; animation-delay: 4s; }
.hx-drop-7  { left: 52%; width: 9px;  height: 9px;  animation-duration: 11s; animation-delay: .9s; }
.hx-drop-8  { left: 60%; width: 22px; height: 22px; animation-duration: 19s; animation-delay: 2.8s; }
.hx-drop-9  { left: 68%; width: 14px; height: 14px; animation-duration: 14s; animation-delay: 5s; }
.hx-drop-10 { left: 76%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: 1.1s; }
.hx-drop-11 { left: 82%; width: 11px; height: 11px; animation-duration: 15s; animation-delay: 3.4s; }
.hx-drop-12 { left: 88%; width: 24px; height: 24px; animation-duration: 18s; animation-delay: 2.2s; }
.hx-drop-13 { left: 94%; width: 13px; height: 13px; animation-duration: 13s; animation-delay: 4.6s; }
.hx-drop-14 { left: 48%; width: 8px;  height: 8px;  animation-duration: 10s; animation-delay: 6s; }
@keyframes hxDropRise {
  0%   { transform: translate3d(0, 0, 0) scale(.5); opacity: 0; }
  10%  { opacity: .9; }
  80%  { opacity: .5; }
  100% { transform: translate3d(20px, -110vh, 0) scale(1.2); opacity: 0; }
}

/* Floating chips */
.hx-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hx-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: #d6e4ee;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
  opacity: 0;
  animation: hxChipFade 1.2s ease-out forwards, hxChipFloat 8s ease-in-out infinite;
}
.hx-chip i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(16,167,181,.9);
}
.hx-chip-1 { top: 12%;  right: 6%;  animation-delay: 1.1s, 1.1s; }
.hx-chip-2 { top: 30%;  right: 28%; animation-delay: 1.3s, 1.3s; }
.hx-chip-3 { bottom: 26%; right: 8%; animation-delay: 1.5s, 1.5s; }
.hx-chip-4 { top: 60%;  right: 34%; animation-delay: 1.7s, 1.7s; }
.hx-chip-2 i, .hx-chip-4 i { background: var(--blue); box-shadow: 0 0 12px rgba(10,131,197,.9); }
@keyframes hxChipFade {
  to { opacity: 1; }
}
@keyframes hxChipFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -12px); }
}

/* ---------- Content ---------- */
.hx-inner {
  position: relative; z-index: 4;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 90px);
  display: block;
}

.hx-copy { max-width: 900px; }

.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #c5d8e4;
  margin-bottom: 36px;
}
.hx-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 14px rgba(16,167,181,.9);
  animation: hxPulse 2s ease-in-out infinite;
}
@keyframes hxPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.75); }
}

/* --- HUGE title --- */
.hx-title {
  margin: 0 0 clamp(28px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  color: #fff;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  text-wrap: balance;
}
.hx-title .hx-word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  will-change: transform, opacity;
}
.hx-title.is-in .hx-word {
  animation: hxRise 1.05s cubic-bezier(.2,.9,.2,1) forwards;
}
.hx-title.is-in .hx-word-1 { animation-delay: .05s; }
.hx-title.is-in .hx-word-2 { animation-delay: .18s; }
.hx-title.is-in .hx-word-3 { animation-delay: .38s; }
.hx-title.is-in .hx-word-4 { animation-delay: .52s; }
@keyframes hxRise { to { transform: translateY(0); opacity: 1; } }

.hx-title-sub {
  display: block;
  margin-top: clamp(2px, .4vw, 8px);
}
.hx-grad {
  background: linear-gradient(105deg, #7FDDE5 0%, #10A7B5 35%, #0A83C5 70%, #7FDDE5 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(16,167,181,.35));
  animation: hxGradShift 8s ease-in-out infinite;
}
@keyframes hxGradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hx-dot { color: var(--teal); -webkit-text-fill-color: var(--teal); }

/* --- Lead paragraph --- */
.hx-lead {
  margin: 0 0 clamp(36px, 4vw, 52px);
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: #a9becf;
}
.hx-lead b { color: #fff; font-weight: 700; }

/* --- Big chunky buttons --- */
.hx-cta {
  display: flex; flex-wrap: wrap;
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(48px, 5vw, 72px);
}
.hx-btn {
  --btn-h: clamp(58px, 6vw, 74px);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 clamp(24px, 2.5vw, 34px);
  height: var(--btn-h);
  border-radius: calc(var(--btn-h) / 2);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s, filter .3s;
  cursor: pointer;
  white-space: nowrap;
}
.hx-btn:hover { transform: translateY(-3px); }
.hx-btn:active { transform: translateY(-1px); }
.hx-btn .hx-btn-label { position: relative; z-index: 2; }
.hx-btn .hx-btn-icon {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center;
  transition: transform .35s var(--ease-out);
}
.hx-btn:hover .hx-btn-icon { transform: translateX(6px); }

.hx-btn-primary {
  background: linear-gradient(120deg, #10A7B5 0%, #0A83C5 55%, #7FDDE5 120%);
  background-size: 200% 100%;
  box-shadow:
    0 18px 40px rgba(16,167,181,.4),
    inset 0 1px 0 rgba(255,255,255,.35);
  animation: hxBtnShift 5s ease-in-out infinite;
}
.hx-btn-primary:hover {
  color: #fff;
  box-shadow: 0 26px 60px rgba(16,167,181,.55), inset 0 1px 0 rgba(255,255,255,.4);
  filter: brightness(1.06);
}
.hx-btn-primary .hx-btn-glow {
  position: absolute; inset: -50%; z-index: 1;
  background: radial-gradient(circle, rgba(255,255,255,.4), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.hx-btn-primary:hover .hx-btn-glow { opacity: 1; }
@keyframes hxBtnShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hx-btn-wa {
  background: #25D366;
  color: #062b12;
  box-shadow: 0 18px 40px rgba(37,211,102,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.hx-btn-wa:hover {
  background: #1fc15a; color: #062b12;
  box-shadow: 0 26px 60px rgba(37,211,102,.5);
}
.hx-btn-wa .hx-btn-icon { color: #062b12; }

.hx-btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.24);
  color: #e6eef4;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hx-btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* --- Facts row --- */
.hx-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 36px);
  padding: clamp(20px, 2.5vw, 28px) 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
  list-style: none; margin: 0;
  max-width: 640px;
}
.hx-facts li { display: flex; flex-direction: column; gap: 6px; }
.hx-facts b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.hx-facts span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7a91a3;
  line-height: 1.4;
}

/* --- Right side glass showcase --- */
.hx-showcase {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
}
.hx-showcase-halo {
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16,167,181,.35), transparent 65%);
  filter: blur(40px);
  animation: hxHalo 6s ease-in-out infinite alternate;
}
@keyframes hxHalo {
  from { opacity: .5; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1.05); }
}
.hx-showcase-card {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 32px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.05) 45%, rgba(16,167,181,.08) 100%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(16,167,181,.15),
    0 40px 90px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  display: flex; flex-direction: column;
  animation: hxCardFloat 6s ease-in-out infinite;
}
@keyframes hxCardFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(.5deg); }
}
.hx-showcase-head {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  color: #d0e4ee; text-transform: uppercase;
  align-self: flex-start;
}
.hx-showcase-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7FDDE5; box-shadow: 0 0 14px #7FDDE5;
  animation: hxPulse 1.4s ease-in-out infinite;
}
.hx-showcase-mark {
  position: relative;
  flex: 1;
  display: grid; place-items: center;
  margin: clamp(20px, 2vw, 30px) 0;
}
.hx-showcase-mark .brand-mark {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
  animation: hxMarkFloat 5s ease-in-out infinite;
}
@keyframes hxMarkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hx-ring {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(127,221,229,.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hx-ring-1 { width: 60%; height: 60%; animation: hxRingSpin 20s linear infinite; }
.hx-ring-2 { width: 78%; height: 78%; animation: hxRingSpin 30s linear infinite reverse; border-style: dashed; opacity: .5; }
.hx-ring-3 { width: 100%; height: 100%; animation: hxRingSpin 40s linear infinite; opacity: .3; }
@keyframes hxRingSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hx-showcase-stat {
  text-align: center;
  padding: clamp(16px, 2vw, 20px) 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hx-showcase-stat em {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.hx-showcase-stat em:last-child {
  background: linear-gradient(90deg, var(--teal), #7FDDE5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-showcase-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: clamp(16px, 2vw, 20px);
}
.hx-showcase-foot > div { display: flex; flex-direction: column; gap: 4px; }
.hx-showcase-foot b { font-size: .95rem; font-weight: 700; color: #fff; }
.hx-showcase-foot span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #7a91a3; }

/* Orbiting satellites around the showcase */
.hx-orbit {
  position: absolute; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(140deg, #7FDDE5, #10A7B5);
  box-shadow: 0 0 24px rgba(127,221,229,.7);
  animation: hxOrbit 12s linear infinite;
}
.hx-orbit-1 { top: 10%; left: -10px; animation-duration: 15s; }
.hx-orbit-2 { top: 50%; right: -14px; width: 16px; height: 16px; background: linear-gradient(140deg, #0A83C5, #10A7B5); animation-duration: 20s; animation-direction: reverse; }
.hx-orbit-3 { bottom: 8%; left: 20%; width: 12px; height: 12px; background: #7FDDE5; animation-duration: 18s; }
@keyframes hxOrbit {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(20px, -20px); }
  50%      { transform: translate(0, -40px); }
  75%      { transform: translate(-20px, -20px); }
}

/* --- Scroll cue --- */
.hx-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0;
  animation: hxChipFade 1s ease-out 1.8s forwards;
}
.hx-scroll-label {
  font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: #6a8091;
}
.hx-scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: hxScrollPulse 2s ease-in-out infinite;
}
@keyframes hxScrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .8; }
  50% { transform: scaleY(.4); opacity: .3; transform-origin: top; }
}

/* GSAP hook, hero fade elements start hidden, GSAP reveals */
[data-hx-fade] { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hx-showcase { max-width: 340px; aspect-ratio: 5/6; }
  .hx-chip-2, .hx-chip-4 { display: none; }
}
@media (max-width: 900px) {
  .hx-inner { grid-template-columns: 1fr; }
  .hx-showcase { display: none; }
  .hx-chip { display: none; }
  .hx-title { font-size: clamp(3rem, 12vw, 5.5rem); }
}
@media (max-width: 640px) {
  .hx { padding-top: 130px; padding-bottom: 90px; }
  .hx-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hx-lead { font-size: 1.02rem; }
  .hx-cta { gap: 12px; }
  .hx-btn { --btn-h: 58px; font-size: 1rem; padding: 0 22px; }
  .hx-btn-ghost { display: none; }
  .hx-facts { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .hx-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-photo, .hx-glow, .hx-drop, .hx-arc-1, .hx-arc-2, .hx-arc-3,
  .hx-chip, .hx-showcase-card, .hx-ring, .hx-orbit,
  .hx-showcase-mark .brand-mark, .hx-showcase-halo, .hx-grad,
  .hx-btn-primary, .hx-scroll-line, .hx-eyebrow .dot { animation: none !important; }
  .hx-title .hx-word { transform: none; opacity: 1; }
  [data-hx-fade] { opacity: 1; transform: none; }
}

/* ---------- PINNED STATS ---------- */
.pin-trigger { position: relative; }
.fs-stats {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  background: var(--near-black);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 60px);
  width: 100%; max-width: var(--container); padding-inline: 20px;
  text-align: center;
}
.stat-card { opacity: 0; transform: translateY(30px); }
.stat-number {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; font-size: clamp(5rem, 14vw, 13rem); color: #fff;
  background: linear-gradient(140deg, #fff 30%, #10A7B5 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-unit { font-size: clamp(1.2rem, 3vw, 2.4rem); opacity: .6; }
.stat-label { font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .14em; text-transform: uppercase; color: #5A7080; margin-top: 16px; }
.stat-divider { width: 40px; height: 2px; background: var(--teal); margin: 14px auto; }

/* ---------- MARQUEE (already in main.css, dark variant) ---------- */
.marquee.on-dark { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.07); }

/* ---------- CURRENT CLIENTS · static list ---------- */
.clients-static {
  background: #07111A;
  border-block: 1px solid rgba(255,255,255,.07);
  padding: clamp(48px, 7vw, 88px) 0;
}
.clients-static-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.clients-static-label .eyebrow {
  color: var(--teal);
  margin-bottom: 12px;
}
.clients-static-label h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
}
.clients-static-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clients-static-list li {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -.02em;
}
.clients-static-list li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: middle;
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .clients-static-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- HOME SERVICES GRID ---------- */
.fs-services {
  background: var(--near-black);
  padding: clamp(64px, 9vw, 110px) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  scroll-margin-top: 96px;
}
.home-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(32px, 5vw, 48px);
}
.home-svc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff;
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.home-svc-card:hover {
  border-color: rgba(16,167,181,.45);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}
.home-svc-ic {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--teal);
  background: rgba(16,167,181,.12);
  border: 1px solid rgba(16,167,181,.22);
}
.home-svc-name {
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}
.home-svc-go { color: var(--teal); opacity: .7; }
.home-svc-card:hover .home-svc-go { opacity: 1; }
.home-svc-more {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .home-svc-grid { grid-template-columns: 1fr; }
}

/* ---------- CHAPTER SECTIONS (str8fire "01, 02..." style) ---------- */
.fs-chapter {
  position: relative; min-height: 100svh; display: grid;
  grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--near-black);
}
.chapter-num {
  position: absolute; top: var(--chapter-pad); left: var(--chapter-pad);
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,.18); letter-spacing: .1em; z-index: 3; font-weight: 700;
}
.chapter-divider {
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,167,181,.3), rgba(10,131,197,.2), transparent);
}
.chapter-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(100px, 15vw, 160px) var(--chapter-pad) var(--chapter-pad);
  position: relative; z-index: 2;
}
.chapter-category {
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 24px; font-weight: 700;
  display: flex; align-items: center; gap: 12px;
}
.chapter-category::before { content: ''; width: 28px; height: 1px; background: var(--teal); }
.chapter-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.035em; line-height: 1.0;
  font-size: clamp(3rem, 6vw, 6.5rem); color: #fff; margin: 0 0 28px;
}
.chapter-desc { color: #6A7F8F; font-size: clamp(.92rem, 1.4vw, 1.1rem); max-width: 420px; line-height: 1.7; margin-bottom: 40px; }
.chapter-cta {
  display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 700;
  font-size: .88rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 12px;
  transition: color .3s, border-color .3s, gap .3s var(--ease-out);
}
.chapter-cta:hover { color: var(--teal); border-color: var(--teal); gap: 22px; }
.chapter-cta .ic { transition: transform .3s var(--ease-out); }
.chapter-cta:hover .ic { transform: translateX(6px); }

.chapter-media {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.03);
  border-left: 1px solid rgba(255,255,255,.06);
}
.chapter-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transform-origin: center center;
  will-change: transform; transition: transform 8s ease-out;
}
.chapter-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,9,13,.8) 0%, rgba(5,9,13,.1) 100%);
}
.chapter-media-tag {
  position: absolute; bottom: var(--chapter-pad); right: var(--chapter-pad); z-index: 3;
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4);
}

/* Chapter service tags */
.chapter-services { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ch-tag {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5A7080;
  border: 1px solid rgba(255,255,255,.1); padding: 6px 14px; border-radius: 99px;
  transition: border-color .3s, color .3s;
}
.ch-tag:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- SKETCHFAB 3D MODELS SECTION ---------- */
.fs-models { background: var(--near-black); padding: var(--chapter-pad) 0; position: relative; }
.fs-models::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 20% 50%, rgba(16,167,181,.08), transparent 70%),
    radial-gradient(600px 400px at 80% 50%, rgba(10,131,197,.07), transparent 70%);
}
.models-header { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); position: relative; z-index: 2; }
.models-header .eyebrow { justify-content: center; }
.models-section-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.03em; font-size: clamp(2.4rem, 6vw, 5.5rem); color: #fff; margin: 0;
}
.models-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2;
}
.model-panel {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  aspect-ratio: 4/3; transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.model-panel:hover { border-color: rgba(16,167,181,.4); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(5,9,13,.6); }
.model-panel iframe {
  width: 100%; height: 100%; border: none; display: block;
  opacity: 0; transition: opacity .6s;
}
.model-panel iframe.loaded { opacity: 1; }
.model-panel-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(5,9,13,.9), transparent);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.model-panel-name { color: #fff; font-size: .85rem; font-weight: 700; }
.model-panel-source { font-size: .65rem; letter-spacing: .2em; color: var(--teal); text-transform: uppercase; }
.model-spinner {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #5A7080; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,255,255,.02); pointer-events: none;
}
.model-spinner .spin-ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(16,167,181,.3); border-top-color: var(--teal);
  animation: spinRing 1s linear infinite; margin-bottom: 12px;
}
@keyframes spinRing { to { transform: rotate(360deg); } }

/* ---------- SERVICES GRID (dark) ---------- */
.fs-services { background: var(--near-black); padding: var(--chapter-pad) 0; }
.fs-services .svc-card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fs-services .svc-card:hover { border-color: rgba(16,167,181,.4); }
.fs-services .svc-card h3 { color: #fff; }
.fs-services .svc-card p { color: #6A7F8F; }
.fs-services .link-arrow { color: var(--teal); }
.fs-services .svc-ic { background: linear-gradient(135deg, rgba(16,167,181,.12), rgba(10,131,197,.08)); border-color: rgba(16,167,181,.2); }

/* ---------- PROCESS (dark, numbered) ---------- */
.fs-process { background: var(--navy); padding: var(--chapter-pad) 0; }
.process-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 32px; padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.process-row.is-in { opacity: 1; transform: none; }
.process-row:last-child { border-bottom: 0; }
.process-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 6vw, 6rem); color: rgba(255,255,255,.08);
  letter-spacing: -.04em; line-height: 1; min-width: 1.6ch; text-align: right;
}
.process-content h3 { color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.process-content p { color: #6A7F8F; font-size: clamp(.88rem, 1.3vw, 1rem); margin: 0; max-width: 560px; }
.process-tag { font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); padding: 8px 16px; border: 1px solid rgba(16,167,181,.3); border-radius: 99px; white-space: nowrap; }

/* ---------- FINAL CTA (cinematic) ---------- */
.fs-cta {
  position: relative; min-height: 80svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--near-black); text-align: center;
  padding: var(--chapter-pad) 20px;
}
.fs-cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/img/service-products.jpg');
  background-size: cover; background-position: center;
  filter: brightness(.18) saturate(1.8);
}
.fs-cta-inner { position: relative; z-index: 2; max-width: 900px; }
.fs-cta-tag { font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--teal); margin-bottom: 28px; display: block; }
.fs-cta-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.03em; font-size: clamp(3rem, 8vw, 8.5rem);
  line-height: .95; color: #fff; margin-bottom: 36px;
}
.fs-cta-title em { font-style: normal; color: var(--teal); }
.fs-cta-sub { color: #6A7F8F; font-size: clamp(1rem, 1.8vw, 1.3rem); max-width: 540px; margin: 0 auto 48px; }
.fs-cta-arc { position: absolute; inset: 0; pointer-events: none; opacity: .6; }
.fs-cta-alt { margin-top: 30px; font-size: .85rem; color: #4A5F73; }
.fs-cta-alt a { color: #7A8FA0; font-weight: 600; }
.fs-cta-alt a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fs-chapter { grid-template-columns: 1fr; min-height: auto; }
  .chapter-media { min-height: 45vw; }
  .chapter-media img { object-position: center 20%; }
  .chapter-text { padding: 100px 24px 40px; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; max-width: 400px; margin-inline: auto; }
  .models-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stat-number { font-size: clamp(4rem, 18vw, 7rem); }
  .chapter-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .models-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; gap: 10px; }
  .process-n { text-align: left; }
  .process-tag { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-media img { transform: none !important; }
  .stat-card { opacity: 1 !important; transform: none !important; }
  .process-row { opacity: 1 !important; transform: none !important; }
}
