/* =====================================================================
   Vantrex — reference-style top of page:
   header · hero · 3D phone carousel · colour logo band · brand showcase
   Fonts: Clash Display + Switzer. Colours: Vantrex / Studio OS tokens.
   ===================================================================== */
h1, h2, h3, .display-xl, .display-l, .h1, .h2, .h3 { font-family: var(--font-display); }
.sk-head h2, .band h2 { font-weight: 500; letter-spacing: -0.005em; }
.sk-head h2 { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 64px); line-height: 1.12; }
.bx h3, .cat-card h3, .plist h3, .tl-step h3, .mk-card h3, .eco-node h3, .form h3 { font-weight: 500; letter-spacing: 0; }
.serif { font-family: var(--font-display); font-style: normal; font-weight: 500; letter-spacing: inherit; }
.sk-label { font-family: var(--font-sans); font-weight: 500; letter-spacing: .06em; }
.sk-stat b, .mk-time b, .figure { font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.sk-btn { border-radius: 0; font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0; }
.sk-input { border-radius: 0; }
.dot { color: var(--accent); }

/* ---------- Header ---------- */
.gx-head { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.gx-head.is-stuck { box-shadow: 0 10px 30px rgba(21, 20, 18, .06); }
.gx-head-in { position: relative; height: clamp(72px, 6.67vw, 128px); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: clamp(16px, 3.33vw, 64px); }
.gx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 clamp(22px, 1.75vw, 34px)/1 var(--font-display); letter-spacing: -0.01em; }
.gx-logo .gx-mk { width: clamp(30px, 2.3vw, 44px); height: clamp(30px, 2.3vw, 44px); background: var(--inverse); display: grid; place-items: center; flex: none; }
.gx-logo .gx-mk svg { width: 58%; height: 58%; }
.gx-logo .vx-sub { font: 500 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); align-self: flex-end; margin-bottom: .35em; }
.gx-nav { display: flex; gap: clamp(18px, 2vw, 40px); font: 500 15px/1 var(--font-sans); }
.gx-nav a { color: var(--ink-2); text-decoration: none; position: relative; padding: 6px 0; }
.gx-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.gx-nav a:hover::after, .gx-nav a.on::after { transform: scaleX(1); transform-origin: left; }
.gx-right { display: flex; align-items: center; gap: 10px; }
.lang-btn { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn [data-l] { color: var(--muted); }
.lang-btn [data-l].on { color: var(--ink); font-weight: 600; }
.gx-cta-head { height: clamp(44px, 2.8vw, 54px); padding: 0 clamp(16px, 1.1vw, 20px); background: var(--inverse); color: var(--on-inverse); font: 500 clamp(16px, 1.25vw, 24px)/1 var(--font-display); display: inline-flex; align-items: center; gap: clamp(16px, 1.7vw, 32px); text-decoration: none; white-space: nowrap; }
.gx-cta-head .ico, .gx-cta .ico, .gx-all .ico { stroke-width: 1.6; transition: transform .35s var(--ease-out); }
.gx-cta-head .ico { width: 22px; height: 22px; }
.gx-cta-head:hover .ico, .gx-cta:hover .ico, .gx-all:hover .ico { transform: translate(3px, -3px); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); place-items: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.gx-hero { position: relative; background: var(--surface); padding-top: clamp(64px, 7.8vw, 150px); text-align: center; overflow: hidden; isolation: isolate; }
.gx-water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block;
  -webkit-mask-image: radial-gradient(ellipse 42% 30% at 50% 26%, rgba(0,0,0,.35), #000 100%);
  mask-image: radial-gradient(ellipse 42% 30% at 50% 26%, rgba(0,0,0,.35), #000 100%); }
.gx-hero > :not(.gx-water) { position: relative; z-index: 1; }
.gx-hero h1, .gx-sub { text-shadow: 0 0 24px var(--surface), 0 0 2px var(--surface); }
.gx-hero h1 { font: 500 clamp(34px, 4.17vw, 80px)/1.1 var(--font-display); letter-spacing: 0; color: var(--ink); max-width: 1340px; margin: 0 auto; padding-inline: 16px; }
.gx-sub { margin: clamp(20px, 2.1vw, 40px) auto 0; max-width: 920px; padding-inline: 16px; font: 400 clamp(17px, 1.46vw, 28px)/1.34 var(--font-sans); color: var(--ink-2); }
.gx-trust { margin-top: clamp(28px, 2.9vw, 56px); display: flex; justify-content: center; flex-wrap: wrap; gap: 20px clamp(28px, 3.9vw, 76px); padding-inline: 16px; }
.gx-badge { display: grid; grid-template-columns: auto auto; column-gap: 14px; text-align: left; }
.gx-badge small { grid-column: 1; grid-row: 1; font: 500 12px/1.2 var(--font-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.gx-badge .lg { grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; font: 600 30px/1 var(--font-display); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.gx-badge .lg img { height: 30px; width: auto; }
.gx-badge .meta { grid-column: 2; grid-row: 1 / 3; align-self: center; display: flex; flex-direction: column; gap: 7px; padding-top: 12px; }
.gx-badge .meta i { display: flex; gap: 3px; height: 14px; align-items: center; }
.gx-badge .meta i svg { width: 14px; height: 14px; }
.gx-badge .meta span { font: 500 12px/1 var(--font-sans); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.gx-cta-wrap { margin-top: clamp(32px, 3.3vw, 64px); display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding-inline: 16px; }
.gx-cta { display: inline-flex; align-items: center; justify-content: center; gap: clamp(16px, 1.7vw, 32px); padding: clamp(16px, 1.15vw, 22px) clamp(28px, 2.6vw, 50px); background: var(--accent); color: var(--on-accent); font: 500 clamp(18px, 1.46vw, 28px)/1 var(--font-display); text-decoration: none; position: relative; overflow: hidden; isolation: isolate; }
.gx-cta::before { content: ""; position: absolute; inset: 0; background: var(--inverse); transform: translateY(101%); transition: transform .5s var(--ease-out); z-index: -1; }
.gx-cta:hover::before { transform: none; }
.gx-cta .ico { width: 1.05em; height: 1.05em; }
.gx-cta--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.gx-cta--ghost::before { background: var(--ink); }
.gx-cta--ghost:hover { color: var(--paper); }
.gx-cta--ghost:hover .ico { transform: translateY(3px); }

/* ---------- 3D phone carousel (scroll-driven) ---------- */
.gx-phones { position: relative; width: 100%; height: 21.5vw; margin-top: clamp(40px, 2.9vw, 56px); overflow: hidden; background: transparent; }
.gx-frame { position: absolute; left: 0; top: 0; width: 2984px; height: 1200px; transform-origin: 0 0; }
.gx-stage { position: absolute; inset: 0; perspective: 6500px; perspective-origin: 1492px 560px; transform-style: preserve-3d; }
.gx-phone { position: absolute; left: 0; top: 0; width: 443px; height: 911px; transform-style: preserve-3d; transform-origin: 0 455.5px; will-change: transform; visibility: hidden; }
.gx-phone > * { position: absolute; left: 0; top: 0; width: 443px; height: 911px; border-radius: 14.4% / 7%; box-sizing: border-box; }
.gx-phone .rim { border: 7px solid #46514f; }
.gx-phone .back { background: #3c4744; }
.gx-phone .front { display: block; background: #050505; border: 2.5px solid #aeb5b3; box-shadow: inset 0 0 0 1px #1a1f1e; overflow: hidden; cursor: pointer; }
.gx-phone .scr { position: absolute; inset: 13px; border-radius: 12.5% / 5.9%; overflow: hidden; background: #000; }
.gx-phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; user-select: none; -webkit-user-drag: none; }
.gx-phone .scr::after { content: ""; position: absolute; inset: 0; border-radius: 12.5% / 5.9%; background: linear-gradient(115deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.gx-phone .isl { position: absolute; left: 50%; top: 24px; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; z-index: 2; }

/* ---------- Colour logo band ---------- */
.gx-logos { background: #0b0b0a; color: #f3f1ed; padding: clamp(64px, 6.7vw, 128px) 0; overflow: hidden; }
.gx-logos .cap { text-align: center; font: 500 13px/1.4 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: #a7a29a; margin: 0 0 clamp(36px, 3.3vw, 64px); padding-inline: 16px; }
.gx-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gx-row + .gx-row { margin-top: clamp(32px, 3.3vw, 64px); }
.gx-track { display: flex; align-items: center; gap: clamp(48px, 5.2vw, 100px); padding-right: clamp(48px, 5.2vw, 100px); flex: none; animation: gx-marq 48s linear infinite; }
.gx-row.rev .gx-track { animation-direction: reverse; animation-duration: 56s; }
.gx-row:hover .gx-track { animation-play-state: paused; }
@keyframes gx-marq { to { transform: translateX(-100%); } }
.gx-l { display: inline-flex; align-items: center; gap: 12px; flex: none; font: 600 clamp(22px, 1.7vw, 32px)/1 var(--font-display); color: #f3f1ed; white-space: nowrap; letter-spacing: -0.01em; }
.gx-l img { height: clamp(30px, 2.3vw, 44px); width: auto; max-width: 140px; object-fit: contain; }
.gx-l .chip { background: #fff; padding: 8px 12px; display: inline-flex; align-items: center; }
.gx-l .chip img { height: clamp(18px, 1.4vw, 26px); }

/* ---------- Brand showcase carousel ---------- */
.gx-show { padding-top: clamp(96px, 10vw, 192px); }
.gx-show-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-inline: clamp(16px, 3.13vw, 60px); }
.gx-show-head h2 { font: 500 clamp(34px, 4.17vw, 80px)/1.1 var(--font-display); max-width: 1260px; }
.gx-all { flex: none; display: inline-flex; align-items: center; gap: clamp(24px, 4.5vw, 86px); margin-top: 10px; font: 500 clamp(17px, 1.3vw, 25px)/1.35 var(--font-display); color: var(--ink); text-decoration: none; text-align: center; }
.gx-all .ico { width: 26px; height: 26px; }
.gx-car { position: relative; margin-top: clamp(48px, 4.4vw, 84px); }
.gx-rail { display: flex; gap: clamp(20px, 1.9vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 3.13vw, 60px); padding: 0 clamp(16px, 3.13vw, 60px) 8px; scrollbar-width: none; cursor: grab; }
.gx-rail::-webkit-scrollbar { display: none; }
.gx-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.gx-rail.drag a { pointer-events: none; }
.gx-card { flex: none; width: clamp(300px, 45vw, 864px); scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.gx-card.sq { width: clamp(280px, 30vw, 576px); }
.gx-card .im { position: relative; height: clamp(260px, 30vw, 576px); overflow: hidden; background: var(--surface-sunk); }
.gx-card .im img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.gx-card:hover .im img { transform: scale(1.04); }
.gx-card .im.shot { background: #151412 center/cover no-repeat; }
.gx-card .im.shot::before { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 10, .28); transition: background .6s var(--ease-out); }
.gx-card:hover .im.shot::before { background: rgba(11, 11, 10, .12); }
.gx-card .im.shot img.win { position: absolute; left: 9%; top: 15%; width: 82%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 30px 70px rgba(0,0,0,.45); transition: transform 1s var(--ease-out); }
.gx-card.sq .im.shot img.win { left: 12%; top: 18%; width: 130%; }
.gx-card:hover .im.shot img.win { transform: translateY(-8px) scale(1.01); }
.gx-card .tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); padding: 9px 12px; font: 500 14px/1 var(--font-sans); color: var(--ink); }
.gx-card .tag i { width: 9px; height: 9px; }
.gx-card .who { margin-top: clamp(16px, 1.3vw, 24px); font: 400 clamp(16px, 1.46vw, 28px)/1.3 var(--font-sans); color: var(--ink-2); }
.gx-card h3 { margin-top: clamp(8px, .9vw, 16px); font: 500 clamp(20px, 1.9vw, 36px)/1.38 var(--font-display); letter-spacing: 0; max-width: 30ch; }
.gx-card .visit { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-sans); color: var(--ink-2); }
.gx-card .visit .ico { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.gx-card:hover .visit { color: var(--ink); }
.gx-card:hover .visit .ico { transform: translateX(4px); }
.gx-arrow { position: absolute; top: calc(clamp(260px, 30vw, 576px) / 2); transform: translateY(-50%); z-index: 3; width: clamp(56px, 4.7vw, 90px); height: clamp(56px, 4.7vw, 90px); border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .3s var(--ease-out), opacity .3s; }
.gx-arrow:hover { transform: translateY(-50%) scale(1.06); }
.gx-arrow[disabled] { opacity: 0; pointer-events: none; }
.gx-arrow .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.gx-arrow.prev { left: clamp(8px, 2vw, 36px); }
.gx-arrow.next { right: clamp(8px, 2vw, 36px); }

/* ---------- Split-line reveal (GSAP SplitText) ---------- */
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }
.split-mask { overflow: hidden; display: block; }


/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gx-nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 8px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .gx-head.open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px; text-decoration: none; font: 500 17px/1 var(--font-display); color: var(--ink); }
  .mobile-menu a:hover { background: var(--surface-sunk); }
}
@media (max-width: 781px) {
  .gx-phones { height: 58vw; }
  .gx-show-head { flex-direction: column; gap: 16px; }
  .gx-all { gap: 16px; text-align: left; }
}
@media (max-width: 640px) {
  .gx-cta-head span, .gx-logo .vx-sub { display: none; }
  .gx-cta-head { padding: 0 12px; }
  .lang-btn [data-l].on, .lang-btn span[aria-hidden] { display: none; }
  .lang-btn { padding: 0 10px; }
  .gx-cta { width: 100%; }
  .gx-trust { flex-direction: column; align-items: center; }
  .gx-badge { width: 260px; }
  .gx-badge .lg { font-size: 24px; height: 32px; }
  .gx-badge .lg img { height: 24px; }
  .gx-card { width: 84vw; }
  .gx-card.sq { width: 72vw; }
  .gx-card .im { height: 64vw; }
  .gx-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-track { animation: none !important; flex-wrap: wrap; justify-content: center; padding: 0 16px; row-gap: 32px; }
  .gx-row { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .gx-row .gx-track[aria-hidden] { display: none; }
}

/* Pre-hide text that GSAP will reveal (class added in <head>, removed by js/main.js; 3s failsafe) */
.gx-anim .tsa, .gx-anim .tsa-block { opacity: 0; }
/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
