/* ════════════════════════════════════════════════════
   AININFRA V2 — AWWWARDS-TIER
   Aesthetic: Industrial Futurism × Editorial Precision
   Fonts: Bebas Neue (display) + Instrument Serif (accent) + Manrope (body)
   Palette: Obsidian black × Raw signal cyan × Bone white × Rust orange accent
   ════════════════════════════════════════════════════ */

:root {
  --black:   #060608;
  --black2:  #0b0c10;
  --black3:  #111318;
  --black4:  #181a20;
  --white:   #f0ede8;
  --white2:  #c8c4bc;
  --white3:  rgba(240,237,232,0.5);
  --white4:  rgba(240,237,232,0.12);
  --white5:  rgba(240,237,232,0.06);
  --cyan:    #00e5ff;
  --cyan2:   #0070e0;
  --cyan3:   rgba(0,229,255,0.08);
  --orange:  #ff5c2b;
  --border:  rgba(240,237,232,0.08);
  --border2: rgba(0,229,255,0.15);
  --f-display: 'Bebas Neue', sans-serif;
  --f-serif:   'Instrument Serif', serif;
  --f-body:    'Manrope', sans-serif;
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
  --ease-in:   cubic-bezier(0.7,0,0.84,0);
  --ease-inout: cubic-bezier(0.65,0,0.35,1);
  --r: 12px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(0,229,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

body.hovering #cursor { width: 6px; height: 6px; }
body.hovering #cursor-ring { width: 70px; height: 70px; border-color: var(--cyan); }
body.clicking #cursor { transform: translate(-50%,-50%) scale(0.7); }

/* ── Noise Overlay ── */
body::before {
  content: '';
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9997;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--cyan); }

/* ── Selection ── */
::selection { background: var(--cyan); color: var(--black); }

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-wordmark {
  font-family: var(--f-display);
  font-size: clamp(3rem,8vw,6rem);
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
  overflow: hidden;
  position: relative;
}

.loader-wordmark .ain { color: var(--cyan); }

.loader-line {
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  margin-top: 20px;
  transition: width 2s var(--ease-out);
}

.loader-percent {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white3);
  margin-top: 14px;
}

/* ── Navbar ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease-out), background 0.4s;
}

nav.scrolled {
  padding: 16px 48px;
  background: rgba(6,6,8,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-wordmark {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.nav-wordmark .ain { color: var(--cyan); }

.nav-center {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white3);
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
  cursor: none;
}

.nav-link:hover { color: var(--white); background: var(--white5); }
.nav-link.active { color: var(--cyan); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white3);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.btn-nav {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  color: var(--cyan);
  background: var(--cyan3);
  text-decoration: none;
  transition: all 0.3s;
  cursor: none;
}

.btn-nav:hover {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(2.5rem,8vw,4rem);
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 140px 48px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 36px;
  opacity: 0;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(4.5rem,8.5vw,9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: block; transform: translateY(110%); }

.hero-title-accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(4rem,7.5vw,8rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,237,232,0.3);
  letter-spacing: 0.04em;
  display: block;
  overflow: hidden;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-title-accent .word { display: block; transform: translateY(110%); }

.hero-title-cyan {
  font-family: var(--f-display);
  font-size: clamp(4.5rem,8.5vw,9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--cyan);
  display: block;
  overflow: hidden;
}
.hero-title-cyan .word { display: block; transform: translateY(110%); }

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--white3);
  max-width: 400px;
  margin-top: 40px;
  margin-bottom: 48px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cyan);
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
  cursor: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}

.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0,229,255,0.3); }

.btn-primary span { position: relative; z-index: 1; }

.btn-arrow {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.btn-primary:hover .btn-arrow { transform: translate(4px,-4px); }

.btn-ghost {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white3);
  text-decoration: none;
  cursor: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '↓'; transition: transform 0.3s; display: inline-block; }
.btn-ghost:hover::after { transform: translateY(3px); }

/* Hero scroll counter */
.hero-scroll-line {
  position: absolute;
  left: 40px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  z-index: 2;
}

.hero-scroll-line span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white3);
  writing-mode: vertical-rl;
}

.scroll-bar {
  width: 1px;
  height: 80px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* Hero right — Three.js globe */
.hero-right {
  position: relative;
  height: 100vh;
  z-index: 1;
}

#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, transparent 40%, var(--black) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating stats on globe side */
.globe-stats {
  position: absolute;
  right: 48px;
  bottom: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
}

.globe-stat {
  text-align: right;
  border-right: 2px solid var(--border2);
  padding-right: 20px;
}

.globe-stat-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.globe-stat-num .c { color: var(--cyan); }

.globe-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white3);
  margin-top: 4px;
}

/* Horizontal marquee below hero fold */
.ticker-wrap {
  overflow: hidden;
  background: var(--cyan);
  padding: 14px 0;
  position: relative;
  z-index: 10;
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--black);
  white-space: nowrap;
}

.ticker-item::after {
  content: '✦';
  color: rgba(0,0,0,0.3);
}

/* ═══════════════════════════════
   ABOUT
═══════════════════════════════ */
#about {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white3);
  margin-bottom: 28px;
}
.about-label::before { content: '—'; color: var(--orange); }

.about-h2 {
  font-family: var(--f-display);
  font-size: clamp(3rem,5vw,5.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}

.about-h2-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(2.5rem,4.5vw,5rem);
  color: var(--white2);
  display: block;
  margin-bottom: 8px;
}

.about-desc {
  color: var(--white3);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 480px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.about-meta {
  display: flex;
  gap: 48px;
}

.about-meta-item { }
.about-meta-num {
  font-family: var(--f-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  line-height: 1;
}
.about-meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white3);
  margin-top: 6px;
}

/* About right — vision/mission cards */
.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,229,255,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.about-card:hover { border-color: var(--border2); transform: translateY(-6px); }
.about-card:hover::before { opacity: 1; }

.about-card--full { grid-column: span 2; }

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.about-card h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--white3);
}

.about-card--cert {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--black4);
}

.cert-badge-lg {
  padding: 8px 16px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
}

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
#services {
  padding: 160px 0;
  background: var(--black2);
  position: relative;
  overflow: hidden;
}

.services-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--f-display);
  font-size: 22vw;
  letter-spacing: 0.02em;
  color: rgba(240,237,232,0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.section-header {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-title-wrap {}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--orange); }

.section-h2 {
  font-family: var(--f-display);
  font-size: clamp(3rem,5.5vw,6rem);
  letter-spacing: 0.02em;
  line-height: 0.93;
  color: var(--white);
}

.section-h2-line2 {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--white2);
  display: block;
}

.section-sub {
  max-width: 300px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--white3);
  text-align: right;
}

/* Services — horizontal scroll track on desktop, grid on mobile */
.services-scroll-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  cursor: none;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0,229,255,0.2);
  box-shadow: 0 40px 100px -20px rgba(0,229,255,0.1), 0 0 0 1px rgba(0,229,255,0.05);
}

.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: var(--f-display);
  font-size: 4rem;
  letter-spacing: 0.02em;
  color: rgba(240,237,232,0.06);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  transition: color 0.4s;
}

.service-card:hover .service-num { color: rgba(0,229,255,0.08); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon-wrap {
  background: rgba(0,229,255,0.12);
  border-color: rgba(0,229,255,0.25);
}

.service-icon-wrap svg { width: 24px; height: 24px; color: var(--cyan); stroke: currentColor; }

.service-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--white3);
  margin-bottom: 28px;
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  cursor: none;
  transition: gap 0.3s;
}

.service-link-btn:hover { gap: 16px; }
.service-link-btn::after { content: '→'; }

/* ═══════════════════════════════
   WHY
═══════════════════════════════ */
#why {
  padding: 160px 0;
  position: relative;
}

.why-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 80px;
}

.why-item {
  background: var(--black);
  padding: 52px 40px;
  position: relative;
  transition: background 0.4s;
  cursor: none;
}

.why-item:hover { background: var(--black3); }

.why-item::before {
  content: attr(data-num);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--f-display);
  font-size: 3.5rem;
  letter-spacing: 0.02em;
  color: rgba(240,237,232,0.04);
  line-height: 1;
}

.why-icon { font-size: 2rem; display: block; margin-bottom: 20px; }

.why-item h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.why-item p { font-size: 0.85rem; line-height: 1.8; color: var(--white3); }

/* ═══════════════════════════════
   PROJECTS
═══════════════════════════════ */
#projects {
  padding: 160px 0;
  background: var(--black2);
  position: relative;
  overflow: hidden;
}

.projects-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.projects-list {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 180px 140px;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  cursor: none;
  position: relative;
  transition: padding 0.4s var(--ease-out);
  overflow: hidden;
}

.project-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
  border-radius: 12px;
}

.project-row:hover::before { transform: scaleX(1); }
.project-row:hover { padding-left: 20px; padding-right: 20px; }

.project-row:last-child { border-bottom: 1px solid var(--border); }

.project-row > * { position: relative; z-index: 1; }

.project-idx {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.2);
}

.project-title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--white);
  transition: color 0.3s;
}

.project-row:hover .project-title { color: var(--cyan); }

.project-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white3);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.project-row:hover .project-cat { border-color: var(--cyan); color: var(--cyan); }

.project-location {
  font-size: 0.8rem;
  color: var(--white3);
  white-space: nowrap;
}

.project-arrow {
  font-size: 1.2rem;
  color: var(--white3);
  text-align: right;
  transition: transform 0.4s var(--ease-out), color 0.3s;
}

.project-row:hover .project-arrow { transform: translate(8px,-8px); color: var(--cyan); }

/* ═══════════════════════════════
   CLIENTS
═══════════════════════════════ */
#clients {
  padding: 160px 0;
  position: relative;
}

.clients-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.clients-marquee {
  overflow: hidden;
  margin-top: 80px;
  position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.clients-marquee::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }

.clients-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 24s linear infinite;
  width: max-content;
}

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

.clients-track:hover { animation-play-state: paused; }

.client-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  padding: 24px 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.25);
  background: var(--black3);
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
  cursor: none;
}

.client-chip:hover {
  color: var(--white);
  border-color: rgba(240,237,232,0.2);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.testi-card {
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
  cursor: none;
}

.testi-card:hover { transform: translateY(-8px); border-color: var(--border2); }

.testi-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--white2);
  font-style: italic;
  margin-bottom: 32px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 0.9rem;
  color: var(--black);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  display: block;
}

.testi-role {
  font-size: 0.75rem;
  color: var(--white3);
  display: block;
  margin-top: 3px;
}

/* ═══════════════════════════════
   CAREERS
═══════════════════════════════ */
#careers {
  padding: 160px 80px;
  position: relative;
  overflow: hidden;
}

.careers-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 60% 50%, rgba(0,229,255,0.05), transparent),
              radial-gradient(ellipse 40% 60% at 20% 30%, rgba(255,92,43,0.04), transparent);
  pointer-events: none;
}

.careers-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.careers-left {}

.careers-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.perk-card {
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
  cursor: none;
}

.perk-card:hover { border-color: var(--border2); transform: translateY(-4px); }

.perk-icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.perk-card h4 { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 8px; }
.perk-card p { font-size: 0.82rem; color: var(--white3); line-height: 1.65; }

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
#contact {
  padding: 160px 0;
  background: var(--black2);
  position: relative;
}

.contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-left {}

.contact-form {
  margin-top: 60px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white3);
  margin-bottom: 10px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  cursor: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 0 4px rgba(0,229,255,0.06);
}

.form-field textarea { resize: vertical; min-height: 140px; }
.form-field select option { background: var(--black3); }

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

.btn-submit {
  width: 100%;
  padding: 18px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--black);
  border: none;
  border-radius: 10px;
  cursor: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0,229,255,0.2);
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--cyan);
  text-align: center;
}

/* Contact right */
.contact-right { padding-top: 60px; }

.contact-detail {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-child { border-top: 1px solid var(--border); }

.cd-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white3);
  margin-bottom: 8px;
}

.cd-value {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.map-block {
  margin-top: 32px;
  height: 200px;
  background: var(--black3);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(0,229,255,0.04) 28px, rgba(0,229,255,0.04) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(0,229,255,0.04) 28px, rgba(0,229,255,0.04) 29px);
}

.map-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

.map-ping {
  width: 16px;
  height: 16px;
  background: var(--cyan);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: mapPing 2s ease infinite;
  box-shadow: 0 0 0 0 rgba(0,229,255,0.4);
}

@keyframes mapPing {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,255,0.5); }
  70%  { box-shadow: 0 0 0 20px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

.map-center p { font-size: 0.8rem; color: var(--white3); }
.map-center strong { font-size: 0.88rem; color: var(--white); display: block; margin-bottom: 4px; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-mark {
  font-family: var(--f-display);
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
  margin-bottom: 20px;
}
.footer-brand-mark .ain { color: var(--cyan); }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--white3);
  max-width: 320px;
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white3);
  text-decoration: none;
  transition: all 0.3s;
  cursor: none;
}

.social-icon:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan3); transform: translateY(-3px); }

.footer-col h5 {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col li, .footer-col a {
  font-size: 0.85rem;
  color: var(--white3);
  text-decoration: none;
  transition: color 0.25s;
  cursor: none;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(240,237,232,0.3); }

.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 0.78rem; color: rgba(240,237,232,0.3); text-decoration: none; transition: color 0.25s; cursor: none; }
.footer-legal a:hover { color: var(--white); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1100px) {
  nav { padding: 22px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .nav-center { display: none; }
  .hamburger { display: flex; }

  #home { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 140px 32px 60px; }
  .hero-right { height: 50vh; }

  .about-grid,
  .services-scroll-container { grid-template-columns: 1fr; }
  .about-grid { padding: 0 32px; gap: 60px; }
  .about-right { grid-template-columns: 1fr; }

  .services-scroll-container { padding: 0 32px; grid-template-columns: 1fr 1fr; }
  .section-header { padding: 0 32px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-sub { text-align: left; max-width: 500px; }

  .why-inner { padding: 0 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .projects-inner { padding: 0 32px; }
  .project-row { grid-template-columns: 60px 1fr 140px; }
  .project-location, .project-arrow { display: none; }
  .project-arrow { display: block; }

  .clients-inner { padding: 0 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  #careers { padding: 120px 32px; }
  .careers-inner { grid-template-columns: 1fr; gap: 60px; }

  .contact-inner { padding: 0 32px; grid-template-columns: 1fr; gap: 60px; }

  .footer-inner { padding: 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero h1, .hero-title { font-size: clamp(3rem,10vw,5rem) !important; }
  .services-scroll-container { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr 2fr; gap: 16px; }
  .project-cat { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .careers-right { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
  .btn-primary, .btn-ghost, .service-card, .nav-link, .btn-nav { cursor: pointer; }
  .form-field input, .form-field select, .form-field textarea { cursor: text; }
}
