/* ═══════════════════════════════════════════════════════════
   ASTRA CONTROL — Modern Space Agency Portfolio
   Fonts: Bricolage Grotesque (display) · DM Sans (body) · Fira Code (mono)
   Palette: White · Deep Navy · Mission Blue · Orange
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Fira+Code:wght@300;400&display=swap');

:root {
  --ac-white:   #ffffff;
  --ac-off:     #f0f4fb;
  --ac-navy:    #050e22;
  --ac-navy2:   #0c1c3a;
  --ac-navy3:   #162040;
  --ac-blue:    #185eff;
  --ac-blue2:   #4d84ff;
  --ac-cyan:    #00ccff;
  --ac-orange:  #ff5722;
  --ac-grey:    #7a8499;
  --ac-lt:      #dce3f0;
  --ac-text:    #0a1428;
  --ac-text2:   #4a5878;

  --ac-disp: 'Bricolage Grotesque', sans-serif;
  --ac-body: 'DM Sans', sans-serif;
  --ac-mono: 'Fira Code', monospace;
  --ac-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.theme-astra {
  background: var(--ac-white);
  color: var(--ac-text);
  font-family: var(--ac-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CUSTOM CURSOR ── */
#ac-cursor {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ac-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ac-ease), height 0.2s var(--ac-ease), border-color 0.2s;
  mix-blend-mode: multiply;
}
#ac-cursor::before, #ac-cursor::after {
  content: '';
  position: absolute;
  background: var(--ac-blue);
}
#ac-cursor::before {
  left: 50%; top: 2px; bottom: 2px;
  width: 1px; transform: translateX(-50%);
}
#ac-cursor::after {
  top: 50%; left: 2px; right: 2px;
  height: 1px; transform: translateY(-50%);
}
#ac-cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--ac-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
body.theme-astra a:hover ~ #ac-cursor,
body.theme-astra button:hover ~ #ac-cursor { width: 48px; height: 48px; border-color: var(--ac-orange); }

/* ── PROGRESS BAR ── */
#ac-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--ac-blue);
  z-index: 9000;
  transition: width 0.1s linear;
}

/* ── TELEMETRY STRIP ── */
.ac-telemetry {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: var(--ac-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 8000;
  overflow: hidden;
}
.ac-telemetry-item {
  font-family: var(--ac-mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  text-transform: uppercase;
}
.ac-telemetry-item span {
  color: var(--ac-blue2);
}
.ac-telemetry-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ac-cyan);
  animation: ac-blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ac-blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── FLOATING PILL NAV ── */
.ac-nav-wrap {
  position: fixed;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7000;
  padding: 0 16px;
  width: 100%;
  max-width: 900px;
}
.ac-nav {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(220,230,248,0.9);
  border-radius: 40px;
  padding: 10px 20px;
  box-shadow: 0 2px 24px rgba(5,14,34,0.1), 0 0 0 1px rgba(255,255,255,0.6) inset;
  transition: box-shadow 0.3s var(--ac-ease);
}
.ac-nav.scrolled {
  box-shadow: 0 4px 32px rgba(5,14,34,0.14), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.ac-nav-logo {
  font-family: var(--ac-disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ac-navy);
  text-transform: uppercase;
  margin-right: auto;
  white-space: nowrap;
}
.ac-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 16px;
}
.ac-nav-links a {
  font-family: var(--ac-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ac-text2);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.ac-nav-links a:hover,
.ac-nav-links a.active {
  background: var(--ac-navy);
  color: var(--ac-white);
}
.ac-nav-theme { position: relative; }
.ac-nav-theme button {
  font-family: var(--ac-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ac-navy);
  background: var(--ac-off);
  border: 1px solid var(--ac-lt);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ac-nav-theme button:hover { background: var(--ac-navy); color: var(--ac-white); }
#theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--ac-white);
  border: 1px solid var(--ac-lt);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(5,14,34,0.12);
  display: none;
  z-index: 100;
}
#theme-dropdown.open { display: block; }
#theme-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ac-text);
  transition: background 0.15s;
}
#theme-dropdown a:hover { background: var(--ac-off); }

/* hamburger */
.ac-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}
.ac-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ac-navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ac-ease);
}

/* Mobile nav overlay */
#ac-nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ac-navy);
  z-index: 6900;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
#ac-nav-menu.open { display: flex; }
#ac-nav-menu a {
  font-family: var(--ac-disp);
  font-size: 32px;
  font-weight: 700;
  color: var(--ac-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
#ac-nav-menu a:hover { color: var(--ac-blue2); }
#ac-nav-menu-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: var(--ac-white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
#ac-mobile-theme-trigger {
  font-family: var(--ac-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-transform: uppercase;
}
#ac-mobile-theme-trigger:hover {
  border-color: var(--ac-blue2);
  color: var(--ac-white);
}

/* ── HOME HERO ── */
.ac-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--ac-white);
}
.ac-hero-grid {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 84px;
  align-items: center;
  z-index: 2;
}
.ac-hero-mission {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ac-hero-mission::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--ac-blue);
}
.ac-hero-name {
  font-family: var(--ac-disp);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  color: var(--ac-navy);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.ac-hero-name span { color: var(--ac-blue); }
.ac-hero-role {
  font-family: var(--ac-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ac-text2);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.ac-hero-tagline {
  font-size: 15px;
  font-weight: 300;
  color: var(--ac-text2);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 48px;
}
.ac-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ac-btn {
  font-family: var(--ac-disp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  transition: all 0.25s var(--ac-ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.ac-btn-primary {
  background: var(--ac-navy);
  color: var(--ac-white);
}
.ac-btn-primary:hover {
  background: var(--ac-blue);
  border-color: var(--ac-blue);
}
.ac-btn-outline {
  background: transparent;
  color: var(--ac-navy);
  border-color: var(--ac-lt);
}
.ac-btn-outline:hover {
  border-color: var(--ac-navy);
}

/* Orbit visualization */
.ac-orbit-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-orbit-core {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ac-blue) 0%, var(--ac-navy) 100%);
  box-shadow: 0 0 40px rgba(24,94,255,0.5), 0 0 80px rgba(24,94,255,0.2);
  animation: ac-pulse-core 3s ease-in-out infinite;
  z-index: 3;
}
@keyframes ac-pulse-core {
  0%,100% { box-shadow: 0 0 40px rgba(24,94,255,0.5), 0 0 80px rgba(24,94,255,0.2); }
  50% { box-shadow: 0 0 60px rgba(24,94,255,0.7), 0 0 120px rgba(24,94,255,0.3); }
}
.ac-ring {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  pointer-events: none;
}
.ac-ring-1 {
  width: 140px; height: 140px;
  border-color: rgba(24,94,255,0.3);
  transform: rotate(15deg) rotateX(60deg);
  animation: ac-ring-spin 8s linear infinite;
}
.ac-ring-2 {
  width: 240px; height: 240px;
  border-color: rgba(24,94,255,0.2);
  transform: rotate(-25deg) rotateX(70deg);
  animation: ac-ring-spin 14s linear infinite reverse;
}
.ac-ring-3 {
  width: 360px; height: 360px;
  border-color: rgba(24,94,255,0.12);
  transform: rotate(45deg) rotateX(80deg);
  animation: ac-ring-spin 22s linear infinite;
}
/* Satellite dot on ring 2 */
.ac-ring-2::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ac-cyan);
  box-shadow: 0 0 12px var(--ac-cyan);
  transform: translateX(-50%);
}
.ac-ring-3::after {
  content: '';
  position: absolute;
  top: -5px; left: 30%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ac-orange);
  box-shadow: 0 0 12px var(--ac-orange);
}
@keyframes ac-ring-spin {
  from { transform: rotate(0deg) rotateX(70deg); }
  to   { transform: rotate(360deg) rotateX(70deg); }
}

/* Orbit grid annotation lines */
.ac-orbit-label {
  position: absolute;
  font-family: var(--ac-mono);
  font-size: 9px;
  color: rgba(24,94,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ac-orbit-label.tl { top: 14%; left: 8%; }
.ac-orbit-label.tr { top: 14%; right: 8%; }
.ac-orbit-label.bl { bottom: 14%; left: 8%; }
.ac-orbit-label.br { bottom: 14%; right: 8%; }

/* Background grid */
.ac-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,94,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,94,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.ac-hero-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; right: -100px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(24,94,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── MISSION STATS STRIP ── */
.ac-stats-strip {
  background: var(--ac-navy);
  padding: 56px 56px;
}
.ac-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ac-stat {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.ac-stat:first-child { padding-left: 0; }
.ac-stat:last-child { border-right: none; }
.ac-stat-num {
  font-family: var(--ac-disp);
  font-size: 48px;
  font-weight: 800;
  color: var(--ac-white);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 6px;
}
.ac-stat-num span { font-size: 24px; color: var(--ac-blue2); }
.ac-stat-label {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ac-grey);
  text-transform: uppercase;
}

/* ── SECTIONS ── */
.ac-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 56px;
}
.ac-section-wide {
  padding: 80px 0;
}
.ac-section-navy {
  background: var(--ac-navy);
}
.ac-section-off {
  background: var(--ac-off);
}

.ac-eyebrow {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ac-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ac-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--ac-blue);
}
.ac-section-title {
  font-family: var(--ac-disp);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--ac-navy);
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 64px;
}
.ac-section-title.light { color: var(--ac-white); }

/* ── HOME FEATURED WORK ── */
.ac-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ac-lt);
  border: 1px solid var(--ac-lt);
}
.ac-work-card {
  position: relative;
  background: var(--ac-white);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ac-ease);
}
.ac-work-card:hover { transform: translateY(-4px); }
.ac-work-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s var(--ac-ease);
}
.ac-work-card:hover img { transform: scale(1.04); }
.ac-work-cap {
  padding: 20px 24px;
  border-top: 2px solid var(--ac-blue);
  position: relative;
}
.ac-work-cap-num {
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ac-work-cap-title {
  font-family: var(--ac-disp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ac-navy);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ac-work-cap-sub {
  font-size: 12px;
  color: var(--ac-grey);
  margin-top: 4px;
}

/* ── TESTIMONIALS ── */
.ac-testimonials {
  background: var(--ac-navy);
  padding: 80px 0;
}
.ac-test-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px;
}
.ac-test-item {
  background: rgba(12,28,58,0.6);
  padding: 44px 36px;
  position: relative;
}
.ac-test-quote {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-style: italic;
}
.ac-test-name {
  font-family: var(--ac-disp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ac-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ac-test-org {
  font-family: var(--ac-mono);
  font-size: 10px;
  color: var(--ac-blue2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ac-test-bracket {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--ac-mono);
  font-size: 28px;
  line-height: 1;
  color: rgba(24,94,255,0.2);
  user-select: none;
}

/* ── PRESS ── */
.ac-press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ac-lt);
  margin-top: 48px;
}
.ac-press-item {
  background: var(--ac-white);
  padding: 36px 28px;
  font-family: var(--ac-disp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ac-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80px;
  transition: background 0.2s, color 0.2s;
}
.ac-press-item:hover { background: var(--ac-navy); color: var(--ac-white); }

/* ── PAGE BANNER (inner pages) ── */
.ac-page-banner {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--ac-navy);
  overflow: hidden;
}
.ac-page-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,94,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,94,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ac-page-banner-glow {
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(24,94,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ac-page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.ac-page-label {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ac-blue2);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
}
.ac-page-title {
  font-family: var(--ac-disp);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 800;
  color: var(--ac-white);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.9;
  margin-bottom: 26px;
}
.ac-page-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ── TABS ── */
.ac-tabs-wrap {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--ac-lt);
}
.ac-tabs-wrap button {
  font-family: var(--ac-disp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-grey);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 24px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.ac-tabs-wrap button:hover { color: var(--ac-navy); }
.ac-tabs-wrap button.tab-active {
  color: var(--ac-navy);
  border-bottom-color: var(--ac-blue);
}

/* ── PANELS ── */
[data-panel] { display: none; }
[data-panel].panel-active { display: block; }

/* ── DESIGN: PROJECT PANELS ── */
.ac-proj-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
.ac-proj-panel.flip { direction: rtl; }
.ac-proj-panel.flip > * { direction: ltr; }
.ac-proj-img {
  overflow: hidden;
  background: var(--ac-off);
}
.ac-proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ac-ease);
}
.ac-proj-panel:hover .ac-proj-img img { transform: scale(1.03); }
.ac-proj-info {
  background: var(--ac-white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ac-proj-client {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ac-proj-title {
  font-family: var(--ac-disp);
  font-size: 28px;
  font-weight: 800;
  color: var(--ac-navy);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}
.ac-proj-sub {
  font-size: 13px;
  color: var(--ac-grey);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.ac-proj-role-label {
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ac-proj-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--ac-navy);
  margin-bottom: 16px;
}
.ac-proj-desc { font-size: 14px; color: var(--ac-text2); line-height: 1.7; }

/* ── RENDER GRID ── */
.ac-render-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
.ac-render-item {
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ac-off);
  position: relative;
}
.ac-render-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s var(--ac-ease), filter 0.4s;
}
.ac-render-item:hover img { transform: scale(1.06); filter: brightness(1.05); }

/* ── BRAND GRID ── */
.ac-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
.ac-brand-item {
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ac-white);
}
.ac-brand-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s var(--ac-ease);
}
.ac-brand-item:hover img { transform: scale(1.06); }

.ac-render-head {
  padding: 32px 0 24px;
}
.ac-render-head-label {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ac-render-head-title {
  font-family: var(--ac-disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--ac-navy);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ac-render-head-role { font-size: 13px; color: var(--ac-blue); margin-bottom: 10px; }
.ac-render-head-desc { font-size: 14px; color: var(--ac-text2); max-width: 680px; }

/* ── CREATE: ANIMATION LIST ── */
.ac-anim-list { display: flex; flex-direction: column; gap: 2px; }
.ac-anim-item {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 0;
  background: var(--ac-lt);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ac-anim-item:hover { box-shadow: 0 0 0 2px var(--ac-blue); position: relative; z-index: 1; }
.ac-anim-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ac-navy2);
  overflow: hidden;
}
.ac-anim-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.ac-anim-info {
  background: var(--ac-white);
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ac-anim-num {
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ac-anim-title {
  font-family: var(--ac-disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--ac-navy);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ac-anim-role {
  font-size: 12px;
  color: var(--ac-blue);
  margin-bottom: 12px;
  font-weight: 500;
}
.ac-anim-desc { font-size: 13px; color: var(--ac-text2); line-height: 1.6; }

/* Client color coding */
.ac-anim-item.client-nasa .ac-anim-num { color: #e03030; }
.ac-anim-item.client-nasa .ac-anim-role { color: #e03030; }
.ac-anim-item.client-ps  .ac-anim-num { color: #1a7aff; }
.ac-anim-item.client-ps  .ac-anim-role { color: #1a7aff; }
.ac-anim-item.client-base .ac-anim-num { color: #ff8c00; }
.ac-anim-item.client-base .ac-anim-role { color: #ff8c00; }
.ac-anim-item.client-io  .ac-anim-num { color: #00c4aa; }
.ac-anim-item.client-io  .ac-anim-role { color: #00c4aa; }
.ac-anim-item.client-legacy .ac-anim-num { color: var(--ac-grey); }
.ac-anim-item.client-legacy .ac-anim-role { color: var(--ac-grey); }

/* ── BEFORE/AFTER SLIDER ── */
.ac-ba-wrap {
  margin-bottom: 2px;
  position: relative;
}
.ba-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: var(--ac-off);
}
.ba-after, .ba-before {
  display: block;
  width: 100%;
}
.ba-after { position: relative; }
.ba-after img, .ba-before img {
  width: 100%;
  display: block;
}
.ba-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.ba-before img { min-width: 100%; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--ac-blue);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ac-blue);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 12px rgba(24,94,255,0.5);
}
.ba-handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%; left: 50%;
  font-size: 9px;
  color: white;
  letter-spacing: 2px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

/* ba labels */
.ba-label {
  position: absolute;
  bottom: 8px;
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
  border: 1px solid rgba(0, 204, 255, 0.25);
}
.ba-lbl-after  { right: 8px; }
.ba-lbl-before { left: 8px; }

/* Site plan slider grid */
.ac-slider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

/* ── CAPTURE: PHOTO GRID ── */
.ac-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: var(--ac-lt);
}
.ac-photo-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ac-navy2);
}
.ac-photo-item img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.4s var(--ac-ease);
}
.ac-photo-item:hover img { transform: scale(1.06); }
.ac-photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(5,14,34,0.7));
  transform: translateY(100%);
  transition: transform 0.3s var(--ac-ease);
}
.ac-photo-item:hover .ac-photo-cap { transform: translateY(0); }
.ac-photo-title {
  font-family: var(--ac-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ac-white);
  text-transform: uppercase;
}
.ac-capture-intro {
  font-size: 15px;
  color: var(--ac-text2);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── VIDEO LIST ── */
.ac-video-list { display: flex; flex-direction: column; gap: 2px; }
.ac-video-item {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 0;
  background: var(--ac-lt);
  overflow: hidden;
}
.ac-video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ac-navy2);
}
.ac-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.ac-video-info {
  background: var(--ac-white);
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ac-video-num {
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ac-cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ac-video-title {
  font-family: var(--ac-disp);
  font-size: 20px;
  font-weight: 700;
  color: var(--ac-navy);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ac-video-role { font-size: 12px; color: var(--ac-cyan); margin-bottom: 12px; font-weight: 500; }
.ac-video-desc { font-size: 13px; color: var(--ac-text2); line-height: 1.6; }

/* ── ABOUT ── */
.ac-about-hero {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 88px;
}
.ac-about-photo-wrap {
  position: relative;
}
.ac-about-photo {
  width: 100%;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0,204,255,0.3);
}
.ac-about-photo-frame {
  display: none;
}
.ac-about-bio-label {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ac-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ac-about-bio-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--ac-blue);
}
.ac-about-name {
  font-family: var(--ac-disp);
  font-size: 48px;
  font-weight: 800;
  color: var(--ac-navy);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.ac-about-role {
  font-size: 14px;
  color: var(--ac-grey);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.ac-about-bio {
  font-size: 15px;
  color: var(--ac-text2);
  line-height: 1.8;
  max-width: 560px;
}

/* ── SKILLS ── */
.ac-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 80px;
}
.ac-skill-item {
  background: var(--ac-white);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ac-skill-name {
  font-family: var(--ac-disp);
  font-size: 13px;
  font-weight: 600;
  color: var(--ac-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ac-skill-pips {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.ac-skill-pips .pip {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ac-lt);
  transition: background 0.2s;
}
.ac-skill-pips .pip.filled {
  background: var(--ac-blue);
  border-color: var(--ac-blue);
}

/* ── EDUCATION ── */
.ac-edu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 80px;
}
.ac-edu-item {
  background: var(--ac-white);
  border-left: 3px solid var(--ac-blue);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.ac-edu-school {
  font-family: var(--ac-disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ac-navy);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.ac-edu-degree { font-size: 13px; color: var(--ac-text2); }

/* ── CLIENTS ── */
.ac-client-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px;
  background: var(--ac-lt);
}
.ac-client-item {
  background: var(--ac-white);
  padding: 20px 24px;
  font-family: var(--ac-disp);
  font-size: 12px;
  font-weight: 600;
  color: var(--ac-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
}
.ac-client-item:hover { background: var(--ac-navy); color: var(--ac-white); }
.ac-client-name {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.ac-client-desc {
  display: block;
  font-size: 10px;
  opacity: 0.55;
  margin-top: 4px;
  font-family: var(--ac-mono);
  letter-spacing: 0.04em;
}

/* ── FOOTER ── */
.ac-footer {
  background: var(--ac-navy);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.ac-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.ac-footer-name {
  font-family: var(--ac-disp);
  font-size: 18px;
  font-weight: 800;
  color: var(--ac-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ac-footer-loc {
  font-family: var(--ac-mono);
  font-size: 10px;
  color: var(--ac-grey);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ac-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
.ac-footer-links {
  display: flex;
  gap: 20px;
}
.ac-footer-links a {
  font-family: var(--ac-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: color 0.2s;
}
.ac-footer-links a:hover { color: var(--ac-blue2); }
.ac-footer-line {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ac-blue), transparent);
}

/* ── ARCHVIZ BENTO LAYOUT ── */
.ac-archviz-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 2px;
}
.ac-archviz-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ac-ease);
}
.ac-archviz-hero:hover img { transform: scale(1.03); }
.ac-archviz-hero-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(transparent, rgba(5,14,34,0.75));
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  pointer-events: none;
}

.ac-archviz-ribbon {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ac-navy);
  margin-bottom: 2px;
}
.ac-archviz-ribbon-cell {
  flex: 1;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ac-archviz-ribbon-cell:last-child { border-right: none; }
.ac-archviz-ribbon-num {
  font-family: var(--ac-disp);
  font-size: 24px;
  font-weight: 800;
  color: var(--ac-white);
  line-height: 1;
  margin-bottom: 4px;
}
.ac-archviz-ribbon-label {
  font-family: var(--ac-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ac-grey);
  text-transform: uppercase;
}

/* Trio row */
.ac-archviz-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
/* Wide feature */
.ac-archviz-wide {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 2px;
}
.ac-archviz-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ac-ease);
}
.ac-archviz-wide:hover img { transform: scale(1.02); }
/* Asymmetric split: 1 big + 3 small */
.ac-archviz-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
.ac-archviz-split .ac-archviz-big {
  grid-row: 1 / 3;
}
/* 4-column strip */
.ac-archviz-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ac-lt);
  margin-bottom: 2px;
}
/* Last pair */
.ac-archviz-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ac-lt);
}

/* Shared image cell */
.ac-archviz-cell {
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ac-off);
}
.ac-archviz-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 180px;
  transition: transform 0.4s var(--ac-ease);
}
.ac-archviz-cell:hover img { transform: scale(1.06); }
.ac-archviz-trio .ac-archviz-cell img { min-height: 220px; }
.ac-archviz-quad .ac-archviz-cell img { min-height: 160px; }

/* ── LIGHTBOX ── */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,14,34,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
#lb-overlay.lb-open { display: flex; }
#lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(24,94,255,0.3);
  box-shadow: 0 0 80px rgba(24,94,255,0.2);
}
#lb-caption {
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-top: 16px;
}
#lb-close {
  position: absolute;
  top: -40px; right: 0;
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
#lb-close:hover { color: var(--ac-blue2); }

/* ── REVEAL ANIMATIONS ── */
.ac-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ac-ease), transform 0.7s var(--ac-ease);
}
.ac-reveal.revealed {
  opacity: 1;
  transform: none;
}
.ac-delay-1 { transition-delay: 0.1s; }
.ac-delay-2 { transition-delay: 0.2s; }
.ac-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ac-nav-links { display: none; }
  .ac-hamburger { display: flex; }
  .ac-hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }
  .ac-hero-btns { justify-content: center; }
  .ac-orbit-wrap { display: none; }
  .ac-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ac-stat { padding: 20px; }
  .ac-work-grid { grid-template-columns: 1fr; }
  .ac-test-list { grid-template-columns: 1fr; }
  .ac-press-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-proj-panel,
  .ac-proj-panel.flip { grid-template-columns: 1fr; direction: ltr; }
  .ac-anim-item { grid-template-columns: 1fr; }
  .ac-video-item { grid-template-columns: 1fr; }
  .ac-about-hero { grid-template-columns: 1fr; }
  .ac-about-photo { max-width: 156px; }
  .ac-slider-grid { grid-template-columns: 1fr; }
  .ac-edu-item { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ac-nav-wrap { padding: 0 12px; }
  .ac-section { padding: 48px 24px; }
  .ac-page-banner-inner { padding: 0 24px; }
  .ac-stats-inner { grid-template-columns: 1fr 1fr; }
  .ac-footer { padding: 40px 24px; }
  .ac-footer-inner { flex-direction: column; align-items: flex-start; }
  .ac-telemetry-item:nth-child(n+3) { display: none; }
  .ac-press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ac-section { padding: 36px 16px; }
  .ac-page-banner-inner { padding: 0 16px; }
  .ac-page-title { font-size: clamp(40px, 12vw, 64px); }
  .ac-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-stats-inner { grid-template-columns: 1fr 1fr; }
  .ac-footer { padding: 32px 16px; }
  .ac-nav-wrap { padding: 0 8px; }
  .ac-slider-grid { grid-template-columns: 1fr; }
  .ac-hero { padding-top: 80px; min-height: 0; }
  .ac-hero-grid { padding: 24px 16px 40px; }
  .ac-hero-name { font-size: clamp(36px, 10vw, 52px); }
  .ac-hero-role { font-size: 13px; letter-spacing: 0.02em; }
  .ac-hero-tagline { font-size: 13px; margin-bottom: 28px; }
  .ac-btn { padding: 12px 20px; font-size: 11px; }
  .ac-nav-theme button { padding: 5px 10px; font-size: 10px; }
  .ac-telemetry { display: none; }
  .ac-nav-wrap { top: 8px; }
}
@media (max-width: 360px) {
  .ac-section { padding: 28px 12px; }
  .ac-page-title { font-size: clamp(32px, 10vw, 52px); }
  .ac-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-stats-inner { grid-template-columns: 1fr; }
  .ac-hero-grid { padding: 28px 12px; }
}
