:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #C9A84C;
  --gold-dim: rgba(201,168,76,0.15);
  --grey1: #0a0a0a;
  --grey2: #111111;
  --grey3: #1a1a1a;
  --grey4: #333333;
  --grey5: #666666;
  --grey6: #999999;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

/* Loading screen */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease;
}
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loader-logo img {
  height: clamp(48px, 10vw, 80px);
  width: auto;
  animation: bulbFlicker 2.2s ease forwards;
}
@keyframes bulbFlicker {
  0%   { opacity: 0;   filter: brightness(0); }
  5%   { opacity: 1;   filter: brightness(6) blur(4px) drop-shadow(0 0 40px #fff); }
  8%   { opacity: 0;   filter: brightness(0); }
  14%  { opacity: 1;   filter: brightness(4) blur(2px) drop-shadow(0 0 24px #fff); }
  16%  { opacity: 0;   filter: brightness(0); }
  24%  { opacity: 1;   filter: brightness(3) blur(1px) drop-shadow(0 0 16px #fff); }
  27%  { opacity: 0.1; filter: brightness(0.2); }
  34%  { opacity: 1;   filter: brightness(2.2) drop-shadow(0 0 12px rgba(255,255,255,0.8)); }
  40%  { opacity: 0.6; filter: brightness(0.7); }
  46%  { opacity: 1;   filter: brightness(1.8) drop-shadow(0 0 20px rgba(201,168,76,0.6)); }
  60%  { opacity: 1;   filter: brightness(1.3) drop-shadow(0 0 12px rgba(201,168,76,0.35)); }
  80%  { opacity: 1;   filter: brightness(1.05) drop-shadow(0 0 6px rgba(201,168,76,0.15)); }
  100% { opacity: 1;   filter: brightness(1); }
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  mix-blend-mode: normal;
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 48px; right: 48px;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey6);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #000 60%);
  z-index: 0;
}

/* Noise grain overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Diagonal gold accent */
.hero-diagonal {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(201,168,76,0.03) 100%);
  z-index: 1;
}

/* Hero video — full bleed */
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Gradient overlay: left bleed + soft top/bottom page integration */
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  #000 0%, transparent 55%),
    linear-gradient(to bottom, #000 0%, transparent 18%),
    linear-gradient(to top,    #000 0%, transparent 20%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 48px 72px;
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-title .line2 { color: var(--gold); }

.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey6);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-primary {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 14px 32px;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey6);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-ghost:hover::after { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey5);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* CLIENT LOGOS */
#clients {
  padding: 48px 0;
  border-top: 1px solid var(--grey4);
  border-bottom: 1px solid var(--grey4);
  overflow: hidden;
}

.logos-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: marquee 20s linear infinite;
  width: max-content;
}

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

.logo-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--grey4);
  white-space: nowrap;
  transition: color 0.3s;
}
.logo-item:hover { color: var(--grey6); }

.logo-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* SECTION BASE */
section {
  padding: 120px 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-label span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

/* PORTFOLIO */
#portfolio {
  background: var(--grey1);
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--grey3);
  aspect-ratio: 16/10;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-item:first-child {
  grid-column: span 2;
  aspect-ratio: 21/10;
}

.portfolio-item-bg {
  position: absolute;
  inset: 0;
  background: var(--grey3);
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-item-bg {
  transform: scale(1.04);
}

/* Placeholder gradient per item */
.portfolio-item:nth-child(1) .portfolio-item-bg { background: linear-gradient(135deg, #1a0a00, #0d0d0d); }
.portfolio-item:nth-child(2) .portfolio-item-bg { background: linear-gradient(135deg, #0a0a1a, #0d0d0d); }
.portfolio-item:nth-child(3) .portfolio-item-bg { background: linear-gradient(135deg, #0a1a0a, #0d0d0d); }
.portfolio-item:nth-child(4) .portfolio-item-bg { background: linear-gradient(135deg, #1a1a00, #0d0d0d); }
.portfolio-item:nth-child(5) .portfolio-item-bg { background: linear-gradient(135deg, #1a000a, #0d0d0d); }
.portfolio-item:nth-child(6) .portfolio-item-bg { background: linear-gradient(135deg, #0a1a1a, #0d0d0d); }
.portfolio-item:nth-child(7) .portfolio-item-bg { background: linear-gradient(135deg, #1a0a1a, #0d0d0d); }

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }

.portfolio-item-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.portfolio-item-info p {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* client label top left */
.portfolio-item-tag {
  position: absolute;
  top: 20px; left: 20px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.7);
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}

/* SERVICES */
#services {
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
}

.service-card {
  background: var(--grey2);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { background: var(--grey3); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--grey3);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s;
}

.service-card:hover .service-number { color: var(--grey4); }

.service-tier {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 12px;
  color: var(--grey6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.service-features li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 2px;
}

/* AI SECTION */
#ai {
  background: var(--grey1);
  position: relative;
  overflow: hidden;
}

#ai::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.ai-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ai-left p strong {
  color: var(--white);
  font-weight: 500;
}

.ai-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-stack-item {
  background: var(--grey3);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.ai-stack-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.ai-stack-item:hover { background: var(--grey4); }
.ai-stack-item:hover::after { transform: scaleY(1); }

.ai-stack-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-stack-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--grey4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ai-stack-name {
  font-size: 13px;
  font-weight: 500;
}

.ai-stack-desc {
  font-size: 11px;
  color: var(--grey6);
  margin-top: 2px;
}

.ai-stack-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 4px 10px;
}

/* ABOUT */
#about {
  background: var(--black);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.about-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 8px;
}

.stat-box {
  background: var(--grey2);
  padding: 28px 24px;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-number span { color: var(--gold); }

.stat-label {
  font-size: 11px;
  color: var(--grey6);
  letter-spacing: 0.05em;
}

.team-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-card {
  background: var(--grey2);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.2s;
}
.team-card:hover { background: var(--grey3); }

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grey4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--gold);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.team-role {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-bio {
  font-size: 11px;
  color: var(--grey6);
  line-height: 1.5;
}

/* CONTACT */
#contact {
  background: var(--grey1);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}

.contact-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey6);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey5);
  width: 80px;
  flex-shrink: 0;
}

.contact-info-value {
  font-size: 13px;
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey5);
  padding: 14px 16px 0;
  background: var(--grey3);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--grey3);
  border: none;
  border-bottom: 1px solid var(--grey4);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 16px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold);
}

.form-field select option { background: var(--grey3); }

.form-field textarea {
  resize: none;
  height: 100px;
}

.form-submit {
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 32px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 2px;
  align-self: flex-start;
}
.form-submit:hover { opacity: 0.85; }

/* FOOTER */
footer {
  background: var(--black);
  padding: 48px;
  border-top: 1px solid var(--grey4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo-img img {
  height: 24px;
  width: auto;
}

.footer-tagline {
  font-size: 11px;
  color: var(--grey5);
  font-style: italic;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 10px;
  color: var(--grey5);
  letter-spacing: 0.05em;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Gold divider */
.gold-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0;
}

/* HAMBURGER — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--grey5);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.mobile-nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.2s, opacity 0.4s ease, transform 0.4s ease;
}
.mobile-nav.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav-link:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-link:nth-child(5) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-nav-link:nth-child(6) { transition-delay: 0.25s; }
.mobile-nav-link:active { color: var(--gold); }
.mobile-nav-cta {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  padding: 14px 36px;
  margin-top: 24px;
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {

  /* Remove custom cursor */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  /* NAV */
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* HERO */
  .hero-content {
    padding: 0 24px 72px;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(60px, 18vw, 96px);
    line-height: 0.88;
    margin-bottom: 20px;
  }
  .hero-subtitle {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 36px;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-scroll { display: none; }
  .hero-diagonal { display: none; }
  .hero-gradient {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.7) 100%),
                linear-gradient(to right, #000 0%, transparent 80%);
  }

  /* CLIENTS */
  #clients { padding: 32px 0; }

  /* SECTIONS */
  section { padding: 80px 24px; }
  .section-title { font-size: clamp(40px, 11vw, 64px); }

  /* PORTFOLIO */
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
  .portfolio-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .portfolio-item { aspect-ratio: 16/10; }
  .portfolio-item-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  }

  /* SERVICES */
  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .service-card { padding: 32px 24px; }
  .service-number { font-size: 48px; margin-bottom: 16px; }

  /* AI */
  .ai-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  /* ABOUT */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .about-stats { margin-top: 32px !important; }

  /* CONTACT */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; text-align: center; }

  /* FOOTER */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 40px 24px;
  }
  .footer-tagline { display: none; }

  /* ---- SCROLL-REACTIVE ELEMENTS (replace hover) ---- */

  /* Service cards */
  .service-card {
    transition: background 0.4s ease;
  }
  .service-card::before {
    transition: transform 0.5s ease;
  }
  .service-card .service-number {
    transition: color 0.4s ease;
  }
  .service-card.in-view {
    background: var(--grey3);
  }
  .service-card.in-view::before {
    transform: scaleX(1);
  }
  .service-card.in-view .service-number {
    color: var(--grey4);
  }

  /* AI stack items */
  .ai-stack-item {
    transition: background 0.4s ease;
  }
  .ai-stack-item::after {
    transition: transform 0.4s ease;
  }
  .ai-stack-item.in-view {
    background: var(--grey4);
  }
  .ai-stack-item.in-view::after {
    transform: scaleY(1);
  }

  /* Team cards */
  .team-card {
    transition: background 0.4s ease, transform 0.4s ease;
  }
  .team-card.in-view {
    background: var(--grey3);
    transform: translateX(4px);
  }

  /* Portfolio items — scale on scroll */
  .portfolio-item .portfolio-item-bg {
    transition: transform 0.6s ease;
  }
  .portfolio-item.in-view .portfolio-item-bg {
    transform: scale(1.04);
  }

  /* Stat boxes */
  .stat-box {
    transition: background 0.4s ease;
  }
  .stat-box.in-view {
    background: var(--grey3);
  }
}
