/* CK Group — gold / silver / black theme */

:root {
  /* Responsive horizontal inset — use sitewide for aligned left/right margins */
  --layout-inline: clamp(1.125rem, 4.2vw, 2.75rem);
  --bg-deep: #0a0a0a;
  --bg-card: rgba(18, 18, 18, 0.72);
  --accent-gold: #d4af37;
  --accent-gold-bright: #ffd700;
  --accent-gold-dark: #b8860b;
  --accent-silver: #c0c0c0;
  --accent-silver-light: #e5e4e2;
  --text-muted: #a9a9a9;
  --glass-border: rgba(212, 175, 55, 0.12);
  --glow-gold: rgba(212, 175, 55, 0.4);
  --glow-silver: rgba(197, 197, 197, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--accent-silver-light);
  overflow-x: hidden;
}

/* Consistent page gutters (aligns header, main shells, footer) */
#site-nav .site-header__inner {
  padding-left: var(--layout-inline) !important;
  padding-right: var(--layout-inline) !important;
}

.hero-parallax {
  padding-left: var(--layout-inline) !important;
  padding-right: var(--layout-inline) !important;
}

.home-companies__head {
  padding-left: var(--layout-inline) !important;
  padding-right: var(--layout-inline) !important;
}

main .mx-auto.max-w-xl,
main .mx-auto.max-w-2xl,
main .mx-auto.max-w-3xl,
main .mx-auto.max-w-4xl,
main .mx-auto.max-w-5xl,
main .mx-auto.max-w-6xl,
main .mx-auto.max-w-7xl {
  padding-left: var(--layout-inline) !important;
  padding-right: var(--layout-inline) !important;
}

main section#about-stats {
  padding-left: var(--layout-inline) !important;
  padding-right: var(--layout-inline) !important;
}

/* Sleek footer — horizontal inset on <footer> so mobile + safe-area always apply */
.site-footer {
  background: linear-gradient(180deg, #070707 0%, #000 55%);
  padding-left: max(var(--layout-inline), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-inline), env(safe-area-inset-right, 0px));
}


/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-silver-light));
  box-shadow: 0 0 12px var(--glow-gold);
  transition: width 0.05s linear;
}

/* Hero mesh animation */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 175, 55, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(192, 192, 192, 0.08), transparent),
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(184, 134, 11, 0.1), transparent);
  animation: mesh-shift 18s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: scale(1.08) translate(2%, -1%);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.05) translate(-1%, 2%);
    opacity: 1;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 48px;
  }
}

/* Hero motion background wrapper */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-parallax-bg {
  transform-origin: center center;
  will-change: transform;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-2%, 1%);
  }
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85) contrast(1.1);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 30%, var(--bg-deep) 95%);
  pointer-events: none;
}

/* Glass cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 0 40px var(--glow-gold);
  border-color: rgba(212, 175, 55, 0.28);
}

/* Services grid — icon cards */
.service-card.glass-card {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.35s ease;
}

.service-card.glass-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.28),
    0 0 52px rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.32);
}

.service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(155deg, rgba(212, 175, 55, 0.2), rgba(18, 18, 18, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.35s ease;
}

.service-card:hover .service-card__icon-wrap {
  transform: scale(1.08);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(212, 175, 55, 0.22);
}

.service-card__icon {
  width: 1.875rem;
  height: 1.875rem;
  color: var(--accent-gold);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__icon {
  transform: scale(1.12);
}

/* —— How It Works —— */
.how-process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
}

.how-step.glass-card {
  width: 100%;
  max-width: 22rem;
  border-radius: 14px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.35s ease;
}

.how-process .how-step.glass-card:hover {
  transform: scale(1.045);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 40px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.28);
}

.how-step__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.18), rgba(12, 12, 12, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.28);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-step:hover .how-step__icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}

.how-step__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-gold);
}

.how-step__title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .how-step__title {
    font-size: 1.05rem;
  }
}

.how-step__desc {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .how-step__desc {
    font-size: 0.875rem;
  }
}

.how-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0;
}

.how-sep__arrow {
  width: 1.65rem;
  height: auto;
  color: rgba(212, 175, 55, 0.82);
  transform: rotate(90deg);
  animation: how-arrow-nudge-v 2.5s ease-in-out infinite;
}

.how-process > *:nth-child(2) .how-sep__arrow {
  animation-delay: 0s;
}
.how-process > *:nth-child(4) .how-sep__arrow {
  animation-delay: 0.15s;
}
.how-process > *:nth-child(6) .how-sep__arrow {
  animation-delay: 0.3s;
}
.how-process > *:nth-child(8) .how-sep__arrow {
  animation-delay: 0.45s;
}

@keyframes how-arrow-nudge-h {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

@keyframes how-arrow-nudge-v {
  0%,
  100% {
    transform: rotate(90deg) translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: rotate(90deg) translateY(5px);
    opacity: 1;
  }
}

/* Tablet: 3-column band + down arrows between bands */
@media (min-width: 768px) and (max-width: 1023px) {
  .how-process {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 0.35rem;
    row-gap: 0.25rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }

  .how-process > *:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .how-process > *:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .how-process > *:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .how-process > *:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    padding: 0.4rem 0;
  }
  .how-process > *:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    width: 100%;
  }
  .how-process > *:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
  }
  .how-process > *:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
    max-width: none;
    width: 100%;
  }
  .how-process > *:nth-child(8) {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: center;
    padding: 0.4rem 0;
  }
  .how-process > *:nth-child(9) {
    grid-column: 1 / -1;
    grid-row: 5;
    max-width: 24rem;
    width: 100%;
    justify-self: center;
  }

  .how-process > *:nth-child(2) .how-sep__arrow,
  .how-process > *:nth-child(6) .how-sep__arrow {
    transform: none;
    animation-name: how-arrow-nudge-h;
  }

  .how-process > *:nth-child(4) .how-sep__arrow,
  .how-process > *:nth-child(8) .how-sep__arrow {
    transform: rotate(90deg);
    animation-name: how-arrow-nudge-v;
  }
}

/* Desktop: single row + horizontal arrows */
@media (min-width: 1024px) {
  .how-process {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.35rem;
    max-width: none;
  }

  .how-step.glass-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 1.25rem 0.65rem;
  }

  .how-sep {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    min-height: 0;
    align-self: center;
    padding: 0;
  }

  .how-sep__arrow {
    transform: none;
    animation-name: how-arrow-nudge-h;
  }
}

/* —— Services detail page (companies.html) —— */
.service-detail-card.glass-card {
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.35s ease;
}

.service-detail-card.glass-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 48px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-detail-card__inner {
  min-height: 0;
}

@media (min-width: 1024px) {
  .service-detail-card__inner {
    min-height: 300px;
  }

  .service-detail-card__media {
    min-height: 300px;
  }
}

.service-detail-card__media {
  isolation: isolate;
}

.service-detail-card__img {
  transform: scale(1.001);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-detail-card:hover .service-detail-card__img {
  transform: scale(1.07);
}

.services-page-hero {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-services main {
    animation: services-main-enter 0.5s ease-out both;
  }
}

@keyframes services-main-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-investment main {
    animation: services-main-enter 0.52s ease-out both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-network main {
    animation: services-main-enter 0.52s ease-out both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-about main {
    animation: services-main-enter 0.52s ease-out both;
  }
}

/* —— Network page (network.html) —— */
.net-map-stage {
  position: relative;
  isolation: isolate;
}

.net-map-stage__bg {
  transform: scale(1);
  animation: net-map-bg-ken 28s ease-in-out infinite alternate;
}

@keyframes net-map-bg-ken {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1%, 0.5%);
  }
}

.net-map-marker {
  cursor: pointer;
}

.net-route {
  stroke-dasharray: 7 9;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.25));
  animation: net-route-flow 2.8s linear infinite;
}

.net-route--b {
  animation-duration: 3.2s;
}

.net-route--c {
  animation-duration: 2.2s;
}

.net-route--d {
  animation-duration: 3.6s;
}

.net-route-dot {
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

@keyframes net-route-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -32;
  }
}

.net-map-marker .net-map-tooltip {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.net-map-marker:hover .net-map-tooltip,
.net-map-marker:focus-within .net-map-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.net-map-marker__dot {
  transition: transform 0.3s ease, filter 0.3s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.net-map-marker:hover .net-map-marker__dot {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px var(--glow-gold));
}

.net-hub-card.glass-card {
  border-radius: 1rem;
  border-color: rgba(212, 175, 55, 0.16);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 175, 55, 0.08);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    filter 0.4s ease;
}

.net-hub-card.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 48px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.38);
}

.net-hub-card__img {
  transform: scale(1.001);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.net-hub-card:hover .net-hub-card__img {
  transform: scale(1.08);
}

.net-served-item {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.net-served-item > span:first-of-type {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.net-served-item:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.12);
  transform: translateY(-4px);
}

.net-served-item:hover > span:first-of-type {
  transform: scale(1.1);
}

/* —— About page (about.html) —— */
.about-banner__img-wrap {
  isolation: isolate;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

.about-banner__img-frame:hover .about-banner__img-wrap {
  transform: scale(1.045);
}

.about-banner__img {
  will-change: transform;
}

.about-stat-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem 1.5rem;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.14);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stat-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(212, 175, 55, 0.12);
  transform: translateY(-4px);
}

.about-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  padding: 1.35rem 1rem 1.5rem;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.35s ease;
}

.about-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.48),
    0 0 38px rgba(212, 175, 55, 0.14);
}

.about-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 9999px;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.about-feature-card:hover .about-feature-card__icon {
  transform: scale(1.08) rotate(-5deg);
  background: rgba(212, 175, 55, 0.14);
  color: var(--accent-gold-bright);
  border-color: rgba(255, 215, 0, 0.35);
}

@media (max-width: 639px) {
  .about-features-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .about-features-grid::-webkit-scrollbar {
    height: 4px;
  }

  .about-features-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 4px;
  }

  .about-feature-card {
    flex: 0 0 min(78vw, 260px);
    scroll-snap-align: start;
  }
}

/* —— Investment page (investment.html) —— */
.inv-hero__bg-img {
  transform: scale(1);
  animation: inv-hero-ken 26s ease-in-out infinite alternate;
}

@keyframes inv-hero-ken {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1%, 0.5%);
  }
}

.inv-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
}

.inv-flow-step.glass-card {
  width: 100%;
  max-width: 22rem;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.35s ease;
}

.inv-flow .inv-flow-step.glass-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 36px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.28);
}

.inv-flow-step__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.2), rgba(12, 12, 12, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.28);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.inv-flow-step:hover .inv-flow-step__icon-wrap {
  transform: scale(1.08) rotate(-3deg);
}

.inv-flow-step__icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent-gold);
}

.inv-flow-step__title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.inv-flow-step__desc {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .inv-flow-step__title {
    font-size: 1rem;
  }
  .inv-flow-step__desc {
    font-size: 0.8125rem;
  }
}

.inv-flow-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0;
}

.inv-flow-sep__arrow {
  width: 1.55rem;
  height: auto;
  color: rgba(212, 175, 55, 0.85);
  transform: rotate(90deg);
  animation: how-arrow-nudge-v 2.5s ease-in-out infinite;
}

.inv-flow > *:nth-child(2) .inv-flow-sep__arrow {
  animation-delay: 0s;
}
.inv-flow > *:nth-child(4) .inv-flow-sep__arrow {
  animation-delay: 0.12s;
}
.inv-flow > *:nth-child(6) .inv-flow-sep__arrow {
  animation-delay: 0.24s;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .inv-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 0.35rem;
    row-gap: 0.25rem;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
  }

  .inv-flow > *:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .inv-flow > *:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .inv-flow > *:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .inv-flow > *:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    padding: 0.35rem 0;
  }
  .inv-flow > *:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    width: 100%;
  }
  .inv-flow > *:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
  }
  .inv-flow > *:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
    max-width: none;
    width: 100%;
  }

  .inv-flow > *:nth-child(2) .inv-flow-sep__arrow,
  .inv-flow > *:nth-child(6) .inv-flow-sep__arrow {
    transform: none;
    animation-name: how-arrow-nudge-h;
  }

  .inv-flow > *:nth-child(4) .inv-flow-sep__arrow {
    transform: rotate(90deg);
    animation-name: how-arrow-nudge-v;
  }
}

@media (min-width: 1024px) {
  .inv-flow {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.3rem;
    max-width: none;
  }

  .inv-flow-step.glass-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 1.1rem 0.55rem;
  }

  .inv-flow-sep {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    min-height: 0;
    align-self: center;
    padding: 0;
  }

  .inv-flow-sep__arrow {
    transform: none;
    animation-name: how-arrow-nudge-h;
  }
}

.inv-benefit-item {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.inv-benefit-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.inv-plan-card.glass-card {
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.inv-plan-card.glass-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 0 48px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.28);
}

.inv-plan-card--featured.glass-card:hover {
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 215, 0, 0.35),
    0 0 64px rgba(212, 175, 55, 0.22);
}

/* Pricing highlight */
.pricing-popular {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 60px var(--glow-gold);
}

/* Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold) 45%, var(--accent-gold-bright));
  color: #0a0a0a;
  transition: transform 0.25s ease, box-shadow 0.35s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px var(--glow-gold);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.35s;
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 24px var(--glow-gold);
}

/* Ripple */
.ripple-wrap {
  position: relative;
  overflow: hidden;
}

.ripple-wrap .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Sticky header: transparent → solid */
.site-header {
  background: rgba(10, 10, 10, 0);
  box-shadow: none;
}

#site-nav.nav-scrolled {
  background: rgba(10, 10, 10, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 175, 55, 0.18) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  #site-nav.nav-scrolled .site-header__inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

/* Nav links — underline slide */
.nav-link {
  position: relative;
  display: inline-block;
  border-radius: 0.375rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-bright));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #f8fafc;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}

.nav-link--active {
  color: #f8fafc;
}

.nav-link--active::after {
  transform: scaleX(1);
}

/* Inner pages (e.g. services): header always solid */
.site-header--solid {
  background: rgba(10, 10, 10, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 175, 55, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

#site-nav.site-header--solid.nav-scrolled {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

/* Primary CTA in navbar — glow pulse */
.nav-cta {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(212, 175, 55, 0.25);
  animation: nav-cta-glow 3.2s ease-in-out infinite;
}

@keyframes nav-cta-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.35),
      0 4px 24px rgba(0, 0, 0, 0.35),
      0 0 22px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.45),
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(255, 215, 0, 0.35);
  }
}

.nav-cta:hover {
  animation: none;
}

/* Hero — photographic background (homepage cinematic) */
.hero-bg-photo-wrap {
  transform-origin: center center;
  /* Fallback if the image is slow or missing (avoids broken-image icon on some mobile browsers) */
  background:
    radial-gradient(ellipse 120% 90% at 50% 18%, rgba(35, 32, 26, 0.95) 0%, transparent 55%),
    linear-gradient(165deg, #12100c 0%, var(--bg-deep) 45%, #0a0908 100%);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform-origin: center center;
  animation: kenburns 38s ease-in-out infinite alternate;
  opacity: 0.78;
  filter: saturate(0.58) contrast(1.08) brightness(0.92);
}

.hero-floaters {
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.5px);
}

.hero-orb--a {
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  top: 12%;
  right: -8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.hero-orb--b {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  bottom: 22%;
  left: -4%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.08), transparent 68%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-orb--c {
  width: min(18vw, 140px);
  height: min(18vw, 140px);
  top: 42%;
  left: 18%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.15), transparent 65%);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.hero-ring--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  opacity: 0.5;
}

.hero-ring--2 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: 50%;
  left: 50%;
  transform: translate(-38%, -48%);
  opacity: 0.25;
  border-color: rgba(192, 192, 192, 0.1);
}

.hero-main-grid {
  position: relative;
}

.hero-machine-wrap {
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.5));
  animation: hero-machine-float 5.5s ease-in-out infinite;
}

.hero-machine-glow {
  position: absolute;
  inset: auto 10% -3% 10%;
  height: 22%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.02) 70%);
  filter: blur(14px);
  z-index: 0;
  animation: hero-machine-glow 3.2s ease-in-out infinite;
}

.hero-machine-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 1.1rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  object-fit: cover;
  object-position: center 62%;
  transform-origin: center;
  animation: hero-machine-pulse 4.2s ease-in-out infinite;
}

.hero-machine-icon {
  position: absolute;
  z-index: 2;
  width: clamp(48px, 6vw, 74px);
  height: clamp(48px, 6vw, 74px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(184, 134, 11, 0.18));
  border: 1px solid rgba(212, 175, 55, 0.38);
  backdrop-filter: blur(6px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(212, 175, 55, 0.28);
  animation: hero-icon-float 4.8s ease-in-out infinite;
}

.hero-machine-icon svg {
  width: 58%;
  height: 58%;
}

.hero-machine-icon--excavator {
  top: 8%;
  left: -7%;
}

.hero-machine-icon--gear {
  top: 18%;
  right: -6%;
  animation-delay: 0.6s;
}

.hero-machine-icon--crane {
  bottom: 7%;
  right: 4%;
  animation-delay: 1.2s;
}

@keyframes hero-machine-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes hero-machine-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.42),
      0 0 36px rgba(212, 175, 55, 0.25);
  }
  50% {
    transform: scale(1.028);
    box-shadow:
      0 20px 54px rgba(0, 0, 0, 0.55),
      0 0 52px rgba(255, 215, 0, 0.38);
  }
}

@keyframes hero-machine-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.9;
    transform: scaleX(1.06);
  }
}

@keyframes hero-icon-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

/* Hero CTAs — lift + scale */
.btn-primary--hero {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.btn-primary--hero:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(212, 175, 55, 0.45);
}

.btn-secondary--hero {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.4s ease;
}

.btn-secondary--hero:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(229, 228, 226, 0.55);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

/* Mobile menu */
.mobile-panel {
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-nav-link {
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.mobile-nav-link:active {
  transform: scale(0.98);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--accent-silver-light);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Floating labels */
.field-group {
  position: relative;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.55rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.5rem;
  color: #f1f5f9;
  transition: border-color 0.25s, box-shadow 0.35s;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.field-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.field-group textarea + label {
  top: 1.25rem;
  transform: translateY(0);
}

.field-group input:focus + label,
.field-group input:not(:placeholder-shown) + label,
.field-group textarea:focus + label,
.field-group textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
  font-size: 0.7rem;
  transform: translateY(0);
  color: var(--accent-gold);
}

.field-group textarea + label {
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

.field-group textarea:focus + label,
.field-group textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
  font-size: 0.7rem;
}

/* Wave divider */
.wave-divider {
  position: relative;
  height: 80px;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Map markers */
.map-marker {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.map-marker:hover {
  transform: scale(1.25);
  filter: drop-shadow(0 0 8px var(--accent-gold));
}

.map-tooltip {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.map-marker-wrap:hover .map-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-gold-dark), var(--accent-gold), var(--accent-silver), transparent);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    margin-left: -1px;
  }
}

/* Footer social */
.social-icon {
  transition: transform 0.25s ease, color 0.25s ease, filter 0.35s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: var(--accent-gold);
  filter: drop-shadow(0 0 8px var(--glow-gold));
}

/* Cursor glow (desktop) */
@media (pointer: fine) {
  body.cursor-glow {
    cursor: none;
  }

  #cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    mix-blend-mode: screen;
    transition: opacity 0.3s;
    opacity: 0;
  }

  body.cursor-glow #cursor-glow {
    opacity: 1;
  }
}

/* Particles canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Section spacing helper */
.section-fade {
  opacity: 0;
  transform: translateY(40px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-mesh,
  .hero-grid,
  .hero-bg-photo {
    animation: none;
    transform: none;
  }

  .hero-premium-shape {
    animation: none !important;
  }

  .hero-floaters,
  .nav-cta {
    animation: none;
  }

  .hero-machine-wrap,
  .hero-machine-img,
  .hero-machine-glow,
  .hero-machine-icon {
    animation: none;
  }

  .glass-card:hover {
    transform: none;
  }

  .service-card.glass-card:hover {
    transform: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  }

  .service-card:hover .service-card__icon-wrap,
  .service-card:hover .service-card__icon {
    transform: none;
  }

  .btn-primary--hero:hover,
  .btn-secondary--hero:hover {
    transform: none;
  }

  .how-sep__arrow {
    animation: none !important;
  }

  .how-step:hover .how-step__icon-wrap {
    transform: none;
  }

  .how-process .how-step.glass-card:hover {
    transform: none;
  }

  .page-services main {
    animation: none;
  }

  .service-detail-card.glass-card:hover {
    transform: none;
  }

  .service-detail-card:hover .service-detail-card__img {
    transform: none;
  }

  .page-investment main {
    animation: none;
  }

  .page-network main {
    animation: none;
  }

  .page-about main {
    animation: none;
  }

  .about-banner__img-frame:hover .about-banner__img-wrap {
    transform: none;
  }

  .about-stat-card:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    border-color: rgba(212, 175, 55, 0.14);
  }

  .about-feature-card:hover {
    transform: none;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.32);
    border-color: rgba(212, 175, 55, 0.18);
  }

  .about-feature-card:hover .about-feature-card__icon {
    transform: none;
  }

  .net-map-stage__bg {
    animation: none;
  }

  .net-hub-card.glass-card:hover {
    transform: none;
    filter: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    border-color: var(--glass-border);
  }

  .net-hub-card:hover .net-hub-card__img {
    transform: none;
  }

  .net-served-item:hover,
  .net-served-item:hover > span:first-of-type {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .net-map-marker:hover .net-map-marker__dot {
    transform: none;
    filter: none;
  }

  .net-route {
    animation: none;
  }

  .net-route-dot {
    display: none;
  }

  .inv-hero__bg-img {
    animation: none;
  }

  .inv-flow-sep__arrow {
    animation: none !important;
  }

  .inv-flow .inv-flow-step.glass-card:hover,
  .inv-benefit-item:hover,
  .inv-plan-card.glass-card:hover {
    transform: none;
  }

  .inv-flow-step:hover .inv-flow-step__icon-wrap {
    transform: none;
  }

  .services-marquee__row {
    animation: none !important;
  }

  .home-companies__track {
    transform: none !important;
  }

  .fx-word__inner {
    transform: none !important;
  }

  .hero-cinematic__scroll-icon {
    animation: none !important;
  }

  .about-story__mesh,
  .about-story__grid-fog {
    animation: none !important;
  }

  .about-story__values-track {
    animation: none !important;
    transform: none !important;
  }

  .services-offer__card {
    --svc-focus: 1 !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .services-offer__rail-progress {
    transform: scaleY(1) !important;
  }
}

/* —— Homepage premium motion —— */

/* Hero: subtle drifting shapes */
.hero-premium-shapes {
  opacity: 0.85;
}

.hero-premium-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.hero-premium-shape--1 {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 68%);
  animation: hero-shape-drift-a 22s ease-in-out infinite;
}

.hero-premium-shape--2 {
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  bottom: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.08), transparent 70%);
  animation: hero-shape-drift-b 28s ease-in-out infinite;
}

.hero-premium-shape--3 {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  top: 38%;
  right: 8%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.1), transparent 72%);
  animation: hero-shape-drift-c 18s ease-in-out infinite;
}

@keyframes hero-shape-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4%, 6%) scale(1.06);
  }
}

@keyframes hero-shape-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-5%, -4%) scale(1.04);
  }
}

@keyframes hero-shape-drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8%, 10%);
  }
}

/* Services marquee */
.services-marquee-wrap {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.services-marquee {
  overflow: hidden;
}

.services-marquee__row {
  display: flex;
  width: max-content;
  gap: 0;
  animation: services-marquee-scroll 42s linear infinite;
  will-change: transform;
}

.services-marquee:hover .services-marquee__row {
  animation-play-state: paused;
}

.services-marquee__segment {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

@media (min-width: 768px) {
  .services-marquee__segment {
    gap: 3.5rem;
    padding-right: 3.5rem;
  }
}

.services-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  transition:
    color 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-marquee__item:hover {
  color: rgba(229, 228, 226, 0.55);
  transform: scale(1.04);
}

.services-marquee__icon {
  font-size: 0.45em;
  color: rgba(212, 175, 55, 0.45);
}

@keyframes services-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* What we offer — scroll-linked index rail + card luminance */
.services-offer__mob-marks {
  user-select: none;
}

.services-offer__mob-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.services-offer__mob-mark:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.services-offer__mob-mark.is-active {
  border-color: rgba(212, 175, 55, 0.85);
  background: rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
  transform: scale(1.25);
}

.services-offer__mark {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.3s ease;
}

.services-offer__mark:focus-visible {
  outline: none;
  border-radius: 0.35rem;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.45);
}

.services-offer__mark-ring {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.95);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.services-offer__mark-num {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.35s ease;
}

.services-offer__mark.is-active .services-offer__mark-ring {
  border-color: rgba(212, 175, 55, 0.95);
  background: rgba(212, 175, 55, 0.22);
  box-shadow:
    0 0 0 3px rgba(10, 10, 10, 0.95),
    0 0 16px rgba(212, 175, 55, 0.35);
}

.services-offer__mark.is-active .services-offer__mark-num {
  color: rgba(255, 215, 0, 0.95);
}

.services-offer__card {
  --svc-focus: 0.42;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  opacity: calc(0.78 + var(--svc-focus) * 0.22);
  filter: brightness(calc(0.9 + var(--svc-focus) * 0.14));
  border-color: rgba(212, 175, 55, calc(0.1 + var(--svc-focus) * 0.22)) !important;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 0 calc(8px + var(--svc-focus) * 28px) rgba(212, 175, 55, calc(0.04 + var(--svc-focus) * 0.12));
}

/* —— Homepage About — premium storytelling —— */
.about-story {
  --sx: 50%;
  --sy: 35%;
}

/* Dedicated About page banner (shares ambient + spotlight with home) */
[data-about-page-banner] {
  --sx: 50%;
  --sy: 40%;
}

.about-story__mesh {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 55% 42% at 18% 32%, rgba(212, 175, 55, 0.12), transparent 62%),
    radial-gradient(ellipse 50% 45% at 88% 68%, rgba(192, 192, 192, 0.06), transparent 58%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(184, 134, 11, 0.08), transparent 55%);
  animation: about-mesh-drift 28s ease-in-out infinite alternate;
}

@keyframes about-mesh-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-2%, 2%) scale(1.05);
    opacity: 0.92;
  }
}

.about-story__grid-fog {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 72% 60% at 50% 38%, black 12%, transparent 72%);
  animation: about-grid-pan 48s linear infinite;
}

@keyframes about-grid-pan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

.about-story__noise {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.8px, transparent 0.9px);
  background-size: 3px 3px;
  pointer-events: none;
}

.about-story__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    min(520px, 90vw) min(420px, 70vh) at var(--sx) var(--sy),
    rgba(212, 175, 55, 0.1),
    transparent 68%
  );
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

@media (max-width: 767px) {
  .about-story__spotlight {
    opacity: 0.45;
  }
}

.about-story__vignette {
  background: radial-gradient(ellipse 85% 70% at 50% 20%, transparent 22%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
}

.about-story__rotator .about-story__tagline-em {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.18);
}

.about-story__stat-num {
  font-variant-numeric: tabular-nums;
}

.about-story__stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-story__stats {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .about-story__stat--hero {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(4) {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (min-width: 1024px) {
  .about-story__stats {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.1rem;
  }

  .about-story__stat--hero {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .about-story__stat:not(.about-story__stat--hero):nth-of-type(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }
}

.about-story__stat.glass-card {
  border-radius: 1.1rem;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.4s ease;
}

.about-story__stat.glass-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 40px rgba(212, 175, 55, 0.12);
}

.about-story__moment {
  position: relative;
  padding-left: 0.25rem;
}

.about-story__moment::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.95);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

@media (min-width: 768px) {
  .about-story__moment::before {
    left: -37px;
    width: 10px;
    height: 10px;
  }
}

.about-story__moment.is-active::before {
  border-color: rgba(212, 175, 55, 0.95);
  background: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 4px rgba(10, 10, 10, 0.95),
    0 0 18px rgba(212, 175, 55, 0.35);
}

.about-story__values-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-right: 2rem;
  animation: about-values-marquee 38s linear infinite;
  will-change: transform;
}

.about-story__values:hover .about-story__values-track {
  animation-play-state: paused;
}

.about-story__values-item {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

.about-story__values-dot {
  color: rgba(212, 175, 55, 0.35);
  font-weight: 300;
}

@keyframes about-values-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.about-story__cta {
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.about-story__cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 40%;
  height: 2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-story__cta:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Group companies — panel track */
.home-companies {
  background-color: var(--bg-deep);
}

.home-companies__pin {
  position: relative;
}

.home-companies__sticky {
  position: relative;
}

.home-companies__stage {
  /* No perspective — it creates a containing block and breaks ScrollTrigger pin/scrub in several browsers */
  perspective: none;
  background-color: var(--bg-deep);
}

.home-companies__track {
  display: flex;
  height: 100%;
}

.home-company-panel {
  transform: translateZ(0);
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-company-panel:hover {
  transform: translateZ(0) scale(1.01);
}

.home-company-panel__bg {
  transform: scale(1.02);
  background-color: #141414;
}

.home-companies__progress {
  opacity: 0.85;
}

.home-companies__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.home-companies__dot.is-active {
  background: rgba(212, 175, 55, 0.95);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
  transform: scale(1.35);
}

/* Mobile: horizontal swipe between pillars (native scroll + snap; no GSAP pin) */
@media (max-width: 767px) {
  .home-companies__head {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 20;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, var(--bg-deep) 0%, rgba(10, 10, 10, 0.92) 55%, transparent 100%);
  }

  .home-companies__sticky {
    min-height: 100svh;
    /* Parent overflow:hidden (Tailwind) blocks horizontal swipe on the stage on iOS */
    overflow: visible !important;
  }

  .home-companies__stage {
    height: 100svh;
    max-height: 100svh;
    perspective: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .home-companies__stage::-webkit-scrollbar {
    display: none;
  }

  .home-companies__track {
    flex-direction: row;
    width: max-content;
    height: 100%;
    transform: none !important;
    will-change: auto;
  }

  .home-companies__stage .home-company-panel {
    height: 100% !important;
    min-height: 100% !important;
  }

  .home-company-panel {
    box-sizing: border-box;
    width: 100svw;
    flex-shrink: 0;
    height: 100%;
    min-height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
    transform: none;
  }

  .home-company-panel:last-child {
    border-right: none;
  }

  .home-company-panel:hover {
    transform: none;
  }

  .home-companies__progress {
    display: flex;
  }
}

/* Mobile + reduced motion: vertical stack (no horizontal swipe) */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .home-companies__head {
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    background: transparent;
  }

  .home-companies__sticky {
    min-height: 0;
  }

  .home-companies__stage {
    height: auto;
    max-height: none;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    overscroll-behavior-x: auto;
  }

  .home-companies__track {
    flex-direction: column;
    width: 100% !important;
    height: auto;
  }

  .home-companies__stage .home-company-panel {
    height: auto !important;
    min-height: 70svh !important;
  }

  .home-company-panel {
    width: 100%;
    max-width: none;
    min-height: 70svh;
    height: auto;
    scroll-snap-align: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-companies__progress {
    display: none;
  }
}

/* Split-word headline */
.fx-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.fx-word__inner {
  display: inline-block;
  will-change: transform;
}

/* Image reveal mask */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.75) 45%, transparent 100%);
  transform: translateX(-2%);
  opacity: 1;
  pointer-events: none;
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease 0.12s;
  z-index: 2;
}

.img-reveal.is-revealed::after {
  transform: translateX(102%);
  opacity: 0;
}

.img-reveal__media {
  transform: scale(1.08);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-reveal.is-revealed .img-reveal__media {
  transform: scale(1);
}

/* Hero — full banner cinematic */
.hero-cinematic__dock {
  box-shadow:
    0 4px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-cinematic__scroll-icon {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(212, 175, 55, 0.55);
  border-bottom: 2px solid rgba(212, 175, 55, 0.55);
  transform: rotate(45deg) translateY(-3px);
  animation: hero-scroll-nudge 2.4s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    transform: rotate(45deg) translateY(-3px);
    opacity: 0.45;
  }
  50% {
    transform: rotate(45deg) translateY(2px);
    opacity: 1;
  }
}

/* Navbar: transparent over hero (index), light glass elsewhere at top */
#site-nav:not(.nav-scrolled):not(.site-header--over-hero) {
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#site-nav.site-header--over-hero:not(.nav-scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

#site-nav.site-header--over-hero:not(.nav-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

#site-nav.site-header--over-hero:not(.nav-scrolled) .nav-link:hover,
#site-nav.site-header--over-hero:not(.nav-scrolled) .nav-link:focus-visible {
  color: #ffffff;
}

#site-nav.site-header--over-hero:not(.nav-scrolled) .hamburger {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.32);
}

#site-nav.site-header--over-hero:not(.nav-scrolled) .hamburger span {
  background: rgba(255, 255, 255, 0.92);
}

/* Cursor follow (soft — default cursor kept) */
@media (pointer: fine) {
  body.cursor-highlight {
    cursor: auto;
  }

  body.cursor-highlight #cursor-glow {
    width: 220px;
    height: 220px;
    opacity: 0.55;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 72%);
    mix-blend-mode: screen;
  }
}
