/* =========================================================
   Bee IT Agency — animated single page
   Fonts: Plus Jakarta Sans (headings) + Inter (body)
   Brand: #f5c518 on #0a0b0e
   ========================================================= */

:root {
  --bg: #0a0b0e;
  --bg-2: #0e1014;
  --surface: #13151b;
  --surface-2: #191c23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f6f8;
  --muted: #9ba2ae;
  --gold: #f5c518;
  --gold-2: #ffd84d;
  --ink: #111214;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
  --gutter: 32px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter: opening the menu / lightbox hides the scrollbar without shifting the layout */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; }
ul { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* stroke icons from the sprite */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Lenis */
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; }

/* subtle film grain (static, GPU-cheap) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Off-screen start positions of reveal animations must never widen the page on phones.
   `clip` (unlike `hidden`) keeps position: sticky working inside these sections. */
main > section, .site-footer { overflow-x: clip; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }

/* SplitText helpers */
.ln { display: block; }
.w, .c { display: inline-block; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }

.h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.h2--xl { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .98; letter-spacing: -.045em; }
.hl { color: var(--gold); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head--row > div { max-width: 780px; }
.section-head__text { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 900px; }
.section-head--center .section-head__text { max-width: 620px; margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--bh);
  padding: 0 28px;
  overflow: hidden;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary::before { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: #fff; }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn__icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .55s var(--ease); }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: .9rem; }
.btn--lg { --bh: 64px; padding: 0 38px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
}
.link-arrow span { transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  transition: color .3s, border-color .3s;
}
.btn-text svg { width: 16px; height: 16px; }
.btn-text:hover { color: var(--gold); border-color: var(--gold); }

.round-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  transition: background-color .3s, color .3s, border-color .3s;
}
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.round-btn svg { width: 20px; height: 20px; }

/* ---------- Loader ---------- */
.loader { display: none; position: fixed; inset: 0; z-index: 1000; }
.js .loader { display: block; }
.is-ready .loader { display: none; }
.loader__panel { position: absolute; inset: 0; }
.loader__panel--gold { background: var(--gold); }
.loader__panel--dark { display: grid; place-items: center; background: var(--bg); }
.loader__inner {
  display: grid;
  grid-template-areas: "mark" "bar";
  justify-items: center;
  align-items: center;
  row-gap: 34px;
}
.loader__hex, .loader__logo { grid-area: mark; }
.loader__hex { width: 150px; height: 150px; stroke: var(--gold); stroke-width: 1.4; }
.loader__hex path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__hex path + path { opacity: .4; }
.loader__logo { width: 92px; opacity: 0; transform: scale(.8); }
.loader__bar { grid-area: bar; width: 160px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor { display: none; position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); transition: opacity .3s; }
.cursor__ring { display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; }
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 197, 24, .55);
  border-radius: 50%;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.6); background: rgba(245, 197, 24, .08); }
.cursor.is-view .cursor__ring::before { transform: scale(2.3); background: var(--gold); border-color: var(--gold); }
.cursor__ring svg { position: relative; width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.4; opacity: 0; transform: scale(.3) rotate(-45deg); transition: opacity .3s, transform .5s var(--ease); }
.cursor.is-view .cursor__ring svg { opacity: 1; transform: none; }
.cursor.is-view .cursor__dot { opacity: 0; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .6s var(--ease); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 72px; }
.brand img { width: auto; height: 46px; }

.nav {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}
.nav__pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); opacity: 0; }
.nav__link { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.nav__link span { position: relative; display: block; overflow: hidden; color: transparent; }
.nav__link span::before,
.nav__link span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  transition: transform .5s var(--ease);
}
.nav__link span::before { color: var(--muted); }
.nav__link span::after { color: var(--gold); transform: translateY(100%); }
.nav__link:hover span::before { transform: translateY(-100%); }
.nav__link:hover span::after { transform: translateY(0); }
.nav__link.is-active span::before { color: #fff; }

.burger { display: none; position: relative; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 28px 40px;
  background: var(--bg);
  visibility: hidden;
}
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}
.mobile-menu__nav a:hover { color: var(--gold); }
.mobile-menu__nav small { font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--gold); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 78% 42%, rgba(245, 197, 24, .11), transparent 70%),
    var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, .94) 0%, rgba(10, 11, 14, .6) 42%, rgba(10, 11, 14, .05) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 11, 14, 0) 32%),
    linear-gradient(180deg, rgba(10, 11, 14, .85) 0%, rgba(10, 11, 14, 0) 26%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(245, 197, 24, .3);
  border-radius: 999px;
  background: rgba(245, 197, 24, .06);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
}
.badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(2.5rem, 5.5vw, 5.1rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.04em;
}
.hero__title.is-shine .hl {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #fff6c9 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { max-width: 540px; margin: 0 0 36px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__based { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.hero__based svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.hero__tags li {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: .85rem;
  font-weight: 500;
  color: #d7dbe2;
  transition: border-color .3s, color .3s;
}
.hero__tags li:hover { border-color: var(--gold); color: var(--gold); }

.hero__visual { position: relative; }
.hero__float { position: relative; }
.hero__glow { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 24, .32), rgba(245, 197, 24, 0) 65%); }
.hero__img-wrap { position: relative; will-change: transform; }
.hero__img-wrap img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.deco-hex { position: absolute; color: var(--gold); stroke-width: 1.2; }
.deco-hex--1 { width: 70px; height: 70px; top: 2%; left: -4%; opacity: .7; }
.deco-hex--2 { width: 38px; height: 38px; bottom: 12%; right: -2%; fill: var(--gold); stroke: none; }
.deco-hex--3 { width: 110px; height: 110px; bottom: -4%; left: 8%; opacity: .25; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
}
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Marquee ---------- */
.ticker { position: relative; z-index: 3; padding: 50px 0; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; padding: 0; list-style: none; }
.marquee--gold, .marquee--outline { width: 104%; margin-left: -2%; padding: 18px 0; }
.marquee--gold { position: relative; z-index: 2; background: var(--gold); color: var(--ink); transform: rotate(-2deg); }
.marquee--outline { margin-top: -30px; background: var(--surface); border-block: 1px solid var(--line); transform: rotate(1.6deg); }
.marquee--gold li, .marquee--outline li {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.marquee--gold li::after, .marquee--outline li::after {
  content: "";
  width: 16px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex-shrink: 0;
}
.marquee--outline li { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); }
.marquee--outline li::after { background: var(--gold); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(48px, 7vw, 110px); }
.about__media { position: relative; }
.about__img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 28px; background: var(--surface); }
.about__img img, .work__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.about__card {
  position: absolute;
  left: -28px;
  bottom: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(19, 21, 27, .96);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.about__card img { width: 60px; }
.about__card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.about__card span { font-size: .82rem; color: var(--muted); }
.about__badge { position: absolute; top: -46px; right: -36px; z-index: 2; display: grid; place-items: center; width: 150px; height: 150px; }
.about__badge::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); }
.about__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.about__badge text { fill: #fff; stroke: none; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.about__badge-icon { position: relative; width: 44px; height: 44px; fill: var(--gold); stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.about__content p { margin: 26px 0 0; font-size: 1.08rem; line-height: 1.75; color: var(--muted); }
.about__content .h2 + p { margin-top: 34px; }
.about__content .btn { margin-top: 38px; }

/* ---------- Services (sticky stack) ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.svc-stack { position: relative; display: flex; flex-direction: column; gap: 28px; }
.svc-card { position: sticky; top: calc(110px + var(--i) * 18px); }
.svc-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #171920 0%, #0f1116 100%);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .45);
  transform-origin: 50% 0;
}
.svc-card__inner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(245, 197, 24, 0) 60%); }
.svc-card__shade { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }
.svc-card__head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.svc-card__num { padding: 6px 14px; border: 1px solid rgba(245, 197, 24, .35); border-radius: 999px; font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--gold); }
.svc-card__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(245, 197, 24, .22);
  border-radius: 22px;
  background: rgba(245, 197, 24, .08);
  color: var(--gold);
  transition: transform .7s var(--ease), background-color .4s, color .4s;
}
.svc-card__icon svg { width: 34px; height: 34px; }
.svc-card:hover .svc-card__icon { transform: rotate(-10deg) scale(1.08); background: var(--gold); color: var(--ink); }
.svc-card__body { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; margin-top: 56px; }
.svc-card__title { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.svc-card__body p { margin: 0 0 20px; line-height: 1.7; color: var(--muted); }
.svc-card__ghost {
  position: absolute;
  right: -10px;
  bottom: -70px;
  font-family: var(--font-head);
  font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
  pointer-events: none;
}

/* ---------- Portfolio ---------- */
.filters {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 64px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .02);
}
.filters__pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--gold); }
.filters__btn { position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .35s; }
.filters__btn:hover { color: #fff; }
.filters__btn.is-active { color: var(--ink); }
.no-js .filters__btn.is-active { background: var(--gold); }

.work-list { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px); }
.work { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.work.is-hidden { display: none; }
.work--flip .work__media { order: 2; }
.work__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 28px; background: var(--surface); }
.work__media img { transition: scale 1s var(--ease); }
.work__media:hover img { scale: 1.06; }
.work__media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.work__cat { font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.work__title { margin: 14px 0 18px; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.work__body p { margin: 0 0 22px; line-height: 1.7; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .82rem; color: #cfd3da; }
.work__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.work__index {
  position: absolute;
  top: -46px;
  right: 0;
  font-family: var(--font-head);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 197, 24, .2);
  pointer-events: none;
}
.work--flip .work__index { right: auto; left: 0; }

/* ---------- Why (horizontal) ---------- */
.why { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 50%, rgba(245, 197, 24, .08), transparent 70%); pointer-events: none; }
.why__track {
  --side: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  height: 100vh;
  min-height: 640px;
  padding: 0 var(--side);
}
.why__intro { flex-shrink: 0; width: min(540px, 40vw); padding-right: 48px; }
.why__progress { width: 220px; height: 2px; margin-top: 44px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.why__progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: min(420px, 31vw);
  height: min(520px, 64vh);
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, #191b22, #101217);
  transition: border-color .4s;
}
.why-card:hover { border-color: rgba(245, 197, 24, .4); }
.why-card__icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: auto; border-radius: 18px; background: var(--gold); color: var(--ink); }
.why-card__icon svg { width: 30px; height: 30px; stroke-width: 2; }
.why-card__label { margin: 40px 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.why-card h3 { margin: 0 0 14px; font-size: 1.65rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.why-card p { margin: 0; line-height: 1.7; color: var(--muted); }
.why-card__num {
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
}

/* ---------- Process ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 64px; max-width: 1060px; margin: 0 auto; padding: 20px 0; }
.timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold), var(--gold-2)); transform: scaleY(0); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 110px; }
.step__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.step.is-active .step__dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(245, 197, 24, .15); }
.step__card { grid-column: 1; grid-row: 1; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); transition: border-color .5s; }
.step.is-active .step__card { border-color: rgba(245, 197, 24, .35); }
.step__label { font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.step__card h3 { margin: 12px 0; font-size: 1.75rem; letter-spacing: -.02em; }
.step__card p { margin: 0; line-height: 1.7; color: var(--muted); }
.step__num {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-head);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
  transition: color .7s, -webkit-text-stroke-color .7s;
}
.step.is-active .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step--right .step__card { grid-column: 2; }
.step--right .step__num { grid-column: 1; text-align: right; }

/* ---------- Tech ---------- */
.tech { isolation: isolate; background: var(--bg-2); }
.tech__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tech__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 55%, #000 25%, transparent 78%);
  mask-image: radial-gradient(70% 65% at 50% 55%, #000 25%, transparent 78%);
}
.tech__spot {
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, .14), rgba(245, 197, 24, 0) 65%);
  will-change: transform;
}
.tech__words {
  position: absolute;
  top: 34%;
  left: 0;
  font-family: var(--font-head);
  font-size: clamp(6rem, 14vw, 13rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .055);
  will-change: transform;
}
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1400px; }
.tech-cell { display: flex; transform-style: preserve-3d; }
.js .tech-cell { will-change: transform, opacity; }
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 340px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transform-style: preserve-3d;
  transition: border-color .4s;
}
.tech-card:hover { border-color: rgba(245, 197, 24, .35); }
/* rotating gold beam around the border (on hover, and once when the card lands) */
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam), transparent 0 60%, rgba(245, 197, 24, .95) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.tech-card:hover::before, .tech-card.is-lit::before { opacity: 1; animation: beam 2.6s linear infinite; }
@keyframes beam { to { --beam: 360deg; } }
.tech-card__glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 197, 24, .16), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.tech-card:hover .tech-card__glare { opacity: 1; }
.tech-card__icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(245, 197, 24, .3); border-radius: 16px; background: rgba(245, 197, 24, .07); color: var(--gold); }
.tech-card__icon svg { width: 28px; height: 28px; stroke-dasharray: 90; stroke-dashoffset: 0; }
.tech-card__icon::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--gold); border-radius: inherit; opacity: 0; pointer-events: none; }
.tech-card.is-lit .tech-card__icon::after { animation: ring 1.3s var(--ease) .25s; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.tech-card__label { margin-top: 64px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.tech-card h3 { margin: 12px 0; font-size: 1.35rem; letter-spacing: -.02em; }
.tech-card p { margin: 0; font-size: .96rem; line-height: 1.65; color: var(--muted); }

/* ---------- Partners ---------- */
.partners { overflow: hidden; }
/* The two logo rows sit on a tilted band.
   --logo-tilt: the angle; --logo-room: the space above/below the band so it never covers
   the heading or the next section (≈ 70vw × sin(angle); use ~6vw for 5°, ~12vw for 10°). */
.logo-stage {
  --logo-tilt: -15deg;
  --logo-room: 18vw;
  position: relative;
  padding-block: var(--logo-room);
  margin-block: calc(var(--logo-room) * -0.45) calc(var(--logo-room) * -0.55);
}
.logo-stage::before, .logo-stage::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 12%; pointer-events: none; }
.logo-stage::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(10, 11, 14, 0)); }
.logo-stage::after { right: 0; background: linear-gradient(-90deg, var(--bg), rgba(10, 11, 14, 0)); }
.logo-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 140%;
  margin-left: -20%;
  transform: rotate(var(--logo-tilt));
}
.marquee--logos { padding: 8px 0; }
.marquee--logos .marquee__group { gap: 44px; padding-right: 44px; }
/* every tile is the same size; every logo sits in the same 140 × 40 slot */
.logo-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 200px;
  height: 88px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
  background: #f4f3ef;
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.logo-tile:hover { translate: 0 -5px; border-color: var(--gold); box-shadow: 0 16px 36px rgba(245, 197, 24, .2); }
.logo-tile img { width: auto; height: auto; max-width: 140px; max-height: 40px; object-fit: contain; transition: scale .5s var(--ease); }
.logo-tile--square img { max-height: 54px; }
.logo-tile:hover img { scale: 1.06; }

/* ---------- Testimonials ---------- */
.tslider { position: relative; padding: clamp(28px, 5vw, 64px); overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(150deg, #171920, #0f1116); }
.tslider__quote { position: absolute; top: 40px; right: 48px; width: 120px; height: 90px; fill: rgba(245, 197, 24, .1); stroke: none; }
.tslider__stage { position: relative; display: grid; }
.tcard { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.tcard.is-active { visibility: visible; }
.no-js .tcard { grid-area: auto; visibility: visible; margin-bottom: 48px; }
.tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); stroke: none; }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(80, 200, 120, .1); font-size: .8rem; font-weight: 600; color: #9be3b0; }
.verified svg { width: 14px; height: 14px; stroke-width: 3; }
.tcard__quote { max-width: 980px; margin: 0 0 38px; font-family: var(--font-head); font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.42; letter-spacing: -.02em; color: #fff; }
.tcard__author { display: flex; align-items: center; gap: 16px; }
.tcard__author img { width: 60px; height: 60px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.tcard__author strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.tcard__author small { font-size: .9rem; color: var(--muted); }
.tslider__nav { display: flex; align-items: center; gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.tslider__thumbs { display: flex; }
.tslider__thumbs button { position: relative; width: 48px; height: 48px; margin-left: -10px; overflow: hidden; border: 2px solid var(--surface); border-radius: 50%; opacity: .45; transition: opacity .3s, transform .5s var(--ease), border-color .3s; }
.tslider__thumbs button:first-child { margin-left: 0; }
.tslider__thumbs button:hover { opacity: .8; }
.tslider__thumbs button.is-active { z-index: 1; opacity: 1; border-color: var(--gold); transform: translateY(-4px); }
.tslider__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tslider__progress { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.tslider__progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tslider__arrows { display: flex; gap: 10px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(40px, 6vw, 100px); }
.faq__head { position: sticky; top: 120px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item h3 { margin: 0; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  transition: color .3s;
}
.faq__q:hover { color: var(--gold); }
.faq__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: #fff; transition: transform .6s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq__icon svg { width: 18px; height: 18px; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }
.faq__a { overflow: hidden; }
.js .faq__item:not(.is-open) .faq__a { height: 0; }
.faq__a p { margin: 0; padding: 0 64px 30px 0; line-height: 1.75; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(100px, 12vw, 170px) 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(45% 60% at 78% 50%, rgba(245, 197, 24, .13), transparent 70%), var(--bg-2);
}
.cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.cta__title {
  --fill: 100%;
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 6.6vw, 6.2rem);
  background: linear-gradient(90deg, #fff 0%, #fff var(--fill), rgba(255, 255, 255, .14) var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__content p { max-width: 600px; margin: 0 0 36px; font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.cta__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 46px; padding: 0; list-style: none; }
.cta__features li { display: flex; align-items: center; gap: 12px; font-size: .98rem; font-weight: 600; }
.cta__features svg { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold); color: var(--ink); stroke-width: 3; }
.cta__visual { position: relative; width: 100%; aspect-ratio: 1; }
.cta__canvas { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; opacity: 0; }
.cta__fallback { position: absolute; inset: 14%; display: grid; place-items: center; transition: opacity .8s; }
.cta__fallback svg { width: 100%; height: 100%; stroke: rgba(245, 197, 24, .4); stroke-width: .35; animation: spin 40s linear infinite; }
.has-3d-cta .cta__fallback { opacity: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(40px, 6vw, 90px); }
.contact__sub { margin: 38px 0 10px; font-size: 1.35rem; }
.contact__info p { margin: 0 0 32px; line-height: 1.7; color: var(--muted); }
.contact__items { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .3s, translate .5s var(--ease); }
a.contact-item:hover { border-color: rgba(245, 197, 24, .45); translate: 6px 0; }
.contact-item__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: rgba(245, 197, 24, .1); color: var(--gold); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item > span:last-child { font-weight: 600; }
.contact-item small { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.contact__form { display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); transition: color .3s; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  outline: none;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5f6570; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within .field__line { transform: scaleX(1); }
.field:focus-within .field__label { color: var(--gold); }
.field.is-invalid .field__label { color: #ff8a7a; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a7a; }
.form-note { min-height: 1.4em; margin: -8px 0 0; font-size: .9rem; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 100px 0 30px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__brand img { width: 124px; margin-bottom: 22px; }
.footer__brand p { max-width: 360px; margin: 0; line-height: 1.7; color: var(--muted); }
.footer__col h4 { margin: 0 0 20px; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.footer__col > a { display: block; width: fit-content; padding: 6px 0; color: #d3d7de; transition: color .3s, translate .4s var(--ease); }
.footer__col > a:hover { color: var(--gold); translate: 4px 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; transition: border-color .3s, color .3s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__social svg { width: 16px; height: 16px; }
.footer__mega {
  padding: 48px 0 6px;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: clamp(3rem, 11.6vw, 13rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.footer__mega span, .footer__mega .c {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(245, 197, 24, .04) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__mega span.is-split { background: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .9rem; color: var(--muted); }
.to-top { transition: color .3s; }
.to-top:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 6vw; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5, 6, 8, .9); }
.lightbox__figure { position: relative; width: 100%; max-width: 1100px; margin: 0; }
.lightbox__figure img { width: 100%; border-radius: 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.lightbox__close { position: absolute; top: 24px; right: 24px; background: rgba(255, 255, 255, .06); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 1100px) {
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 11, 14, .85) 0%, rgba(10, 11, 14, .55) 50%, var(--bg) 100%); }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__badge { right: -10px; }

  .svc-card__body { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }

  .work, .work--flip { grid-template-columns: 1fr; }
  .work--flip .work__media { order: 0; }
  .work__index { display: none; }

  .why { padding: 100px 0; }
  .why__track { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: auto; height: auto; min-height: 0; padding: 0 var(--gutter); }
  .why__intro { grid-column: 1 / -1; width: auto; margin-bottom: 28px; padding: 0; }
  .why__progress { display: none; }
  .why-card { width: auto; height: auto; min-height: 340px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .cta__grid { grid-template-columns: 1fr; }
  .cta__visual { order: -1; max-width: 380px; margin: 0 auto -20px; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .timeline__line { left: 19px; }
  .step { grid-template-columns: 1fr; gap: 0; padding-left: 58px; }
  .step__dot { top: 44px; left: 19px; }
  .step__num { display: none; }
  .step--right .step__card { grid-column: 1; }
  .timeline { gap: 28px; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; --gutter: 20px; }
  body::after { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .svc-card { position: relative; top: auto; }
  .svc-card__inner { min-height: 0; box-shadow: none; }
  .svc-card__icon { width: 60px; height: 60px; border-radius: 18px; }
  .svc-card__icon svg { width: 28px; height: 28px; }
  .about__card { left: 12px; bottom: 16px; }
  .about__badge { top: -36px; right: 4px; width: 116px; height: 116px; }
  .tslider__nav { flex-wrap: wrap; gap: 20px; }
  .tslider__progress { order: 3; flex-basis: 100%; }
  .tslider__arrows { margin-left: auto; }
  .tslider__quote { width: 70px; height: 54px; top: 24px; right: 24px; }
  .faq__a p { padding-right: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header-cta { display: none; }
  .brand img { height: 40px; }
  .why__track { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-card__icon { margin-bottom: 0; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech-card { min-height: 0; }
  .tech-card__label { margin-top: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .cta__features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .logo-tile { width: 160px; height: 72px; padding: 0 20px; border-radius: 14px; }
  .marquee--logos .marquee__group { gap: 28px; padding-right: 28px; }
  .logo-rows { gap: 20px; }
  .logo-tile img { max-width: 112px; max-height: 32px; }
  .logo-tile--square img { max-height: 44px; }
  .tech__words { top: 22%; }
  .filters { border-radius: 22px; }
  .filters__btn { padding: 10px 14px; font-size: .85rem; }
  .btn { padding: 0 22px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- No-JS fallback: every text + image stays reachable ---------- */
/* header keeps its glass background (JS normally adds it on scroll) */
.no-js .site-header::before { opacity: 1; }
/* marquees loop with plain CSS (both groups are identical, so -50% is seamless) */
@keyframes marquee-css { to { transform: translateX(-50%); } }
.no-js .marquee__track { animation: marquee-css 32s linear infinite; }
.no-js .marquee--outline .marquee__track { animation-duration: 44s; }
.no-js .marquee--logos .marquee__track { animation-duration: 40s; }
.no-js [data-marquee="right"] .marquee__track { animation-direction: reverse; }
/* "why" cards: no horizontal pin without JS, so lay them out as a grid */
@media (min-width: 1101px) {
  .no-js .why { padding: 120px 0; }
  .no-js .why__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; gap: 22px; width: auto; height: auto; min-height: 0; }
  .no-js .why__intro { grid-column: 1 / -1; width: auto; max-width: 640px; margin-bottom: 28px; padding: 0; }
  .no-js .why__progress { display: none; }
  .no-js .why-card { width: auto; height: auto; min-height: 380px; }
}

/* Scroll-linked elements live on their own GPU layer so scrubbing never repaints them */
.js .hero__content, .js .hero__visual, .js .svc-card__inner, .js .svc-card__ghost,
.js .work__index, .js .about__badge, .js .why__track, .js .why-card,
.js .timeline__fill, .js .reveal-img img, .js .scroll-progress span { will-change: transform; }
.js .svc-card__shade { will-change: opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
