/**
 * Copyright (c) 2021-2026 Dona Codex.
 * All Rights Reserved.
 * https://dobby.donacodex.com
 * 
 * DONA CODEX // ARCHITECTURAL & NEURAL HUD STYLING ENGINE
 */

/* ==========================================================================
   AUTHENTIC ACTIVE THEORY REFINED CSS (POINTER ACCURACY & ZERO MISCLICK)
   ========================================================================== */

:root {
  --bg-black: #14121a;
  --bg-surface: #1e1a26;
  --bg-card: rgba(34, 28, 42, 0.9);
  --text-white: #ffffff;
  --text-bright: #faf7f2;
  --text-cream: #f5eedc;
  --text-champagne: #eedcb2;
  --text-grey: #c4bcb2;
  --text-muted: #9c9388;
  --text-purple: #d4af37;
  --accent-cyan: #f5eedc;
  --accent-lime: #eedcb2;
  --accent-emerald: #f5eedc;
  --accent-mint: #eedcb2;
  --accent-cream: #f5eedc;
  --accent-champagne: #eedcb2;
  --accent-gold: #d4af37;
  --accent-glow: rgba(245, 238, 220, 0.45);
  --border-subtle: rgba(245, 238, 220, 0.18);
  --border-bright: rgba(245, 238, 220, 0.4);
  --border-emerald: rgba(245, 238, 220, 0.35);
  --border-cream: rgba(245, 238, 220, 0.35);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-at: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: 
    radial-gradient(circle at 50% 10%, rgba(245, 238, 220, 0.42) 0%, rgba(238, 220, 178, 0.25) 30%, rgba(38, 30, 48, 0.98) 75%),
    radial-gradient(circle at 10% 88%, rgba(245, 238, 220, 0.28) 0%, rgba(238, 220, 178, 0.14) 40%, transparent 65%),
    radial-gradient(circle at 90% 80%, rgba(238, 220, 178, 0.26) 0%, rgba(245, 238, 220, 0.12) 35%, transparent 60%),
    linear-gradient(180deg, #241c2e 0%, #2d243a 50%, #1a1424 100%);
  background-attachment: fixed;
  color: var(--text-bright);
  font-family: var(--font-at);
  -webkit-font-smoothing: antialiased;
}

/* ── FILM GRAIN OVERLAY ─────────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── WATER & PARTICLE INTERACTIVE BACKGROUND CANVAS ─────────────────────── */
#canvas-3d {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ── FULLSCREEN GLASS SHATTER & QUANTUM REASSEMBLY INTRO ────────────────── */
#canvas-shatter-transition {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

#canvas-shatter-transition.active {
  opacity: 1;
}

/* ── TOP-LEFT LOGO ─────────────────────────────────────────────────────── */
.at-logo-top {
  position: fixed;
  top: 24px;
  left: 36px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.at-logo-avatar-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(245, 238, 220, 0.4);
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
  background: #0f0f13;
}

.at-logo-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.at-logo-top:hover .at-logo-avatar-wrap {
  transform: scale(1.1);
  border-color: var(--accent-cream);
  box-shadow: 0 0 20px var(--accent-glow);
}

.at-logo-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--text-bright);
  font-weight: 700;
  text-transform: uppercase;
}

/* ── TOP-RIGHT HUD: ONLY PILL [ ANA SAYFA ── PROJELER ── İLETİŞİM ] ────── */
.at-hud-top {
  position: fixed;
  top: 24px;
  right: 36px;
  z-index: 1000;
}

.at-nav-pill {
  display: flex;
  align-items: center;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  padding: 8px 24px;
  gap: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.95), 0 0 20px rgba(245, 238, 220, 0.1);
}

.at-nav-item {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-grey);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.25s, text-shadow 0.25s;
}

.at-nav-item:hover,
.at-nav-item.active {
  color: var(--text-cream);
  text-shadow: 0 0 16px rgba(245, 238, 220, 0.7);
}

.at-nav-item.active {
  color: var(--accent-champagne);
}

.at-nav-divider {
  width: 16px;
  height: 1px;
  background: var(--border-subtle);
}

/* ── BOTTOM HUD BAR ─────────────────────────────────────────────────────── */
.at-bottom-hud {
  position: fixed;
  bottom: 22px;
  left: 36px;
  right: 36px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.at-hud-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.at-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  color: var(--text-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s, color 0.25s;
}

.at-circle-btn:hover {
  border-color: var(--border-cream);
  background: rgba(245, 238, 220, 0.15);
  color: var(--accent-cream);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

.at-lang-switch-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cream);
}

.at-hud-bottom-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

.at-hud-system-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

.at-hud-bottom-right {
  pointer-events: auto;
}

.at-store-pill-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #070709;
  background: linear-gradient(135deg, #f5eedc 0%, #eedcb2 100%);
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245, 238, 220, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.at-store-pill-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(245, 238, 220, 0.6);
}

/* ── VIEWPORT CONTAINER ─────────────────────────────────────────────────── */
.at-view-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  overflow: hidden;
}

.at-view-page {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.at-view-page.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════════════
   VIEW 1: HOME
   ═════════════════════════════════════════════════════════════════════ */
.at-home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 8vw;
  background: transparent;
}

.at-hero-symbol-3d {
  width: 220px;
  height: 220px;
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.at-ring-outer {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(245, 238, 220, 0.45);
  box-shadow: 0 0 30px rgba(245, 238, 220, 0.2);
  border-radius: 50%;
  animation: spinRing 22s linear infinite;
}

.at-ring-inner {
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(238, 220, 178, 0.7);
  box-shadow: inset 0 0 20px rgba(245, 238, 220, 0.25);
  border-radius: 50%;
  animation: spinRingRev 16s linear infinite;
}

.at-ring-core-avatar-wrap {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 2.5px solid var(--accent-cream);
  box-shadow: 0 0 50px rgba(245, 238, 220, 0.5), 0 0 100px rgba(0, 0, 0, 0.95);
  transition: transform 0.4s ease;
  background: #0f0f13;
}

.at-ring-core-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinRingRev {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* ── DONA CODEX INSTITUTIONAL BRAND BADGE ────────────────────────────── */
.at-hero-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 238, 220, 0.04);
  border: 1px solid rgba(245, 238, 220, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(245, 238, 220, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.at-hero-company-badge:hover {
  background: rgba(245, 238, 220, 0.1);
  border-color: rgba(245, 238, 220, 0.5);
  box-shadow: 0 0 24px rgba(245, 238, 220, 0.25), inset 0 0 16px rgba(245, 238, 220, 0.08);
  transform: translateY(-2px);
}

.at-company-badge-pulse,
.at-nav-company-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.at-company-badge-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-cream);
}

.at-company-badge-sep {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--border-cream);
  opacity: 0.7;
}

.at-company-badge-txt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-champagne);
}

.at-nav-company-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: rgba(245, 238, 220, 0.05);
  border: 1px solid rgba(245, 238, 220, 0.2);
  border-radius: 999px;
  color: var(--accent-champagne) !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.14em !important;
  transition: all 0.25s ease;
}

.at-nav-company-link:hover {
  background: rgba(245, 238, 220, 0.15);
  border-color: var(--accent-champagne);
  box-shadow: 0 0 16px rgba(245, 238, 220, 0.3);
}

.mobile-nav-company {
  color: var(--accent-champagne) !important;
  font-family: var(--font-mono) !important;
  border-left: 2px solid var(--accent-champagne);
  padding-left: 12px;
}

.at-hero-role-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent-champagne);
  background: rgba(245, 238, 220, 0.08);
  border: 1px solid var(--border-cream);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.at-hero-bio {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: var(--text-grey);
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

/* ── HERO ASSEMBLY REVEAL ────────────────────────────────────────────────── */
@keyframes assembleHeroAvatar {
  0% {
    transform: translateY(30px) scale(0.92);
    filter: blur(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes assembleHeroBio {
  0% {
    transform: translateY(20px);
    filter: blur(8px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes assembleHeroBtn {
  0% {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.at-hero-symbol-3d.quantum-intro-anim {
  animation: assembleHeroAvatar 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.at-hero-bio.quantum-intro-anim {
  animation: assembleHeroBio 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.at-hero-explore-btn.quantum-intro-anim {
  animation: assembleHeroBtn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.at-hero-explore-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #070709;
  background: linear-gradient(135deg, #f5eedc 0%, #eedcb2 100%);
  padding: 14px 34px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 25px rgba(245, 238, 220, 0.35);
}

.at-hero-explore-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5eedc 100%);
  color: #070709;
  box-shadow: 0 0 35px rgba(245, 238, 220, 0.6);
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════════════════
   VIEW 2: WORK — ISOLATED MENU + CRYSTAL CLEAR 3D PROJECT CARDS
   ═════════════════════════════════════════════════════════════════════ */
.at-work-page {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 3vw 0 5vw;
  position: relative;
  background: transparent;
}

.at-work-left-sidebar {
  width: 270px;
  flex-shrink: 0;
  z-index: 50;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--border-cream);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 238, 220, 0.05);
}

.at-sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

.at-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.at-category-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-grey);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.25s ease;
}

.at-category-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.at-category-btn.active {
  color: #ffffff;
  background: rgba(245, 238, 220, 0.1);
  border-color: var(--border-cream);
  box-shadow: 0 0 15px rgba(245, 238, 220, 0.1);
}

.at-category-btn.active .cat-dot {
  background: var(--accent-cream);
  box-shadow: 0 0 10px var(--accent-cream);
}

.at-carousel-stage {
  flex: 1;
  height: 80vh;
  position: relative;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5vw;
  cursor: grab;
}

.at-carousel-stage:active {
  cursor: grabbing;
}

/* ── 3D SYNAPTIC LATTICE CORE ANCHOR ───────────────────────────────────── */
.at-synaptic-lattice-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 1;
}



.at-carousel-rotator {
  position: relative;
  width: 310px;
  height: 230px;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.17, 0.4, 0.02, 0.99);
  z-index: 10;
  pointer-events: none;
}

.at-card-panel {
  position: absolute;
  inset: 0;
  cursor: pointer;
  pointer-events: auto;
  transform-style: preserve-3d;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
  -webkit-font-smoothing: subpixel-antialiased;
  transform: translateZ(0);
}

/* Focused Card (Directly Front Facing): 100% Ultra-Crisp, High Contrast, Zero Blur */
.at-card-panel.card-focused {
  filter: none !important;
  opacity: 1 !important;
  z-index: 30;
}

/* Secondary / Surrounding Cards: Sharp Dimmed Depth (NO Blur, 100% Sharp & Detailed!) */
.at-card-panel.card-blurred {
  filter: brightness(0.85) contrast(1.05) !important;
  opacity: 0.85 !important;
  z-index: 10;
}

/* Distant Background Cards */
.at-card-panel.card-deep-blurred {
  filter: brightness(0.48) contrast(1.05) !important;
  opacity: 0.45 !important;
  z-index: 1;
}

/* 3D Volumetric Solid Monolith Slab */
.at-card-3d-box {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

/* Completely steady on hover: only subtle border glow, absolutely ZERO tilt/scale/jump */
.at-card-panel:hover .at-card-3d-box {
  transform: none;
}

/* 3D Extrusion Side Panels (Seamless Closed Solid Cube) */
.at-card-side {
  position: absolute;
  background: #080a10;
  border: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95);
  backface-visibility: hidden;
  pointer-events: none;
}

.at-card-side.top {
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  transform-origin: top center;
  transform: rotateX(-90deg) translateZ(10px);
  background: linear-gradient(180deg, rgba(245, 238, 220, 0.35) 0%, #080a10 100%);
}

.at-card-side.bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  transform-origin: bottom center;
  transform: rotateX(90deg) translateZ(10px);
  background: linear-gradient(0deg, rgba(245, 238, 220, 0.25) 0%, #080a10 100%);
}

.at-card-side.left {
  top: 0;
  left: 0;
  width: 20px;
  height: 100%;
  transform-origin: center left;
  transform: rotateY(-90deg) translateZ(10px);
  background: linear-gradient(90deg, rgba(245, 238, 220, 0.3) 0%, #080a10 100%);
}

.at-card-side.right {
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  transform-origin: center right;
  transform: rotateY(90deg) translateZ(10px);
  background: linear-gradient(270deg, rgba(245, 238, 220, 0.3) 0%, #080a10 100%);
}

/* ═══════════════════════════════════════════════════════════════════════
   CATEGORY COLOR SYSTEM (CSS Custom Properties per card)
   ai=emerald | quant=amber | 3d=blue | swarm=purple
   ═══════════════════════════════════════════════════════════════════════ */

/* Category variable assignment via data-cat attribute */
.at-card-face-front[data-cat="ai"] {
  --cat-color: #10b981;
  --cat-color-dim: rgba(16, 185, 129, 0.18);
  --cat-glow: rgba(16, 185, 129, 0.45);
}
.at-card-face-front[data-cat="quant"] {
  --cat-color: #f59e0b;
  --cat-color-dim: rgba(245, 158, 11, 0.18);
  --cat-glow: rgba(245, 158, 11, 0.45);
}
.at-card-face-front[data-cat="3d"] {
  --cat-color: #3b82f6;
  --cat-color-dim: rgba(59, 130, 246, 0.18);
  --cat-glow: rgba(59, 130, 246, 0.45);
}
.at-card-face-front[data-cat="swarm"] {
  --cat-color: #a855f7;
  --cat-color-dim: rgba(168, 85, 247, 0.18);
  --cat-glow: rgba(168, 85, 247, 0.45);
}

/* 3D Front Face Plate — Angled Cut Design */
.at-card-face-front {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #13141a 0%, #0e0f14 60%, #0a0b10 100%);
  border: 1px solid rgba(245, 238, 220, 0.12);
  /* Angled cut — bottom-right corner clipped diagonally */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(245, 238, 220, 0.06);
  display: flex;
  flex-direction: column;
  transform: translateZ(10px);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

/* Category Left Accent Stripe */
.at-card-cat-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--cat-color, #10b981);
  box-shadow: 0 0 14px var(--cat-glow, rgba(16, 185, 129, 0.5));
  z-index: 10;
  pointer-events: none;
  transition: box-shadow 0.3s ease;
}

/* Diagonal Corner Cut Notch (visual indicator) */
.at-card-corner-cut {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--cat-color, #10b981);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Hover: category-colored glow + accent brightening */
.at-card-panel:hover .at-card-face-front {
  border-color: var(--cat-color, #10b981);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.98),
    0 0 0 1px var(--cat-color-dim, rgba(16, 185, 129, 0.18)),
    0 0 30px var(--cat-glow, rgba(16, 185, 129, 0.35));
}

.at-card-panel:hover .at-card-cat-stripe {
  box-shadow: 0 0 24px var(--cat-glow, rgba(16, 185, 129, 0.7)), 0 0 8px var(--cat-color, #10b981);
}

.at-card-panel:hover .at-card-corner-cut {
  opacity: 1;
  filter: brightness(1.3) drop-shadow(0 0 6px var(--cat-color, #10b981));
}

/* Bottom Accent Line in card info section */
.at-card-accent-line {
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cat-color, #10b981) 0%, transparent 100%);
  opacity: 0.5;
  transition: opacity 0.3s ease, width 0.3s ease;
  pointer-events: none;
}

.at-card-panel:hover .at-card-accent-line {
  opacity: 1;
}



/* 3D Back Chassis Plate (Back Surface of the 3D Slab) */
.at-card-face-back {
  position: absolute;
  inset: 0;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transform: rotateY(180deg) translateZ(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  pointer-events: none;
}

.at-card-back-grid {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(245, 238, 220, 0.2);
  border-radius: 10px;
  background-image: radial-gradient(rgba(245, 238, 220, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}

.at-card-back-logo {
  font-family: var(--font-at);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: rgba(0, 255, 255, 0.4);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* 3D Corner HUD Brackets */
.at-card-corner-bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 10;
  pointer-events: none;
  border-color: var(--accent-cyan);
  border-style: solid;
  opacity: 0.6;
  transform: translateZ(24px);
  transition: opacity 0.3s, transform 0.3s;
}

.at-card-panel:hover .at-card-corner-bracket {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.at-card-corner-bracket.tl {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}

.at-card-corner-bracket.tr {
  top: -2px;
  right: -2px;
  border-width: 2px 2px 0 0;
}

.at-card-corner-bracket.bl {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 2px 2px;
}

.at-card-corner-bracket.br {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

/* 3D Glass Specular Reflection Highlight */
.at-card-glass-specular {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 25%,
      transparent 50%);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.at-card-panel:hover .at-card-glass-specular {
  opacity: 0.8;
}

.at-card-img-wrap {
  width: 100%;
  height: 65%;
  overflow: hidden;
  position: relative;
  background: #000;
  pointer-events: none;
  transform-style: preserve-3d;
}

.at-card-hologram-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.at-card-panel:hover .at-card-hologram-canvas {
  opacity: 1;
}

.at-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(1.05) contrast(1.18);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.at-card-hud-header {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.at-card-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  background: rgba(8, 9, 11, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-bright);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  -webkit-font-smoothing: antialiased;
}

.at-card-live-node {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(8, 9, 11, 0.9);
  border: 1px solid var(--border-emerald);
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  -webkit-font-smoothing: antialiased;
}

.at-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: nodeBlink 1.6s ease-in-out infinite;
}

@keyframes nodeBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.at-card-info {
  padding: 1rem 1.2rem;
  flex: 1;
  background: #0f1117;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}

.at-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.at-card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-font-smoothing: antialiased;
}

.at-card-arrow-icon {
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.at-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.at-card-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  flex: 1;
  -webkit-font-smoothing: antialiased;
}

.at-card-chip {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════════════
   VIEW 3: DETAIL VIEW (CLEAN EDITORIAL & 3D GALLERY DECK)
   ═════════════════════════════════════════════════════════════════════ */
.at-detail-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 5vw 0 6vw;
  background: rgba(8, 9, 11, 0.98);
  backdrop-filter: blur(40px);
  overflow: hidden;
}

.at-detail-inner {
  display: flex;
  width: 100%;
  max-width: 1380px;
  height: 82vh;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.at-detail-left {
  width: 480px;
  max-width: 42vw;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  z-index: 100;
  padding-right: 3vw;
}

.at-detail-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent-emerald);
  text-transform: uppercase;
  font-weight: 600;
}

.at-detail-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.02em;
}

.at-detail-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.2rem 0;
}

.at-tech-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-emerald);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.at-detail-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-grey);
  word-break: break-word;
  font-weight: 400;
}

.at-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.6rem;
}

.at-live-pill-btn {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #08090b;
  background: var(--accent-emerald);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.at-live-pill-btn:hover {
  transform: scale(1.04);
  background: var(--accent-mint);
  box-shadow: 0 0 25px var(--accent-glow);
}

.at-repo-pill-btn {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-bright);
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s;
}

.at-repo-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: scale(1.04);
}

.at-detail-close-hint {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-grey);
  margin-top: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.at-detail-close-hint:hover {
  color: #fff;
}

.at-mini-gallery-stage {
  flex: 1;
  height: 82vh;
  position: relative;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2vw;
}

.at-mini-gallery-rotator {
  position: relative;
  width: 440px;
  height: 275px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.17, 0.4, 0.02, 0.99);
}

.at-mini-card {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  background: #000;
}

.at-mini-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.8);
}

.at-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.98) contrast(1.08);
  image-rendering: -webkit-optimize-contrast;
}

/* ═══════════════════════════════════════════════════════════════════════
   VIEW 4: ACTIVE THEORY 1:1 AUTHENTIC CONTACT INTERFACE
   ═════════════════════════════════════════════════════════════════════ */
.at-contact-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 85px 8vw 60px 8vw;
  background: transparent;
}

.at-contact-layout {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
  align-items: center;
}

.at-contact-left {
  display: flex;
  flex-direction: column;
}

.at-contact-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.at-contact-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.at-contact-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}

.at-contact-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-grey);
  max-width: 480px;
  margin-bottom: 1.8rem;
}

.at-minimal-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 440px;
}

.at-underline-input {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px; /* Prevents iOS auto-zoom */
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.at-underline-input::placeholder {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.at-underline-input:focus {
  border-color: var(--accent-emerald);
}

.at-contact-submit-pill {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #08090b;
  background: var(--text-bright);
  padding: 13px 30px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 0.6rem;
  align-self: flex-start;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.at-contact-submit-pill:hover {
  background: var(--accent-emerald);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: scale(1.04);
}

.at-contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
  padding-left: 3.5vw;
}

.at-network-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.at-network-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.at-network-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-champagne);
  box-shadow: 0 0 8px var(--accent-champagne);
}

.at-network-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-champagne);
  background: rgba(245, 238, 220, 0.08);
  border: 1px solid var(--border-cream);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Category Filter Bar for Contact Nodes */
.at-node-filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 0.85rem;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.at-node-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-grey);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}

.at-node-filter-pill:hover,
.at-node-filter-pill.active {
  color: var(--text-cream);
  border-color: var(--border-cream);
  background: rgba(245, 238, 220, 0.12);
  box-shadow: 0 0 12px rgba(245, 238, 220, 0.1);
}

.at-network-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.at-network-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(24, 21, 30, 0.7);
  border: 1px solid var(--border-cream);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-cream);
  transition: all 0.25s ease;
}

.at-network-tile:hover {
  background: rgba(245, 238, 220, 0.1);
  border-color: var(--accent-champagne);
  box-shadow: 0 0 15px rgba(245, 238, 220, 0.15);
  transform: translateX(4px);
}

.at-node-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.at-node-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-bright);
}

.at-node-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.at-node-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.at-node-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.at-network-arrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

.at-network-tile:hover .at-network-arrow {
  color: var(--accent-emerald);
  transform: translateX(2px);
}

.at-node-filter-bar::-webkit-scrollbar {
  display: none;
}

.at-node-filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #a8a8a8;
  font-family: var(--font-at);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.at-node-filter-pill:hover {
  color: #fff;
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.06);
}

.at-node-filter-pill.active {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 255, 136, 0.12) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
}

/* Node list grid container */
.at-network-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 54vh;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 255, 0.2) transparent;
}

.at-network-grid::-webkit-scrollbar {
  width: 4px;
}

.at-network-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.25);
  border-radius: 4px;
}

.at-network-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0.85rem;
  background: rgba(18, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-decoration: none;
  color: #d8d8d8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transition: all 0.22s ease;
  min-height: 42px;
}

.at-network-tile:hover {
  color: #fff;
  background: rgba(26, 30, 42, 0.85);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.15);
}

.at-node-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.at-node-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.at-node-title {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.at-node-sub {
  font-size: 0.58rem;
  color: #7b8599;
  letter-spacing: 0.06em;
  font-family: var(--font-at);
}

.at-node-badge {
  font-family: var(--font-at);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.at-node-badge.live {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--accent-lime);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.2);
}

.at-node-badge.pdf {
  background: rgba(0, 255, 255, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.4);
  color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.at-node-badge.store {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: #FFB800;
}

.at-node-badge.repo {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.at-node-badge.social {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.at-live-node-tile {
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.05) 0%, rgba(18, 20, 28, 0.6) 100%);
  border-color: rgba(0, 255, 136, 0.2);
}

.at-live-node-tile:hover {
  border-color: var(--accent-lime);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.25);
}

.at-network-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
  transition: transform 0.25s;
  font-size: 0.68rem;
  margin-left: 8px;
  flex-shrink: 0;
}

.at-network-tile:hover .at-network-arrow {
  transform: translateX(3px);
}

.at-cv-download-tile {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 255, 136, 0.04) 100%);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.12);
}

.at-cv-download-tile:hover {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.16) 0%, rgba(0, 255, 136, 0.08) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
}

/* ── LIGHTBOX MODAL ─────────────────────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-header {
  padding: 1.8rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-title {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lightbox-counter {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #fff;
  color: #000;
}

.lightbox-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.lightbox-active-img {
  max-width: 85%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95);
  image-rendering: -webkit-optimize-contrast;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.75);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.lightbox-nav-btn.lb-prev {
  left: 3rem;
}

.lightbox-nav-btn.lb-next {
  right: 3rem;
}

.lightbox-nav-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-thumbs {
  display: flex;
  gap: 0.8rem;
  padding: 1.5rem 0 0.5rem 0;
  max-width: 950px;
  overflow-x: auto;
}

.thumb-img {
  width: 80px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}

.thumb-img.active,
.thumb-img:hover {
  opacity: 1;
  border-color: var(--accent-cyan);
}

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — Mobile-First Breakpoints
   ════════════════════════════════════════════════════════════════════════ */

/* ── HAMBURGER MENU BUTTON (mobile only) ────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2000;
  width: 44px;
  height: 44px;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  padding: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.open {
  border-color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.1);
}

.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open .burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-menu-btn.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV OVERLAY ────────────────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-nav-close:hover {
  background: #fff;
  color: #000;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-link {
  font-family: var(--font-at);
  font-size: 2rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.25s, text-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
  transform: scale(1.05);
}

.mobile-nav-footer {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ── MOBILE PILL FILTER BAR (Work Page) ─────────────────────────────────── */
.at-mobile-filter-bar {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 1rem;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.at-mobile-filter-bar::-webkit-scrollbar {
  display: none;
}

.at-mobile-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-grey);
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.25s ease;
  flex-shrink: 0;
  min-height: 38px;
}

.at-mobile-filter-pill:hover,
.at-mobile-filter-pill.active {
  color: #fff;
  border-color: var(--border-emerald);
  background: rgba(16, 185, 129, 0.12);
}

.at-mobile-view-toggle-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-emerald);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.at-mobile-view-toggle-pill:hover,
.at-mobile-view-toggle-pill:active {
  color: #08090b;
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

/* ── 2D MOBILE PROJECT CARDS GRID ────────────────────────────────────────── */
.at-projects-grid-mobile {
  display: none;
  width: 100%;
  max-width: 600px;
  padding: 10px 16px 120px 16px;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.at-project-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.at-project-grid-card:active {
  transform: scale(0.98);
  border-color: var(--border-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.at-grid-card-img-wrap {
  width: 100%;
  height: 195px;
  position: relative;
  overflow: hidden;
  background: #0f1117;
}

.at-grid-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.at-grid-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: rgba(8, 9, 11, 0.85);
  color: var(--accent-mint);
  border: 1px solid var(--border-emerald);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.at-grid-card-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.at-grid-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.at-grid-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.at-grid-card-arrow {
  color: var(--accent-emerald);
  font-size: 1rem;
}

.at-grid-card-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.at-grid-card-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-grey);
  line-height: 1.55;
  margin-top: 4px;
}

/* ══ BREAKPOINT: TABLET + LARGE PHONE (≤900px) ══════════════════════════ */
@media (max-width: 900px) {
  .at-hud-top {
    top: 16px;
    right: 70px;
  }

  /* room for hamburger if shown */
  .at-contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .at-contact-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }

  .at-detail-inner {
    flex-direction: column;
    gap: 2rem;
    height: auto;
    overflow-y: auto;
  }

  .at-detail-left {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .at-mini-gallery-stage {
    width: 100%;
    margin-left: 0;
    height: 55vw;
    min-height: 240px;
    touch-action: pan-y;
  }

  .at-mini-gallery-rotator {
    width: 300px;
    height: 190px;
  }

  .at-carousel-stage {
    margin-left: 0;
    touch-action: pan-y;
  }

  .at-hud-bottom-center {
    display: none;
  }

  .lightbox-nav-btn.lb-prev {
    left: 1rem;
  }

  .lightbox-nav-btn.lb-next {
    right: 1rem;
  }

  .at-detail-page {
    padding: 80px 4vw 120px 4vw;
    overflow-y: auto;
  }
}

/* ══ BREAKPOINT: MOBILE (≤768px) ════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Unlock body scroll for mobile */
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
  }

  /* Full-page views become auto-height and scrollable with safe bottom padding */
  .at-view-container {
    height: auto;
    min-height: 100dvh;
  }

  .at-view-page {
    position: relative;
    min-height: 100dvh;
    height: auto;
    display: none;
    padding-bottom: 120px !important;
  }

  .at-view-page.active {
    display: flex;
    visibility: visible;
    pointer-events: auto;
  }

  /* Desktop nav pill → hidden, hamburger shown */
  .at-hud-top {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-nav-overlay {
    display: flex;
    z-index: 1000;
  }

  /* Logo adjustments */
  .at-logo-top {
    top: 16px;
    left: 16px;
    gap: 8px;
    z-index: 999;
  }

  .at-logo-avatar-wrap {
    width: 30px;
    height: 30px;
  }

  .at-logo-text {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  /* Bottom HUD */
  .at-bottom-hud {
    bottom: 12px;
    left: 12px;
    right: 12px;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 990;
  }

  .at-hud-bottom-center {
    display: none;
  }

  .at-hud-bottom-right {
    order: -1;
  }

  /* WHOP pill to the right of icons */

  /* Ensure buttons are touch-friendly (44px min) */
  .at-circle-btn {
    width: 42px;
    height: 42px;
  }

  .at-store-pill-btn {
    font-size: 0.62rem;
    padding: 10px 16px;
    min-height: 42px;
  }

  /* ── HOME ────────────────────────────────────────────────── */
  .at-home-hero {
    padding: 90px 6vw 120px 6vw;
    justify-content: center;
    gap: 0;
  }

  .at-hero-symbol-3d {
    width: 160px;
    height: 160px;
    margin-bottom: 1.5rem;
  }

  .at-ring-core-avatar-wrap {
    width: 88px;
    height: 88px;
  }

  .at-hero-bio {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.9;
    margin-bottom: 1.8rem;
  }

  .at-hero-explore-btn {
    font-size: 0.68rem;
    padding: 13px 28px;
    min-height: 44px;
  }

  /* ── WORK ────────────────────────────────────────────────── */
  .at-work-page {
    flex-direction: column;
    padding: 115px 0 120px 0;
    align-items: center;
    position: relative;
    height: auto;
    min-height: 100dvh;
  }

  /* Desktop sidebar hidden on mobile */
  .at-work-left-sidebar {
    display: none;
  }

  /* Mobile pill filter bar shown & sticky */
  .at-mobile-filter-bar {
    display: flex;
    position: sticky;
    top: 56px;
    z-index: 100;
    background: rgba(12, 12, 16, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 238, 220, 0.1);
    padding: 10px 16px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 3D Carousel Stage COMPLETELY HIDDEN ON MOBILE (Clean Direct Card Stream) */
  .at-carousel-stage {
    display: none !important;
  }

  .at-projects-grid-mobile {
    display: flex !important;
  }

  .at-brain-cortex-node {
    width: 34px;
    height: 34px;
  }

  .at-vertebra {
    width: 60px;
    height: 14px;
  }

  .v-core {
    width: 14px;
    height: 10px;
  }

  .v-wing {
    width: 20px;
  }

  .at-energy-rings {
    width: 80px;
    height: 80px;
  }

  /* ── DETAIL ──────────────────────────────────────────────── */
  .at-detail-page {
    padding: 85px 5vw 120px 5vw;
    overflow-y: auto;
    align-items: flex-start;
    height: auto;
  }

  .at-detail-inner {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    align-items: center;
  }

  .at-detail-left {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    gap: 1rem;
  }

  .at-detail-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .at-detail-desc {
    font-size: 0.82rem;
  }

  .at-detail-actions {
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .at-hero-explore-btn,
  .at-live-pill-btn,
  .at-contact-submit-pill {
    min-height: 44px;
    padding: 12px 24px;
  }

  .at-mini-gallery-stage {
    width: 100%;
    height: auto;
    margin-left: 0;
    perspective: 900px;
    touch-action: pan-y;
  }

  .at-mini-gallery-rotator {
    width: 280px;
    height: 175px;
  }

  /* ── CONTACT ─────────────────────────────────────────────── */
  .at-contact-page {
    padding: 85px 6vw 120px 6vw;
    height: auto;
    align-items: flex-start;
  }

  .at-contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .at-contact-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .at-contact-desc {
    font-size: 0.78rem;
  }

  .at-minimal-form {
    max-width: 100%;
  }

  /* iOS input auto-zoom prevention (must be >= 16px) */
  .at-underline-input {
    font-size: 16px !important;
  }

  .at-contact-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }

  .at-network-tile {
    padding: 0.9rem 0;
    min-height: 44px;
  }

  /* ── LIGHTBOX ────────────────────────────────────────────── */
  .lightbox-header {
    padding: 1rem 1.2rem;
  }

  .lightbox-title {
    font-size: 0.85rem;
  }

  .lightbox-body {
    touch-action: pan-y;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    z-index: 105;
  }

  .lightbox-nav-btn.lb-prev {
    left: 0.5rem;
  }

  .lightbox-nav-btn.lb-next {
    right: 0.5rem;
  }

  .lightbox-active-img {
    max-width: 94%;
    max-height: 58vh;
  }

  .thumb-img {
    width: 64px;
    height: 44px;
  }
}

/* ══ BREAKPOINT: SMALL PHONE (≤480px) ══════════════════════════════════ */
@media (max-width: 480px) {
  .at-hero-bio {
    font-size: 0.66rem;
  }

  .at-hero-symbol-3d {
    width: 130px;
    height: 130px;
  }

  .at-ring-core-avatar-wrap {
    width: 72px;
    height: 72px;
  }

  .at-mobile-filter-bar {
    top: 58px;
    padding: 0 0.5rem;
  }

  .at-carousel-stage {
    height: 72vw;
    min-height: 260px;
  }

  .at-carousel-rotator {
    width: 220px;
    height: 160px;
  }

  .at-mini-gallery-rotator {
    width: 240px;
    height: 150px;
  }

  .mobile-nav-link {
    font-size: 1.5rem;
  }

  .at-bottom-hud {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }

  .at-circle-btn {
    width: 38px;
    height: 38px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   VIEW 3: CASE STUDY DETAIL VIEW (MINIMALIST LUXE REFINEMENT)
   ═════════════════════════════════════════════════════════════════════ */
.at-detail-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 6vw;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.at-detail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  gap: 5vw;
  z-index: 5;
}

.at-detail-left {
  flex: 1.1;
  max-width: 560px;
}

.at-detail-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent-champagne);
  margin-bottom: 0.8rem;
}

.at-detail-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--text-bright);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.at-detail-tech-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.at-tech-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-cream);
  background: rgba(245, 238, 220, 0.08);
  border: 1px solid var(--border-cream);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.at-detail-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   INTEGRATED PRECISION ACTION DOCK (ULTRA-COMPACT MICRO-BAR)
   ═════════════════════════════════════════════════════════════════════ */
.at-detail-actions-dock {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  background: rgba(35, 30, 44, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 238, 220, 0.4);
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(245, 238, 220, 0.15);
  margin-bottom: 1.4rem;
}

.at-dock-btn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-cream);
  background: rgba(245, 238, 220, 0.08);
  border: 1px solid rgba(245, 238, 220, 0.2);
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.at-dock-icon {
  font-size: 0.68rem;
  color: var(--accent-champagne);
  transition: transform 0.2s ease;
}

.at-dock-btn:hover {
  background: rgba(245, 238, 220, 0.25);
  border-color: rgba(245, 238, 220, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

.at-dock-btn:hover .at-dock-icon {
  transform: scale(1.15);
}

.at-dock-btn.at-dock-primary {
  background: linear-gradient(135deg, #f5eedc 0%, #eedcb2 100%);
  color: #070709;
  border-color: #f5eedc;
  font-weight: 700;
  padding: 5px 12px;
  box-shadow: 0 2px 10px rgba(245, 238, 220, 0.4);
}

.at-dock-btn.at-dock-primary .at-dock-icon {
  color: #070709;
}

.at-dock-btn.at-dock-primary:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 3px 14px rgba(245, 238, 220, 0.6);
}

.at-detail-close-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.at-detail-close-hint:hover {
  color: var(--text-cream);
  transform: translateX(-3px);
}

@media (max-width: 768px) {
  .at-detail-actions-dock {
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
  }
  .at-dock-btn {
    flex: 1 1 auto;
    font-size: 0.58rem;
    padding: 5px 8px;
  }
}

/* ── RIGHT MINI 3D ARC DECK GALLERY ─────────────────────────────────────── */
.at-mini-gallery-stage {
  flex: 1.1;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  position: relative;
}

.at-mini-gallery-rotator {
  position: relative;
  width: 420px;
  height: 290px;
  transform-style: preserve-3d;
}

.at-mini-card {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid var(--border-cream);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
}

.at-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── LUXURY MOBILE CARD STREAM ─────────────────────────────────────────── */
.at-projects-grid-mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 12px 16px 120px 16px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  box-sizing: border-box;
}

.at-mobile-project-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(245, 238, 220, 0.15);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.at-mobile-project-card:active {
  transform: scale(0.975);
  border-color: var(--accent-champagne);
  box-shadow: 0 4px 20px rgba(245, 238, 220, 0.2);
}

@media (hover: hover) {
  .at-mobile-project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 238, 220, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(245, 238, 220, 0.08);
  }
}

.at-mobile-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 240px;
  overflow: hidden;
  background: #090a0f;
}

.at-mobile-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

.at-mobile-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(14, 14, 18, 0.9) 100%);
  pointer-events: none;
}

.at-mobile-card-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.at-mobile-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.at-mobile-status-dot .dot-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.at-mobile-card-body {
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.at-mobile-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.at-mobile-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-cream);
  letter-spacing: 0.02em;
  margin: 0;
}

.at-mobile-arrow-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-champagne);
  background: rgba(245, 238, 220, 0.08);
  border: 1px solid rgba(245, 238, 220, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.at-mobile-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
}

.at-mobile-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-grey);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

.at-mobile-card-desc {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-grey);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════
   FULLSCREEN GALLERY LIGHTBOX MODAL (WARM CREAM & CHAMPAGNE AESTHETICS)
   ═════════════════════════════════════════════════════════════════════ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: 
    radial-gradient(circle at 50% 20%, rgba(245, 238, 220, 0.42) 0%, rgba(238, 220, 178, 0.25) 35%, rgba(35, 29, 44, 0.98) 80%),
    linear-gradient(180deg, #241e30 0%, #1a1524 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid rgba(245, 238, 220, 0.22);
  background: rgba(36, 30, 46, 0.6);
  z-index: 10;
}

.lightbox-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  font-weight: 700;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-champagne);
  font-weight: 600;
  background: rgba(245, 238, 220, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-cream);
}

.lightbox-close {
  background: rgba(245, 238, 220, 0.1);
  border: 1px solid var(--border-cream);
  color: var(--text-cream);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: #ffffff;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(245, 238, 220, 0.5);
}

.lightbox-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem 2rem 5rem 2rem;
  overflow: hidden;
}

.lightbox-active-img {
  max-width: 85vw;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 238, 220, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 238, 220, 0.12);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(35, 29, 44, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cream);
  color: var(--text-cream);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
}

.lightbox-nav-btn.lb-prev {
  left: 3rem;
}

.lightbox-nav-btn.lb-next {
  right: 3rem;
}

.lightbox-nav-btn:hover {
  background: var(--accent-cream);
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(245, 238, 220, 0.5);
}

.lightbox-thumbs {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  max-width: 80vw;
  overflow-x: auto;
  padding: 6px 12px;
  background: rgba(32, 26, 40, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  scrollbar-width: none;
  z-index: 20;
}

.lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.lb-thumb {
  width: 46px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumb:hover,
.lb-thumb.active {
  opacity: 1;
  border-color: var(--accent-cream);
  box-shadow: 0 0 10px rgba(245, 238, 220, 0.5);
  transform: scale(1.12);
}

/* ═══════════════════════════════════════════════════════════════════════
   3D EXPLODED ARCHITECTURE DECONSTRUCTION MODAL
   ═════════════════════════════════════════════════════════════════════ */
.at-arch-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: 
    radial-gradient(circle at 50% 15%, rgba(245, 238, 220, 0.38) 0%, rgba(238, 220, 178, 0.22) 35%, rgba(35, 29, 44, 0.98) 80%),
    linear-gradient(180deg, #241e30 0%, #1a1524 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.at-arch-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.at-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(245, 238, 220, 0.22);
  background: rgba(36, 30, 46, 0.6);
}

.at-arch-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--accent-champagne);
  margin-bottom: 4px;
}

.at-arch-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  font-weight: 700;
}

.at-arch-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.at-arch-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(38, 31, 48, 0.9);
  border: 1px solid var(--border-cream);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.at-arch-slider-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-cream);
}

#arch-explode-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 130px;
  height: 4px;
  background: rgba(245, 238, 220, 0.25);
  border-radius: 2px;
  outline: none;
}

#arch-explode-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cream);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cream);
}

.at-arch-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 3vw;
  gap: 4vw;
  position: relative;
  overflow: hidden;
}

.at-arch-3d-stage {
  flex: 1.2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.at-arch-stack {
  width: 440px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-38deg);
  transition: transform 0.4s ease;
}

/* Individual 3D Isometric Glass Layer Slab */
.at-arch-layer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(45, 36, 56, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 238, 220, 0.35);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 238, 220, 0.15);
  transform-style: preserve-3d;
  cursor: pointer;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.at-arch-layer:hover,
.at-arch-layer.selected {
  border-color: var(--accent-cream);
  background: rgba(60, 48, 76, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 238, 220, 0.45);
}

.at-arch-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.at-arch-layer-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent-champagne);
  font-weight: 700;
}

.at-arch-layer-chip {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  background: rgba(245, 238, 220, 0.1);
  border: 1px solid var(--border-cream);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-cream);
}

.at-arch-layer-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.at-arch-layer-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.at-arch-spec-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-grey);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 7px;
  border-radius: 4px;
}

/* Layer Inspector Panel (Right Column) */
.at-arch-inspector {
  flex: 0.9;
  background: rgba(38, 30, 48, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-cream);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 238, 220, 0.1);
  max-width: 480px;
}

.at-inspector-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent-champagne);
  margin-bottom: 0.6rem;
}

.at-inspector-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.at-inspector-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.at-inspector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(245, 238, 220, 0.2);
  padding-top: 1.4rem;
}

.at-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.m-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-champagne);
}

/* Mobile Exploded Architecture View */
@media (max-width: 768px) {
  .at-tensor-toolbar {
    top: 58px;
    right: 12px;
  }

  .at-arch-modal {
    overflow-y: auto;
  }

  .at-arch-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    gap: 12px;
  }

  .at-arch-body {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .at-arch-stack {
    width: 280px;
    height: 260px;
    transform: rotateX(45deg) rotateZ(-25deg);
  }

  .at-arch-inspector {
    max-width: 100%;
    padding: 1.4rem;
  }

  .at-inspector-metrics {
    grid-template-columns: 1fr;
  }
}

/* End of Dona Codex Portfolio Stylesheet */

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE CARD CATEGORY COLOR SYSTEM
   Matches desktop carousel: ai=emerald | quant=amber | 3d=blue | swarm=purple
   ═══════════════════════════════════════════════════════════════════════ */

/* Left Accent Stripe — Mobile */
.at-mobile-cat-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  z-index: 20;
  border-radius: 20px 0 0 20px;
  pointer-events: none;
}

.at-mobile-cat-stripe[data-cat="ai"]    { background: #10b981; box-shadow: 0 0 12px rgba(16,185,129,0.5); }
.at-mobile-cat-stripe[data-cat="quant"] { background: #f59e0b; box-shadow: 0 0 12px rgba(245,158,11,0.5); }
.at-mobile-cat-stripe[data-cat="3d"]    { background: #3b82f6; box-shadow: 0 0 12px rgba(59,130,246,0.5); }
.at-mobile-cat-stripe[data-cat="swarm"] { background: #a855f7; box-shadow: 0 0 12px rgba(168,85,247,0.5); }

/* Corner Cut Notch — Mobile (inside img-wrap, bottom-right) */
.at-mobile-corner-cut {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.at-mobile-corner-cut[data-cat="ai"]    { background: #10b981; }
.at-mobile-corner-cut[data-cat="quant"] { background: #f59e0b; }
.at-mobile-corner-cut[data-cat="3d"]    { background: #3b82f6; }
.at-mobile-corner-cut[data-cat="swarm"] { background: #a855f7; }

/* Active state brightens corner cut */
.at-mobile-project-card:active .at-mobile-corner-cut {
  opacity: 1;
}

/* Bottom Accent Line — Mobile */
.at-mobile-accent-line {
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  opacity: 0.55;
  pointer-events: none;
}

.at-mobile-accent-line[data-cat="ai"]    { background: linear-gradient(90deg, #10b981 0%, transparent 100%); }
.at-mobile-accent-line[data-cat="quant"] { background: linear-gradient(90deg, #f59e0b 0%, transparent 100%); }
.at-mobile-accent-line[data-cat="3d"]    { background: linear-gradient(90deg, #3b82f6 0%, transparent 100%); }
.at-mobile-accent-line[data-cat="swarm"] { background: linear-gradient(90deg, #a855f7 0%, transparent 100%); }

/* Mobile card relative positioning for absolute children */
.at-mobile-project-card {
  position: relative;
}

/* Mobile card clip-path angled cut — bottom-right corner */
.at-mobile-project-card {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  border-radius: 0;
}

/* Category-colored border on active (tap) */
.at-mobile-project-card[data-category="ai"]:active    { border-color: rgba(16,185,129,0.6);  box-shadow: 0 4px 20px rgba(16,185,129,0.25); }
.at-mobile-project-card[data-category="quant"]:active { border-color: rgba(245,158,11,0.6);  box-shadow: 0 4px 20px rgba(245,158,11,0.25); }
.at-mobile-project-card[data-category="3d"]:active    { border-color: rgba(59,130,246,0.6);  box-shadow: 0 4px 20px rgba(59,130,246,0.25); }
.at-mobile-project-card[data-category="swarm"]:active { border-color: rgba(168,85,247,0.6);  box-shadow: 0 4px 20px rgba(168,85,247,0.25); }

/* Desktop hover — category colored */
@media (hover: hover) {
  .at-mobile-project-card[data-category="ai"]:hover    { border-color: rgba(16,185,129,0.4);  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 20px rgba(16,185,129,0.15); }
  .at-mobile-project-card[data-category="quant"]:hover { border-color: rgba(245,158,11,0.4);  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 20px rgba(245,158,11,0.15); }
  .at-mobile-project-card[data-category="3d"]:hover    { border-color: rgba(59,130,246,0.4);  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 20px rgba(59,130,246,0.15); }
  .at-mobile-project-card[data-category="swarm"]:hover { border-color: rgba(168,85,247,0.4);  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 20px rgba(168,85,247,0.15); }
}