/* ==========================================================
   NeterX — design system
   Brand: Lightning Yellow #E1FF00 · Black #11190C · Mid Grey #CAC4B7
   Secondary: mint · violet · blue (soft glows only)
   Type: Gotham (display) · Inter Tight (body)
   ========================================================== */

@font-face { font-family: "Gotham"; src: url("../assets/fonts/GOTHAM-LIGHT.TTF") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../assets/fonts/Gotham Book Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../assets/fonts/Gotham Regular.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../assets/fonts/GOTHAM-BOLD.TTF") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../assets/fonts/GOTHAM-BLACK.TTF") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --lime: #E1FF00;
  --lime-2: #B9FD00;
  --ink: #11190C;
  --bg: #07090A;
  --bg-2: #0D1210;
  --grey: #CAC4B7;
  --white: #F4F5F0;
  --muted: rgba(244,245,240,.62);
  --faint: rgba(244,245,240,.38);
  --mint: #00F5C8;
  --violet: #A66BFF;
  --blue: #1D5CFF;

  --glass: rgba(255,255,255,.045);
  --glass-2: rgba(255,255,255,.075);
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);

  --display: "Gotham", "Inter Tight", system-ui, sans-serif;
  --body: "Inter Tight", "Gotham", system-ui, sans-serif;

  --r-lg: 28px; --r-md: 20px; --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 300;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loaded { animation: pageIn .9s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

h1,h2,h3,h4 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -.02em; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6.6vw, 104px); }
h2 { font-size: clamp(34px, 5.2vw, 76px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.01em; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 60ch; }
.lime { color: var(--lime); }
.thin { font-weight: 300; text-transform: none; letter-spacing: -.02em; }

.wrap { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: url("../assets/spark.png") center/contain no-repeat; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 800px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- background layers ---------- */
.bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #131a12 0%, var(--bg) 55%);
}
.bg .blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; mix-blend-mode: screen;
  will-change: transform; animation: drift 26s ease-in-out infinite alternate;
}
.bg .b1 { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, rgba(225,255,0,.45), transparent 60%); }
.bg .b2 { width: 48vw; height: 48vw; right: -14vw; top: 10vh; background: radial-gradient(circle, rgba(29,92,255,.42), transparent 60%); animation-duration: 32s; animation-delay: -8s; }
.bg .b3 { width: 46vw; height: 46vw; left: 20vw; bottom: -26vw; background: radial-gradient(circle, rgba(166,107,255,.40), transparent 60%); animation-duration: 38s; animation-delay: -14s; }
.bg .b4 { width: 32vw; height: 32vw; right: 8vw; bottom: 4vh; background: radial-gradient(circle, rgba(0,245,200,.34), transparent 60%); animation-duration: 29s; animation-delay: -20s; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(6vw,-4vh,0) scale(1.12); }
  100% { transform: translate3d(-4vw,6vh,0) scale(.95); }
}
.bg .grain {
  position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,2%)} 50%{transform:translate(3%,-3%)} 75%{transform:translate(-2%,4%)} 100%{transform:translate(0,0)} }
.bg .grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
}

/* cursor glow */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(225,255,0,.12), transparent 60%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .5s;
}
body.has-mouse .cursor-glow { opacity: 1; }

/* ---------- glass primitives ---------- */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 40%, transparent 60%, rgba(255,255,255,.04));
}
.glass.hover { transition: transform .6s var(--ease), border-color .4s, background .4s, box-shadow .6s; }
.glass.hover:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--glass-2); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(225,255,0,.12), inset 0 1px 0 rgba(255,255,255,.18); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 12.5px; letter-spacing: .04em; color: var(--muted);
  font-weight: 500;
}
.pill.lime { border-color: rgba(225,255,0,.35); color: var(--lime); background: rgba(225,255,0,.06); }

.btn {
  --pad: 18px 28px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: var(--pad); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s, color .4s, border-color .4s;
  will-change: transform;
}
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 40px rgba(225,255,0,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(225,255,0,.38); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--white); backdrop-filter: blur(12px); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn-sm { --pad: 12px 20px; font-size: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter);
  transition: top .5s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 22px; border-radius: 999px; margin-inline: auto; width: min(1440px, 100%);
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.nav.scrolled .nav-inner { background: rgba(7,9,10,.62); border-color: var(--line-2); }
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); transform: translateX(-50%); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--white); margin: 2.5px 0; transition: transform .4s var(--ease), opacity .3s; }
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: grid; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; display: grid; place-items: center; padding: 100px var(--gutter) 40px;
  background: rgba(7,9,10,.75); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 8px; text-align: center; }
.mobile-menu a { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 10vw, 64px); letter-spacing: -.02em; line-height: 1.05; transition: color .3s; transform: translateY(20px); opacity: 0; }
.mobile-menu.open a { transform: none; opacity: 1; transition: transform .7s var(--ease), opacity .7s, color .3s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--lime); }
.mobile-menu a:nth-child(2){transition-delay:.05s}.mobile-menu a:nth-child(3){transition-delay:.1s}.mobile-menu a:nth-child(4){transition-delay:.15s}.mobile-menu a:nth-child(5){transition-delay:.2s}
body.menu-open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 160px 0 90px; position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; height: 46vw; max-height: 360px; } }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 56px; color: var(--faint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.hero-meta b { color: var(--white); font-weight: 600; display: block; font-size: 22px; letter-spacing: 0; text-transform: none; font-family: var(--display); }

.hero-visual { position: relative; height: 640px; }
.hero-visual .orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.emblem-wrap { position: relative; width: min(78%, 520px); animation: floatX 7s ease-in-out infinite; will-change: transform; }
.emblem-wrap .emblem { width: 100%; filter: drop-shadow(0 30px 60px rgba(225,255,0,.32)); }
/* white glow sits exactly behind the star (52.5% / 50% of the emblem) and only its light breathes — the star never moves */
.emblem-wrap .star-glow {
  position: absolute; left: 52.5%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 22%, rgba(255,255,255,0) 62%);
  filter: blur(6px); animation: shine 3.2s ease-in-out infinite;
}
.emblem-wrap .star-glow::after { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%); filter: blur(18px); }
@keyframes shine { 0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }
@keyframes floatX { 0%,100% { transform: translateY(-2%) rotate(-2deg); } 50% { transform: translateY(3%) rotate(2deg); } }
.hero-visual .ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; transform: translate(-50%,-50%); }
.hero-visual .ring.r1 { width: 62%; aspect-ratio: 1; animation: spin 40s linear infinite; border-style: dashed; }
.hero-visual .ring.r2 { width: 88%; aspect-ratio: 1; animation: spin 70s linear infinite reverse; }
.hero-visual .ring i { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; background: url("../assets/star.png") center/contain no-repeat; filter: drop-shadow(0 0 8px #fff); }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.float-card {
  position: absolute; padding: 14px 18px; display: flex; gap: 12px; align-items: center; border-radius: 16px; font-size: 13px; font-weight: 500;
  animation: floatCard 6s ease-in-out infinite;
}
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.float-card.c1 { left: 0; top: 16%; animation-delay: -1s; }
.float-card.c2 { right: 0; top: 30%; animation-delay: -3s; }
.float-card.c3 { left: 6%; bottom: 14%; animation-delay: -5s; }
.float-card.c2 .dot { background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.float-card.c3 .dot { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
@keyframes floatCard { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@media (max-width: 1000px) { .float-card, .scroll-hint { display: none; } .hero { padding-top: 120px; } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--faint); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--lime), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--faint); text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 64px; transition: color .3s; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; background: url("../assets/star.png") center/contain no-repeat; opacity: .7; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
.marquee-track a:hover span { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service { grid-column: span 4; padding: 34px 32px 30px; min-height: 340px; display: flex; flex-direction: column; overflow: hidden; }
.service:nth-child(1), .service:nth-child(2) { grid-column: span 6; }
@media (max-width: 1000px) { .service, .service:nth-child(1), .service:nth-child(2) { grid-column: span 6; } }
@media (max-width: 680px) { .service, .service:nth-child(1), .service:nth-child(2) { grid-column: span 12; min-height: 0; } }
.service .num { font-family: var(--display); font-weight: 300; color: var(--faint); font-size: 14px; letter-spacing: .2em; }
.service h3 { margin: 40px 0 10px; }
.service .short { color: var(--lime); font-weight: 500; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 15.5px; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.service .glow { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; filter: blur(50px); opacity: .35; transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.service:hover .glow { opacity: .8; transform: scale(1.4); }
.service .icon { position: absolute; right: 26px; top: 26px; width: 44px; height: 44px; opacity: .9; }
.service .icon svg { width: 100%; height: 100%; }
.glow.lime { background: var(--lime); } .glow.mint { background: var(--mint); } .glow.violet { background: var(--violet); } .glow.blue { background: var(--blue); }

/* ---------- work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work { grid-column: span 4; border-radius: var(--r-lg); overflow: hidden; position: relative; isolation: isolate; display: block; }
.work.wide { grid-column: span 8; }
@media (max-width: 1000px) { .work, .work.wide { grid-column: span 6; } }
@media (max-width: 640px) { .work, .work.wide { grid-column: span 12; } }
.cover { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: inherit; }
.work.wide .cover { aspect-ratio: 16/9; }
@media (max-width: 640px) { .work.wide .cover { aspect-ratio: 4/3; } }
.cover .art, .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .cover .art, .work:hover .cover img { transform: scale(1.06); }
.art { background: var(--bg-2); }
.art::before { content: ""; position: absolute; inset: 0; opacity: .9; }
.art::after { content: ""; position: absolute; width: 20%; aspect-ratio: 1; right: 7%; bottom: 9%; background: url("../assets/star.png") center/contain no-repeat; opacity: .8; filter: drop-shadow(0 0 18px rgba(255,255,255,.75)) drop-shadow(0 0 40px rgba(225,255,0,.35)); transform: scale(.9); transition: transform 1.2s var(--ease), opacity .6s, filter .6s; }
.work:hover .art::after { transform: scale(1.08) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 26px rgba(255,255,255,.95)) drop-shadow(0 0 60px rgba(225,255,0,.5)); }
.art.lime::before   { background: radial-gradient(90% 80% at 20% 20%, rgba(225,255,0,.55), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(29,92,255,.35), transparent 60%), linear-gradient(160deg, #182410, #07090A); }
.art.mint::before   { background: radial-gradient(90% 80% at 20% 20%, rgba(0,245,200,.5), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(225,255,0,.3), transparent 60%), linear-gradient(160deg, #0d2220, #07090A); }
.art.violet::before { background: radial-gradient(90% 80% at 20% 20%, rgba(166,107,255,.55), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(0,245,200,.3), transparent 60%), linear-gradient(160deg, #1b1230, #07090A); }
.art.blue::before   { background: radial-gradient(90% 80% at 20% 20%, rgba(29,92,255,.6), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(225,255,0,.28), transparent 60%), linear-gradient(160deg, #0c1a3a, #07090A); }
.work .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,9,10,.85)); }
.work .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 8px; }
.work .meta .client { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 600; }
.work .meta h3 { font-size: clamp(20px, 2vw, 28px); }
.work .meta .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work .meta .pill { padding: 5px 11px; font-size: 11.5px; backdrop-filter: blur(10px); }
.work .go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); backdrop-filter: blur(14px); transform: translateY(-8px); opacity: 0; transition: .5s var(--ease); }
.work:hover .go { transform: none; opacity: 1; }
.work .go svg { width: 18px; height: 18px; }
.work .year { position: absolute; top: 24px; left: 24px; font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }

/* filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: .3s; }
.filters button:hover { color: var(--white); border-color: var(--line-2); }
.filters button.active { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 600; }
.work.hidden { display: none; }

/* ---------- clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .clients-grid { grid-template-columns: 1fr; } }
.client-card { padding: 30px; display: grid; gap: 22px; min-height: 240px; }
.client-card .mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--ink); background: var(--lime); box-shadow: 0 10px 30px rgba(225,255,0,.25); }
.client-card .mark.mint { background: var(--mint); box-shadow: 0 10px 30px rgba(0,245,200,.25); }
.client-card .mark.violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px rgba(166,107,255,.3); }
.client-card .mark.blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(29,92,255,.3); }
.client-card .mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.client-card .sector { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.client-card h3 { font-size: 24px; margin-top: 6px; }
.client-card .count { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.client-card .count b { color: var(--lime); font-weight: 600; }

/* ---------- stats / about ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 30px; }
.stat b { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 4vw, 60px); line-height: 1; display: block; color: var(--lime); }
.stat span { color: var(--muted); font-size: 14px; display: block; margin-top: 8px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; }
.about-visual .emblem-wrap { width: 60%; animation-duration: 8s; }
.big-quote { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.02em; }
.big-quote .thin { color: var(--muted); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; counter-increment: step; }
.step::after { content: counter(step, decimal-leading-zero); position: absolute; right: 22px; top: 18px; font-family: var(--display); font-weight: 900; font-size: 46px; color: rgba(255,255,255,.06); }
.step h4 { margin: 40px 0 10px; text-transform: uppercase; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- CTA / contact ---------- */
.cta { padding: clamp(50px, 7vw, 96px); text-align: center; overflow: hidden; border-radius: var(--r-lg); }
.cta h2 { max-width: 16ch; margin-inline: auto; }
.cta .lead { margin: 22px auto 34px; }
.cta .beam { position: absolute; left: 50%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(225,255,0,.22), transparent); transform: translateX(-50%); filter: blur(40px); animation: beam 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes beam { from { transform: translateX(-70%) } to { transform: translateX(-30%) } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 36px; display: grid; gap: 26px; align-content: start; }
.contact-card a.big { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.01em; transition: color .3s; word-break: break-all; }
.contact-card a.big:hover { color: var(--lime); }
.contact-card .label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; font-weight: 600; }
form.glass { padding: 36px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--white); font: inherit; font-size: 15px; transition: border-color .3s, background .3s; }
.field select option { color: #111; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lime); background: rgba(225,255,0,.04); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); margin-top: 60px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo img { height: 34px; width: auto; }
.footer p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin-top: 18px; }
.footer h4 { font-size: 12px; letter-spacing: .2em; color: var(--faint); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { color: var(--muted); font-size: 15px; transition: color .3s; }
.footer li a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer .big-x { position: absolute; right: 4%; bottom: -8%; width: 22%; opacity: .05; pointer-events: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 60px; }
.page-hero h1 { margin: 20px 0 20px; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--faint); font-size: 13px; letter-spacing: .06em; }
.crumbs a:hover { color: var(--lime); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* project detail */
.detail-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; min-height: 360px; }
.detail-hero .art { position: absolute; inset: 0; }
.detail-hero .art::after { width: 12%; right: 5%; top: 12%; bottom: auto; }
.detail-hero .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); display: grid; gap: 14px; background: linear-gradient(transparent, rgba(7,9,10,.85)); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 34px; }
.detail-body h3 { font-size: 14px; letter-spacing: .2em; color: var(--lime); text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.detail-body p { color: var(--muted); font-size: 17px; max-width: 65ch; }
.detail-side { display: grid; gap: 18px; align-content: start; }
.side-card { padding: 28px; display: grid; gap: 18px; }
.side-card .kv { display: grid; gap: 4px; }
.side-card .k { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.side-card .v { font-size: 17px; font-weight: 500; }
.side-card .v a:hover { color: var(--lime); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .results { grid-template-columns: 1fr; } }
.result { padding: 24px; }
.result b { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 44px); display: block; color: var(--lime); line-height: 1; }
.result span { color: var(--muted); font-size: 13.5px; display: block; margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery .shot { position: relative; aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; }
.gallery .shot:first-child { grid-column: 1 / -1; aspect-ratio: 21/9; }
.gallery .shot .art, .gallery .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } }
.pager a { padding: 28px; display: grid; gap: 6px; }
.pager a.next { text-align: right; }
.pager .k { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.pager .t { font-family: var(--display); font-weight: 700; font-size: 20px; transition: color .3s; }
.pager a:hover .t { color: var(--lime); }

/* client detail header */
.client-hero { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 40px; }
@media (max-width: 640px) { .client-hero { grid-template-columns: 1fr; } }
.client-hero .mark { width: 120px; height: 120px; font-size: 40px; border-radius: 30px; }
.empty { padding: 60px; text-align: center; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s } .reveal[data-delay="2"] { transition-delay: .16s } .reveal[data-delay="3"] { transition-delay: .24s } .reveal[data-delay="4"] { transition-delay: .32s } .reveal[data-delay="5"] { transition-delay: .4s }

/* tilt */
[data-tilt] { transform-style: preserve-3d; transition: transform .25s ease-out; }

/* preloader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .7s var(--ease), visibility .7s; }
.loader img { width: 60px; animation: glowPulse 1.2s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { filter: drop-shadow(0 0 10px rgba(255,255,255,.6)); opacity: .7 } 50% { filter: drop-shadow(0 0 34px rgba(255,255,255,1)); opacity: 1 } }
.loader.done { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Company-profile content (v2): logos, partners, films, posts, websites
   ===================================================================== */

/* real images inside heroes / covers */
.detail-hero > img, .detail-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero .inner { z-index: 1; }
.cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work .film-count { position: absolute; top: 22px; left: 24px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: var(--lime); padding: 5px 10px; border-radius: 999px; }
.work.is-film .year { display: none; }
.work.is-film .go { opacity: 1; transform: none; background: rgba(225,255,0,.9); color: var(--ink); border-color: transparent; }
.work.is-film .go svg { width: 16px; height: 16px; margin-left: 2px; }

/* logo tiles: brand logos sit on a soft light chip so every colour reads */
.logo-tile { display: grid; place-items: center; background: #F4F5F0; border-radius: 16px; padding: 14px 18px; height: 84px; width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 10px 30px rgba(0,0,0,.25); overflow: hidden; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.logo-tile.text { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-align: center; line-height: 1.25; }
.logo-tile.sm { height: 54px; width: 150px; padding: 10px 14px; border-radius: 12px; box-shadow: none; }
.logo-tile.lg { width: 220px; height: 150px; padding: 24px; border-radius: 26px; }
@media (max-width: 640px) { .logo-tile.lg { width: 100%; height: 120px; } }

/* marquee of logos */
.marquee.logos { padding: 18px 0; }
.marquee.logos .marquee-track { gap: 18px; animation-duration: 70s; align-items: center; }
.marquee.logos .m-item { display: block; opacity: .85; transition: opacity .3s, transform .4s var(--ease); }
.marquee.logos .m-item:hover { opacity: 1; transform: translateY(-3px); }

/* logo wall (home) */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall > * { display: block; transition: transform .5s var(--ease), filter .4s; }
.logo-wall > a:hover { transform: translateY(-4px); filter: drop-shadow(0 12px 24px rgba(225,255,0,.25)); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors .pill i { font-style: normal; color: var(--faint); margin-right: 4px; font-size: 11px; }
.sectors .pill.lime i { color: var(--lime); opacity: .7; }

/* client cards (v2) */
.client-card { gap: 18px; min-height: 0; }
.client-card .logo-tile { height: 96px; }
.client-card.quiet { opacity: .88; }
.client-card .go-sm { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 500; }
.client-card .go-sm .arrow { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.client-card:hover .go-sm .arrow { transform: translateX(4px); }
.client-hero { grid-template-columns: 220px 1fr; }
@media (max-width: 640px) { .client-hero { grid-template-columns: 1fr; } }

/* why NeterX */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
.why-card { padding: 28px; }
.why-card .why-star { display: block; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,.8)); margin-bottom: 26px; }
.why-card .why-star svg { width: 100%; height: 100%; }
.why-card h4 { text-transform: uppercase; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* process: 5 steps */
.steps { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* partners / ecosystem */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr; } }
.partner { padding: 30px; display: grid; gap: 14px; align-content: start; }
.partner-logo { height: 70px; display: flex; align-items: center; }
.partner-logo img { max-height: 54px; max-width: 220px; object-fit: contain; border-radius: 8px; }
.partner-logo.light { background: #F4F5F0; border-radius: 14px; padding: 8px 16px; width: fit-content; }
.partner-logo.light img { mix-blend-mode: multiply; }
.partner .role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 600; }
.partner p { color: var(--muted); font-size: 15px; }
.partner .tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* project detail: highlights, scope, related logos */
.hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hl li { position: relative; padding-left: 26px; color: var(--white); font-size: 16.5px; }
.hl li::before { content: ""; position: absolute; left: 0; top: .35em; width: 13px; height: 13px; background: url("../assets/star.png") center/contain no-repeat; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.side-card .v.scope { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mini-logos .logo-tile.sm { width: 100%; }

/* films */
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .films { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .films { grid-template-columns: 1fr; } }
.film { display: block; overflow: hidden; border-radius: var(--r-md); }
.film-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.film-thumb img, .film-thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.film:hover .film-thumb img { transform: scale(1.06); }
.film-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%,-50%) scale(.9); border-radius: 50%; display: grid; place-items: center;
  background: rgba(225,255,0,.92); color: var(--ink); box-shadow: 0 0 0 10px rgba(225,255,0,.15), 0 16px 40px rgba(0,0,0,.4); transition: transform .5s var(--ease), box-shadow .5s; }
.film-play svg { width: 22px; height: 22px; margin-left: 3px; }
.film:hover .film-play { transform: translate(-50%,-50%) scale(1.05); box-shadow: 0 0 0 16px rgba(225,255,0,.12), 0 16px 40px rgba(0,0,0,.5); }
.film-dur { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: rgba(7,9,10,.7); backdrop-filter: blur(8px); }
.film-cap { padding: 16px 18px; display: grid; gap: 2px; }
.film-cap b { font-family: var(--display); font-weight: 700; font-size: 16px; }
.film-cap span { color: var(--muted); font-size: 13.5px; }

/* social posts grid */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.post { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: block; }
.post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover img { transform: scale(1.05); }
.gallery .shot { display: block; }
.gallery .shot img { transition: transform 1s var(--ease); }
.gallery .shot:hover img { transform: scale(1.04); }

/* website showcase: browser + phone */
.web-show { position: relative; display: grid; grid-template-columns: 1fr; padding-right: clamp(0px, 12vw, 190px); }
.browser { border-radius: 18px; overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser .bar i:first-child { background: #ff5f57; } .browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar span { margin-left: 14px; font-size: 12.5px; color: var(--muted); background: rgba(0,0,0,.25); padding: 4px 14px; border-radius: 999px; }
.browser .screen { aspect-ratio: 16/9; overflow: hidden; }
.browser .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: -30px; width: clamp(140px, 17vw, 250px); aspect-ratio: 780/1688; border-radius: 34px; padding: 9px; background: #0b0d0c;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(225,255,0,.12); animation: floatCard 7s ease-in-out infinite; }
.phone .screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 999px; background: #0b0d0c; z-index: 1; }
@media (max-width: 700px) { .web-show { padding-right: 0; padding-bottom: 60px; } .phone { width: 34%; bottom: 0; right: 12px; } }

/* lightboxes */
.lightbox, .zoombox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 70px 4vw 40px; background: rgba(5,6,6,.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.lightbox.open, .zoombox.open { opacity: 1; pointer-events: auto; }
.lb-frame { width: min(1200px, 100%); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px var(--line-2); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.open .lb-frame { transform: none; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-title { margin-top: 16px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); font-size: 16px; }
.lb-close:hover { border-color: var(--lime); color: var(--lime); }
.zoombox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.zb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); font-size: 28px; line-height: 1; }
.zb-nav:hover { border-color: var(--lime); color: var(--lime); }
.zb-nav.prev { left: 2vw; } .zb-nav.next { right: 2vw; }
.zb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; }
/* logo sizing: explicit limits (percentage heights don't resolve inside grid tiles) */
.logo-tile { display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 54px; }
.logo-tile.sm img { max-height: 32px; }
.logo-tile.lg img { max-height: 100px; }
.client-card .logo-tile img { max-height: 64px; }
.lightbox { align-content: center; justify-items: center; gap: 0; } .lightbox .lb-frame { width: min(1200px, 100%); }
.detail-hero { aspect-ratio: auto; height: clamp(360px, 44vw, 640px); min-height: 0; width: 100%; }
