/* ==========================================================================
   OKAT Media — dark cinematic design system
   ========================================================================== */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/syne-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  --bg: #0b0c0b;
  --bg-2: #111211;
  --panel: #1a1a1a;
  --panel-2: #232322;
  --green: #14352a;
  --line: rgba(255, 255, 255, 0.09);
  /* Design Pickle exact tokens: primary #d5ff02, active #aacc02, stat blue #2c3aff */
  --gold: #d5ff02;
  --gold-hi: #d5ff02;
  --gold-active: #aacc02;
  --gold-dim: rgba(213, 255, 2, 0.12);
  --ink: #0b0c0b;
  --text: #f3f3f3;
  --muted: #c4c4c4;
  --light-bg: #f3f3f3;
  --light-text: #0b0c0b;
  --light-muted: #686868;
  --light-gold: #2c3aff;
  --display: 'Syne', 'Trebuchet MS', sans-serif;
  --body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --container: 1232px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- typography ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.h-hero { font-size: clamp(2.6rem, 8.5vw, 7rem); }
.h-1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.h-2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
.h-3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }

.accent { color: var(--gold-hi); }
.muted { color: var(--muted); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 18px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--gold); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 20px; width: auto; }
.logo-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.01em;
}
.logo-word span { color: var(--gold); }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo .logo-word { font-size: 1.8rem; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--gold-hi); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(213, 255, 2, 0.35);
}
.btn:hover { background: var(--gold-active); transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  color: var(--text);
}
.btn.ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav .btn { padding: 10px 20px; font-size: 0.88rem; }
.nav-links .btn { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.55) 0%, rgba(10, 12, 16, 0.25) 40%, rgba(10, 12, 16, 0.92) 88%),
    radial-gradient(90% 60% at 15% 90%, rgba(213, 255, 2, 0.22), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 72px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- split hero with work-card marquee ---------- */

.hero-dp {
  background: var(--bg);
  padding-top: 150px;
  padding-bottom: clamp(40px, 6vw, 88px);
  overflow: hidden;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  /* left edge aligns with the site container; right column bleeds to the viewport edge */
  padding-left: max(var(--pad), calc((100% - var(--container)) / 2 + var(--pad)));
}
.hero-split .h-hero { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; }
.hero-carousel {
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.hero-carousel::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: clamp(60px, 10vw, 140px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, var(--bg), rgba(11, 12, 11, 0.55), transparent);
}
.hc-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 48s linear infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-carousel:hover .hc-track { animation-play-state: paused; }
.hc-track img {
  width: clamp(220px, 22vw, 300px);
  height: clamp(300px, 30vw, 410px);
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- hashtag chips ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 3px 12px;
  border-radius: 40px;
  background: rgba(243, 243, 243, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}

/* ---------- light sections (stats) ---------- */

.section-light { background: var(--light-bg); color: var(--light-text); }
.section-light .display { color: var(--light-text); }
.section-light .kicker { color: var(--light-gold); }
.section-light .kicker::before { background: var(--light-gold); }
.section-light .lead, .section-light .muted { color: var(--light-muted); }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.stat { border-bottom: 1px dashed rgba(20, 20, 18, 0.25); padding-bottom: 26px; }
.stat .display {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  color: var(--light-gold);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}
.stat p { color: var(--light-muted); font-size: 1.02rem; max-width: 480px; }

/* ---------- category scroller ---------- */

.cat-marquee {
  position: relative;
  overflow: hidden;
  /* full-bleed: break out of the container to span border to border */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.cat-marquee::before, .cat-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 7vw, 110px);
  z-index: 2;
  pointer-events: none;
}
.cat-marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.cat-marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.cat-track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
  /* keep the animated strip on a single stable GPU layer so mobile
     browsers don't tear it down and blank it mid-scroll */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cat-marquee:hover .cat-track { animation-play-state: paused; }
.cat-set { display: flex; gap: 16px; padding-right: 16px; }
.cat-card { flex: 0 0 300px; display: block; }
.cat-card .cat-img {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--panel);
}
.cat-card:nth-child(even) .cat-img { height: 320px; margin-top: 60px; }
.cat-card .cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ---------- service rows (image half + card half) ---------- */

.svc-stack { display: flex; flex-direction: column; gap: 16px; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.svc-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  min-height: 420px;
  position: relative;
}
.svc-media img, .svc-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.svc-row:hover .svc-media img, .svc-row:hover .svc-media video { transform: scale(1.03); }
.svc-media .browser-mock { position: absolute; inset: 0; display: flex; flex-direction: column; border: 0; border-radius: 0; }
.svc-media .browser-mock img { position: static; flex: 1; aspect-ratio: auto; }
.svc-row.rev .svc-media { order: 2; }
.svc-body {
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.svc-body h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.svc-body p { color: var(--muted); }
.svc-body .check-list li { font-size: 0.94rem; margin-bottom: 8px; }
.svc-body .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- horizontal case-study rows ---------- */

.case-dp {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.case-dp:last-child { border-bottom: 0; }
.case-dp .case-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: var(--panel);
}
.case-dp .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease-in-out; }
.case-dp:hover .case-img img { transform: scale(1.04); }
.case-dp.rev .case-img { order: 2; }
.case-dp h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.case-stat { border-bottom: 1px dashed rgba(243, 243, 243, 0.22); padding: 18px 0; }
.case-stat .val {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.1;
  display: block;
}
.case-stat p { color: var(--muted); font-size: 0.95rem; }
.case-dp .btn { margin-top: 24px; }

/* ---------- step cards ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  transition: transform 0.25s, background 0.25s;
}
.step-card:hover { transform: translateY(-4px); background: var(--panel-2); }
.step-card .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.92rem; }

/* small page hero (inner pages) */
.page-hero { padding-top: 170px; padding-bottom: 56px; }
.page-hero .lead { margin-top: 20px; }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .lead { margin-top: 16px; }
.section-link {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-hi);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.section-link:hover { border-color: var(--gold-hi); }

.divider { border: 0; border-top: 1px solid var(--line); }

/* ---------- client logo marquee ---------- */

.clients { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.clients-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
  width: max-content;
  animation: marquee 36s linear infinite;
  padding: 6px 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 34px;
  width: auto;
  opacity: 0.62;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.25s, filter 0.25s;
}
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-grid.featured { grid-template-columns: repeat(6, 1fr); }
.featured .tile:nth-child(1) { grid-column: span 4; }
.featured .tile:nth-child(2) { grid-column: span 2; }
.featured .tile:nth-child(3) { grid-column: span 2; }
.featured .tile:nth-child(4) { grid-column: span 2; }
.featured .tile:nth-child(5) { grid-column: span 2; }

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.tile.tall { aspect-ratio: 3 / 4; }
.tile.wide { aspect-ratio: 16 / 9; }
.tile.square { aspect-ratio: 1 / 1; }
.tile > img, .tile > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.tile:hover > img, .tile:hover > video { transform: scale(1.045); }
.tile-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 18px 16px;
  background: linear-gradient(transparent, rgba(6, 8, 12, 0.88));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; transform: none; }
.tile-client { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); }
.tile-title { font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.tile-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(10, 12, 16, 0.6);
}
.tile .play-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(213, 255, 2, 0.9);
  display: grid;
  place-items: center;
  z-index: 2;
}
.play-badge svg { width: 12px; height: 12px; fill: var(--ink); margin-left: 2px; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.chip.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.tile.hidden { display: none; }

/* ---------- case study cards ---------- */

.case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(213, 255, 2, 0.5); }
.case-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .thumb img { transform: scale(1.05); }
.case-card .body { padding: 20px 22px 24px; }
.case-card .tile-client { display: block; margin-bottom: 6px; }
.case-card h3 { font-size: 1.12rem; line-height: 1.35; }
.case-card p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.case-card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.85rem; color: var(--gold-hi); }

/* ---------- services ---------- */

.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.6fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.service-row:hover { background: rgba(255, 255, 255, 0.02); }
.service-num { font-family: var(--display); font-size: 1.4rem; color: var(--gold); }
.service-row h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-family: var(--display); font-weight: 800; line-height: 1.1; }
.service-row p { color: var(--muted); font-size: 0.98rem; }
.service-arrow { font-size: 1.6rem; color: var(--muted); transition: transform 0.25s, color 0.25s; }
.service-row:hover .service-arrow { transform: translateX(6px); color: var(--gold-hi); }

/* services page blocks */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.service-block:nth-child(even) .sb-media { order: -1; }
.sb-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sb-media img, .sb-media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.service-block h2 { margin-bottom: 16px; }
.service-block .lead { margin-bottom: 22px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 11px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--gold-hi);
  border-bottom: 2px solid var(--gold-hi);
  transform: rotate(-45deg);
}

/* ---------- browser mockup (web service) ---------- */

.browser-mock {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.browser-dots i:first-child { background: var(--gold); }
.browser-url {
  flex: 1;
  max-width: 260px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}
.browser-mock img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- stats / band ---------- */

.band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(36px, 5vw, 56px) 0;
}
.band-item .display { font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--gold-hi); }
.band-item p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- CTA banner ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(120% 160% at 85% 10%, rgba(213, 255, 2, 0.28), transparent 55%),
    radial-gradient(100% 140% at 10% 100%, rgba(213, 255, 2, 0.14), transparent 55%),
    var(--green);
  border: 1px solid rgba(213, 255, 2, 0.35);
  padding: clamp(44px, 7vw, 90px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.cta h2 { margin-bottom: 18px; }
.cta .lead { margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- case study pages ---------- */

.case-hero { padding-top: 150px; padding-bottom: 40px; }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-meta div { font-size: 0.9rem; }
.case-meta span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery .full { grid-column: 1 / -1; }
.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }

.case-nav { display: flex; justify-content: space-between; gap: 16px; }

/* ---------- about ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.step {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

.client-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-names li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.contact-card {
  display: block;
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}
a.contact-card:hover { transform: translateY(-4px); border-color: rgba(213, 255, 2, 0.55); }
.contact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.contact-card .icon svg { width: 22px; height: 22px; fill: var(--gold-hi); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 0.95rem; }
.contact-card .value { display: block; margin-top: 10px; font-weight: 700; font-size: 1.05rem; color: var(--gold-hi); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 6, 9, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 80px) 0 40px;
}
.footer-logo img { height: 26px; margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 0.95rem; max-width: 340px; }
.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text); font-size: 0.95rem; opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.footer-col a:hover { color: var(--gold-hi); opacity: 1; }
.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-socials a svg { width: 19px; height: 19px; fill: var(--text); transition: fill 0.2s; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-socials a:hover svg { fill: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; padding-left: var(--pad); padding-right: var(--pad); }
  .hero-split .h-hero { font-size: clamp(2.4rem, 8vw, 3.6rem); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; }
  .svc-row.rev .svc-media { order: 0; }
  .svc-media { min-height: 300px; }
  .case-dp, .case-dp.rev { grid-template-columns: 1fr; }
  .case-dp.rev .case-img { order: 0; }
  .case-dp .case-img { aspect-ratio: 4 / 3; }
  .work-grid, .work-grid.featured { grid-template-columns: repeat(2, 1fr); }
  .featured .tile { grid-column: span 1 !important; }
  .featured .tile:nth-child(1) { grid-column: span 2 !important; }
  .case-row { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 48px 1fr auto; }
  .service-row p { grid-column: 2 / 3; }
  .service-block, .two-col, .footer-main { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .sb-media { order: 0; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 12, 16, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 1.05rem; width: 100%; }
  .nav-burger { display: flex; }
  .nav .btn { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 14px; }
  .work-grid, .work-grid.featured, .case-row, .contact-grid, .stat-grid, .steps-grid { grid-template-columns: 1fr; }
  /* On phones a transform-animated marquee promoted one very wide GPU layer
     that iOS/Android would drop (blank). Instead we auto-scroll the
     container's native scrollLeft (main.js) — only the visible slice is
     painted, so it can't blank — while staying an infinite loop and
     remaining swipeable. Both sets stay in the DOM for a seamless wrap. */
  .cat-marquee { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cat-marquee::-webkit-scrollbar { display: none; }
  .cat-track { animation: none; }
  .cat-card { flex-basis: 200px; }
  .cat-card .cat-img { height: 240px; }
  .cat-card:nth-child(even) .cat-img { height: 210px; margin-top: 20px; }
  .cat-card h3 { font-size: 0.95rem; }
  .featured .tile:nth-child(1) { grid-column: span 1 !important; }
  .gallery { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .case-nav { flex-direction: column; }
}
