/* ═══════════════════════════════════════════════════════════════
   GHOST TERMINAL — ghost-terminal.css
   Cyberpunk · Spectre · Digital Ghost · Ghost in the Shell
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
.theme-ghost-terminal {
  --gt-void:    #020507;
  --gt-abyss:   #030a10;
  --gt-deep:    #061520;
  --gt-surface: #0c1f2e;
  --gt-mid:     #163040;
  --gt-cyan:    #00ffc8;
  --gt-cyan-dim: #00a882;
  --gt-cyan-xs:  rgba(0,255,200,0.06);
  --gt-violet:  #9b30ff;
  --gt-magenta: #ff00cc;
  --gt-red:     #ff2255;
  --gt-amber:   #ffaa00;
  --gt-text:    #7dffd4;
  --gt-text-dim: #2d7060;
  --gt-white:   #d8fff5;
  --gt-border:  rgba(0,255,200,0.1);
  --gt-border-mid: rgba(0,255,200,0.25);
  --gt-border-bright: rgba(0,255,200,0.55);
  --gt-glow:    0 0 24px rgba(0,255,200,0.35), 0 0 60px rgba(0,255,200,0.12);
  --gt-glow-sm: 0 0 10px rgba(0,255,200,0.3);
  --gt-glow-text: 0 0 16px rgba(0,255,200,0.6);

  --gt-font-display: 'Oxanium', sans-serif;
  --gt-font-mono:    'JetBrains Mono', 'Courier New', monospace;

  font-family: var(--gt-font-mono);
  color: var(--gt-text);
  background: var(--gt-void);
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ── BASE ──────────────────────────────────────────────────── */
.theme-ghost-terminal *, .theme-ghost-terminal *::before, .theme-ghost-terminal *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.theme-ghost-terminal a { color: inherit; text-decoration: none; }
.theme-ghost-terminal img { max-width: 100%; display: block; }
.theme-ghost-terminal button { cursor: none; font-family: inherit; }
.theme-ghost-terminal ul { list-style: none; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
.theme-ghost-terminal ::-webkit-scrollbar { width: 4px; }
.theme-ghost-terminal ::-webkit-scrollbar-track { background: var(--gt-void); }
.theme-ghost-terminal ::-webkit-scrollbar-thumb { background: var(--gt-cyan-dim); }

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.gt-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gt-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: var(--gt-glow);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.gt-cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0,255,200,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease-out, height 0.15s ease-out, border-color 0.15s;
}

.theme-ghost-terminal:has(a:hover) .gt-cursor-dot,
.theme-ghost-terminal:has(button:hover) .gt-cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--gt-magenta);
}

/* ── SCANLINES OVERLAY ─────────────────────────────────────── */
.gt-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0.12) 4px
  );
  pointer-events: none;
  z-index: 9990;
  animation: gt-scan-flicker 8s linear infinite;
}

@keyframes gt-scan-flicker {
  0%, 98%, 100% { opacity: 1; }
  99% { opacity: 0.92; }
}

/* ── SCROLL PROGRESS ──────────────────────────────────────── */
#gt-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gt-violet), var(--gt-cyan), var(--gt-magenta));
  box-shadow: 0 0 8px var(--gt-cyan);
  z-index: 2000;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.gt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 60px;
  background: transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.gt-nav.scrolled {
  background: rgba(2,5,7,0.96);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--gt-border-mid);
}

.gt-nav-logo {
  font-family: var(--gt-font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gt-cyan);
  text-decoration: none;
  margin-right: auto;
  text-shadow: var(--gt-glow-text);
  flex-shrink: 0;
}

.gt-nav-logo::before { content: '> '; color: var(--gt-violet); }
.gt-nav-logo::after {
  content: '_';
  animation: gt-cursor-blink 1s step-end infinite;
  color: var(--gt-cyan);
}

.gt-nav-links {
  display: flex;
  gap: 32px;
}

.gt-nav-links a {
  font-family: var(--gt-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  padding: 4px 0;
  position: relative;
}

.gt-nav-links a::before { content: '// '; color: var(--gt-violet); opacity: 0.6; }

.gt-nav-links a:hover {
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
}

.gt-nav-links a.active {
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
}

.gt-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gt-cyan);
  box-shadow: 0 0 6px var(--gt-cyan);
}

/* Theme switcher */
.gt-nav-theme { position: relative; margin-left: 32px; }

#theme-btn {
  font-family: var(--gt-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gt-border-mid);
  color: var(--gt-cyan);
  padding: 7px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: none;
}

#theme-btn:hover {
  border-color: var(--gt-border-bright);
  box-shadow: var(--gt-glow-sm);
  background: rgba(0,255,200,0.05);
}

#theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(3,10,16,0.98);
  border: 1px solid var(--gt-border-mid);
  min-width: 200px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(0,255,200,0.05);
}

#theme-dropdown.open { display: block; }

#theme-dropdown a {
  display: block;
  padding: 10px 18px;
  font-family: var(--gt-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gt-text-dim);
  border-bottom: 1px solid var(--gt-border);
  transition: color 0.15s, background 0.15s;
}

#theme-dropdown a::before { content: '> '; color: var(--gt-violet); opacity: 0.5; }
#theme-dropdown a:last-child { border-bottom: none; }

#theme-dropdown a:hover {
  color: var(--gt-cyan);
  background: rgba(0,255,200,0.04);
  text-shadow: var(--gt-glow-text);
}

/* Hamburger */
.gt-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: 16px;
  cursor: none;
}

.gt-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gt-cyan);
  box-shadow: 0 0 6px var(--gt-cyan);
}

/* Mobile menu */
#nav-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(2,5,7,0.98);
  border-bottom: 1px solid var(--gt-border-mid);
  padding: 24px 48px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

#nav-menu.nav-open { display: flex; }

#nav-menu a {
  font-family: var(--gt-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
  padding: 14px 0;
  border-bottom: 1px solid var(--gt-border);
  transition: color 0.2s;
}

#nav-menu a::before { content: '> '; color: var(--gt-violet); }
#nav-menu a:hover { color: var(--gt-cyan); }

/* ══════════════════════════════════════════════════════════════
   HOME — HERO: SPLIT TERMINAL
══════════════════════════════════════════════════════════════ */
.gt-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: grid;
  grid-template-columns: 38% 62%;
  overflow: hidden;
}

/* ── LEFT: GHOST VISUAL ─────────────────────────────────────── */
.gt-hero-left {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--gt-border-mid);
  background: var(--gt-abyss);
}

/* Circuit board grid background */
.gt-hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gt-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--gt-border) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Digital rain container */
.gt-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gt-rain-col {
  position: absolute;
  top: -120%;
  font-family: var(--gt-font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gt-cyan);
  white-space: pre;
  animation: gt-rain-fall linear infinite;
}

/* Spectral core — concentric glowing circles */
.gt-spectral {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gt-spectral-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0,255,200,0.18);
  transform: translate(-50%, -50%);
  animation: gt-spectral-pulse 4s ease-in-out infinite;
}

.gt-spectral-ring:nth-child(1) { width: 80px;  height: 80px;  border-color: rgba(0,255,200,0.5); animation-delay: 0s; }
.gt-spectral-ring:nth-child(2) { width: 140px; height: 140px; border-color: rgba(0,255,200,0.3); animation-delay: 0.4s; }
.gt-spectral-ring:nth-child(3) { width: 220px; height: 220px; border-color: rgba(0,255,200,0.15); animation-delay: 0.8s; }
.gt-spectral-ring:nth-child(4) { width: 320px; height: 320px; border-color: rgba(0,255,200,0.08); animation-delay: 1.2s; }
.gt-spectral-ring:nth-child(5) { width: 440px; height: 440px; border-color: rgba(0,255,200,0.04); animation-delay: 1.6s; }

/* Central dot — the ghost "eye" */
.gt-spectral-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gt-cyan);
  box-shadow:
    0 0 20px var(--gt-cyan),
    0 0 60px rgba(0,255,200,0.5),
    0 0 120px rgba(0,255,200,0.2);
  animation: gt-core-pulse 3s ease-in-out infinite;
}

/* Gradient fade on left panel to blend with right */
.gt-hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(2,5,7,0.8) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── RIGHT: TERMINAL CONTENT ────────────────────────────────── */
.gt-hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 48px;
  background: var(--gt-void);
  overflow: hidden;
}

/* Subtle scan gradient on right */
.gt-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(155,48,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(0,255,200,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Terminal header line */
.gt-terminal-header {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gt-text-dim);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gt-border);
  position: relative;
  opacity: 0;
  animation: gt-fade-in 0.5s ease forwards;
  animation-delay: 0.2s;
}

.gt-terminal-header::before { content: '// '; color: var(--gt-violet); }

/* Designation block */
.gt-hero-designation {
  margin-bottom: 32px;
  opacity: 0;
  animation: gt-fade-in 0.5s ease forwards;
  animation-delay: 0.5s;
}

.gt-hero-designation-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gt-violet);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gt-hero-designation-label::before { content: '> '; }

/* The BIG name */
.gt-hero-name {
  font-family: var(--gt-font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gt-cyan);
  line-height: 1;
  text-shadow: var(--gt-glow-text);
  animation: gt-glitch 6s linear infinite;
  animation-delay: 1.5s;
}

/* Ghost echo of the name */
.gt-hero-name::before {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  color: var(--gt-magenta);
  clip-path: inset(30% 0 50% 0);
  transform: translateX(-2px);
  animation: gt-ghost-echo 6s linear infinite;
  animation-delay: 1.5s;
  pointer-events: none;
  opacity: 0;
}

.gt-hero-name-wrap {
  position: relative;
}

/* Role line */
.gt-hero-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gt-text-dim);
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0;
  animation: gt-fade-in 0.5s ease forwards;
  animation-delay: 0.8s;
}

/* Signal/clearance bar */
.gt-hero-signal {
  margin: 32px 0;
  opacity: 0;
  animation: gt-fade-in 0.5s ease forwards;
  animation-delay: 1s;
}

.gt-hero-signal-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gt-text-dim);
  margin-bottom: 6px;
}

.gt-hero-signal-label::before { content: '> '; color: var(--gt-violet); }

.gt-hero-tagline {
  font-size: 14px;
  color: var(--gt-text);
  line-height: 1.7;
  letter-spacing: 0.04em;
  padding-left: 16px;
  border-left: 2px solid var(--gt-violet);
}

/* Progress bar / clearance display */
.gt-clearance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.gt-clearance-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gt-violet);
  flex-shrink: 0;
}

.gt-clearance-track {
  flex: 1;
  height: 2px;
  background: rgba(0,255,200,0.1);
  position: relative;
  overflow: hidden;
}

.gt-clearance-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(to right, var(--gt-violet), var(--gt-cyan));
  box-shadow: 0 0 8px var(--gt-cyan);
  animation: gt-load-fill 2s cubic-bezier(0.4,0,0.2,1) 1.2s forwards;
  width: 0%;
}

.gt-clearance-pct {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gt-cyan);
  flex-shrink: 0;
}

/* Navigation matrix in hero */
.gt-hero-nav {
  margin-top: 32px;
  opacity: 0;
  animation: gt-fade-in 0.5s ease forwards;
  animation-delay: 1.3s;
}

.gt-hero-nav-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gt-text-dim);
  margin-bottom: 12px;
}

.gt-hero-nav-label::before { content: '> '; color: var(--gt-violet); }

.gt-hero-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gt-hero-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gt-text);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.gt-hero-nav-link:hover {
  border-color: var(--gt-border-mid);
  background: rgba(0,255,200,0.03);
  color: var(--gt-cyan);
  box-shadow: inset 4px 0 0 var(--gt-cyan);
}

.gt-hero-nav-num {
  font-size: 9px;
  color: var(--gt-violet);
  width: 24px;
  flex-shrink: 0;
}

.gt-hero-nav-name {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.gt-hero-nav-arrow {
  margin-left: auto;
  color: var(--gt-text-dim);
  transition: color 0.2s, transform 0.2s;
}

.gt-hero-nav-link:hover .gt-hero-nav-arrow {
  color: var(--gt-cyan);
  transform: translateX(4px);
}

/* Status strip at bottom of hero */
.gt-status-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0,255,200,0.03);
  border-top: 1px solid var(--gt-border);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 32px;
  z-index: 10;
}

.gt-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
}

.gt-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gt-cyan);
  box-shadow: 0 0 6px var(--gt-cyan);
  animation: gt-status-pulse 2s ease-in-out infinite;
}

.gt-status-dot.violet { background: var(--gt-violet); box-shadow: 0 0 6px var(--gt-violet); animation-delay: 0.5s; }
.gt-status-dot.red    { background: var(--gt-red);    box-shadow: 0 0 6px var(--gt-red);    animation-delay: 1s;   }

/* ══════════════════════════════════════════════════════════════
   SECTION STRUCTURE
══════════════════════════════════════════════════════════════ */
.gt-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 60px;
}

.gt-section-dark {
  background: var(--gt-abyss);
  border-top: 1px solid var(--gt-border);
  border-bottom: 1px solid var(--gt-border);
}

.gt-section-head {
  margin-bottom: 56px;
}

.gt-label {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 10px;
}

.gt-label::before { content: '// '; }
.gt-label::after  { content: ' //'; }

.gt-title {
  font-family: var(--gt-font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
  margin-bottom: 0;
}

.gt-rule {
  width: 60px;
  height: 1px;
  background: var(--gt-cyan);
  box-shadow: 0 0 8px var(--gt-cyan);
  margin-top: 20px;
}

/* Corner bracket decoration mixin */
.gt-bracket {
  position: relative;
}

.gt-bracket::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 1px solid var(--gt-cyan);
  border-left: 1px solid var(--gt-cyan);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-bracket::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 1px solid var(--gt-cyan);
  border-right: 1px solid var(--gt-cyan);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-bracket:hover::before,
.gt-bracket:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   HOME — PROTOCOLS (intro modules)
   Horizontal stacked terminal blocks
══════════════════════════════════════════════════════════════ */
.gt-protocols {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.gt-protocol {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--gt-border);
  background: rgba(0,255,200,0.01);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.gt-protocol:hover {
  border-color: var(--gt-border-mid);
  background: rgba(0,255,200,0.025);
  box-shadow: inset 0 0 40px rgba(0,255,200,0.02), 0 0 20px rgba(0,255,200,0.05);
}

.gt-protocol-num {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  border-right: 1px solid var(--gt-border);
  background: rgba(0,0,0,0.2);
}

.gt-protocol-num-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gt-violet);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.gt-protocol-num-val {
  font-family: var(--gt-font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--gt-cyan);
  opacity: 0.2;
  line-height: 1;
}

.gt-protocol-body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-protocol-category {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
  margin-bottom: 8px;
}

.gt-protocol-category::before { content: '> '; color: var(--gt-violet); }

.gt-protocol-title {
  font-family: var(--gt-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gt-white);
  margin-bottom: 12px;
}

.gt-protocol-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--gt-text);
  letter-spacing: 0.02em;
  max-width: 560px;
}

.gt-protocol-cta {
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-left: 1px solid var(--gt-border);
  flex-shrink: 0;
  min-width: 160px;
}

.gt-protocol-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-cyan);
  transition: color 0.2s, text-shadow 0.2s;
  white-space: nowrap;
}

.gt-protocol:hover .gt-protocol-link {
  text-shadow: var(--gt-glow-text);
}

.gt-protocol-link::after { content: ' →'; }

/* ══════════════════════════════════════════════════════════════
   HOME — FEATURED MISSIONS
   Asymmetric grid with scan frames
══════════════════════════════════════════════════════════════ */
.gt-featured {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

/* First item spans 2 columns */
.gt-feat:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gt-feat {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--gt-abyss);
  aspect-ratio: 4/3;
}

.gt-feat:first-child { aspect-ratio: auto; }

.gt-feat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
  filter: saturate(0.7) brightness(0.8) hue-rotate(160deg) sepia(0.1);
}

.gt-feat:hover img {
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.95) hue-rotate(160deg) sepia(0);
}

/* Scan frame (corner brackets + scan line on hover) */
.gt-feat::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s;
  z-index: 2;
}

.gt-feat:hover::before {
  border-color: rgba(0,255,200,0.3);
  box-shadow: inset 0 0 30px rgba(0,255,200,0.04);
}

.gt-feat-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(2,5,7,0.95) 0%, rgba(2,5,7,0.6) 50%, transparent 100%);
  z-index: 3;
  transform: translateY(8px);
  transition: transform 0.3s;
}

.gt-feat:hover .gt-feat-cap { transform: translateY(0); }

.gt-feat-cat {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 4px;
}

.gt-feat-cat::before { content: '// '; }

.gt-feat-title {
  font-family: var(--gt-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gt-white);
}

/* ══════════════════════════════════════════════════════════════
   HOME — TESTIMONIALS (intercepted signals)
══════════════════════════════════════════════════════════════ */
.gt-testi-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-testi {
  position: relative;
  border: 1px solid var(--gt-border);
  background: rgba(0,0,0,0.3);
  padding: 0;
  transition: border-color 0.3s;
  overflow: hidden;
}

.gt-testi:hover { border-color: var(--gt-border-mid); }

.gt-testi-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--gt-border);
  background: rgba(0,255,200,0.02);
}

.gt-testi-signal {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
}

.gt-testi-signal::before { content: '// SIGNAL_SOURCE: '; color: var(--gt-violet); }
.gt-testi-signal::after  { content: ' //'; color: var(--gt-violet); }

.gt-testi-indicator {
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gt-cyan);
  box-shadow: 0 0 8px var(--gt-cyan);
  animation: gt-status-pulse 2s ease-in-out infinite;
}

.gt-testi-body {
  padding: 28px 32px;
}

.gt-testi-quote {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gt-text);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 1px solid rgba(0,255,200,0.25);
}

.gt-testi-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  border-top: 1px solid var(--gt-border);
  background: rgba(0,0,0,0.2);
}

.gt-testi-name {
  font-family: var(--gt-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gt-cyan);
}

.gt-testi-role {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gt-text-dim);
}

.gt-testi-verify {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--gt-violet);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   HOME — PRESS (network nodes)
══════════════════════════════════════════════════════════════ */
.gt-press {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.gt-press-item {
  font-family: var(--gt-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gt-text-dim);
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--gt-border);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.gt-press-item::before {
  content: '◉ ';
  font-size: 8px;
  color: var(--gt-violet);
  vertical-align: middle;
}

.gt-press-item:hover {
  color: var(--gt-cyan);
  border-color: var(--gt-border-mid);
  box-shadow: var(--gt-glow-sm);
  background: rgba(0,255,200,0.02);
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGE HEADER
══════════════════════════════════════════════════════════════ */
.gt-page-top {
  padding: 110px 60px 52px;
  border-bottom: 1px solid var(--gt-border-mid);
  background:
    radial-gradient(ellipse 70% 50% at 85% 50%, rgba(155,48,255,0.08) 0%, transparent 60%),
    var(--gt-void);
  position: relative;
  overflow: hidden;
}

/* Circuit grid in header */
.gt-page-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gt-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--gt-border) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.5;
}

.gt-page-top-prefix {
  position: relative;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 10px;
}

.gt-page-top-prefix::before { content: '// '; }

.gt-page-top-title {
  position: relative;
  z-index: 2;
  font-family: var(--gt-font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
  line-height: 1;
}

.gt-page-top-rule {
  width: 80px;
  height: 1px;
  background: var(--gt-cyan);
  box-shadow: 0 0 8px var(--gt-cyan);
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════════════ */
.gt-tabs-wrap {
  display: flex;
  border-bottom: 1px solid var(--gt-border-mid);
  margin-bottom: 48px;
  gap: 0;
}

.gt-tabs-wrap [data-tab] {
  font-family: var(--gt-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-right: 1px solid var(--gt-border);
  color: var(--gt-text-dim);
  padding: 14px 24px;
  transition: color 0.2s, background 0.2s;
  cursor: none;
}

.gt-tabs-wrap [data-tab]::before { content: '> '; color: var(--gt-violet); opacity: 0; transition: opacity 0.2s; }

.gt-tabs-wrap [data-tab]:hover { color: var(--gt-cyan); }
.gt-tabs-wrap [data-tab]:hover::before { opacity: 1; }

.gt-tabs-wrap [data-tab].tab-active {
  color: var(--gt-cyan);
  background: rgba(0,255,200,0.04);
  text-shadow: var(--gt-glow-text);
  border-bottom: 1px solid var(--gt-cyan);
  margin-bottom: -1px;
}

.gt-tabs-wrap [data-tab].tab-active::before { opacity: 1; }

[data-panel] { display: none; }
[data-panel].panel-active { display: block; }

/* ══════════════════════════════════════════════════════════════
   DESIGN PAGE — PROJECT PANELS
══════════════════════════════════════════════════════════════ */
.gt-proj-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2px;
  border: 1px solid var(--gt-border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.gt-proj-panel:hover { border-color: var(--gt-border-mid); }
.gt-proj-panel.flip { direction: rtl; }
.gt-proj-panel.flip > * { direction: ltr; }

.gt-proj-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gt-deep);
}

.gt-proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.85);
  transition: transform 0.5s, filter 0.4s;
}

.gt-proj-panel:hover .gt-proj-img img {
  transform: scale(1.03);
  filter: saturate(0.8) brightness(0.95);
}

.gt-proj-info {
  padding: 40px 44px;
  background: var(--gt-abyss);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-proj-client {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 10px;
}

.gt-proj-client::before { content: '// '; }

.gt-proj-title {
  font-family: var(--gt-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gt-white);
  margin-bottom: 4px;
}

.gt-proj-sub {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gt-text-dim);
  margin-bottom: 20px;
}

.gt-proj-role-label {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 4px;
}

.gt-proj-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gt-cyan);
  margin-bottom: 18px;
}

.gt-proj-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gt-text);
  letter-spacing: 0.02em;
}

/* ── RENDER GRIDS ────────────────────────────────────────────── */
.gt-render-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  margin-bottom: 2px;
}

.gt-render-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: none;
  background: #fff;
  position: relative;
}

.gt-render-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}

.gt-render-item::after {
  content: '[ EXPAND ]';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gt-cyan);
  background: rgba(2,5,7,0.75);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-render-item:hover img { transform: scale(1.05); }
.gt-render-item:hover::after { opacity: 1; }

.gt-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
  margin-bottom: 2px;
}

.gt-brand-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: none;
  background: #fff;
  position: relative;
}

.gt-brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}

.gt-brand-item::after {
  content: '[ EXPAND ]';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gt-cyan);
  background: rgba(2,5,7,0.75);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-brand-item:hover img { transform: scale(1.05); }
.gt-brand-item:hover::after { opacity: 1; }

/* Render section heads */
.gt-render-head {
  padding: 32px 0 18px;
  border-bottom: 1px solid var(--gt-border);
  margin-bottom: 4px;
}

.gt-render-head-label {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 6px;
}

.gt-render-head-title {
  font-family: var(--gt-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gt-cyan);
}

.gt-render-head-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gt-text-dim);
  margin-top: 4px;
}

.gt-render-head-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--gt-text);
  margin-top: 10px;
  max-width: 640px;
  letter-spacing: 0.02em;
}

/* ── BEFORE/AFTER LABELS ── */
.ba-label {
  position: absolute;
  bottom: 8px;
  font-family: var(--gt-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gt-green);
  z-index: 2;
  border: 1px solid rgba(0, 255, 136, 0.3);
}
.ba-lbl-after  { right: 8px; }
.ba-lbl-before { left: 8px; }

/* ── BEFORE/AFTER SLIDER ────────────────────────────────────── */
.gt-slider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 4px;
}
.gt-ba-wrap {
  border: 1px solid var(--gt-border);
}

.ba-slider { position: relative; overflow: hidden; user-select: none; }
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { position: relative; }
.ba-before { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gt-cyan);
  box-shadow: 0 0 10px var(--gt-cyan);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: '◈';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gt-void);
  border: 1px solid var(--gt-cyan);
  color: var(--gt-cyan);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 32px;
  text-align: center;
  box-shadow: 0 0 12px var(--gt-cyan);
}

/* ══════════════════════════════════════════════════════════════
   CREATE PAGE — ANIMATION ITEMS
══════════════════════════════════════════════════════════════ */
.gt-anim-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-anim-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--gt-border);
  transition: border-color 0.3s;
}

.gt-anim-item:hover { border-color: var(--gt-border-mid); }

.gt-anim-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
}

.gt-anim-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gt-anim-info {
  padding: 28px 36px;
  border-left: 1px solid var(--gt-border);
  background: var(--gt-abyss);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-anim-num {
  font-size: 8px;
  letter-spacing: 0.4em;
  color: var(--gt-violet);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gt-anim-title {
  font-family: var(--gt-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gt-white);
  margin-bottom: 6px;
}

.gt-anim-role {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gt-cyan);
  margin-bottom: 12px;
}

.gt-anim-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--gt-text);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════
   CAPTURE PAGE
══════════════════════════════════════════════════════════════ */
.gt-capture-intro {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gt-text);
  letter-spacing: 0.03em;
  margin-bottom: 40px;
  max-width: 720px;
}

.gt-capture-intro::before { content: '> '; color: var(--gt-violet); }

.gt-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-bottom: 48px;
}

.gt-photo-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: none;
  background: var(--gt-deep);
}

.gt-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  transition: transform 0.5s, filter 0.4s;
}

.gt-photo-item:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1) hue-rotate(160deg) sepia(0.1);
}

.gt-photo-item-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(2,5,7,0.9), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.gt-photo-item:hover .gt-photo-item-cap { opacity: 1; transform: translateY(0); }

.gt-photo-item-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-cyan);
}

.gt-video-list { display: flex; flex-direction: column; gap: 2px; }

.gt-video-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid var(--gt-border);
  transition: border-color 0.3s;
}

.gt-video-item:hover { border-color: var(--gt-border-mid); }

.gt-video-embed { background: #000; aspect-ratio: 16/9; overflow: hidden; }
.gt-video-embed iframe { width: 100%; height: 100%; border: none; }

.gt-video-info {
  padding: 24px 32px;
  border-left: 1px solid var(--gt-border);
  background: var(--gt-abyss);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-video-num { font-size: 8px; letter-spacing: 0.4em; color: var(--gt-violet); margin-bottom: 6px; text-transform: uppercase; }
.gt-video-title { font-family: var(--gt-font-display); font-size: 15px; font-weight: 600; color: var(--gt-white); margin-bottom: 4px; letter-spacing: 0.05em; }
.gt-video-role { font-size: 10px; letter-spacing: 0.12em; color: var(--gt-cyan); margin-bottom: 8px; }
.gt-video-desc { font-size: 13px; line-height: 1.7; color: var(--gt-text); letter-spacing: 0.02em; }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.gt-about-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 72px;
  align-items: start;
}

.gt-about-header-label {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 10px;
}

.gt-about-header-label::before { content: '// '; }

.gt-about-name {
  font-family: var(--gt-font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
  margin-bottom: 8px;
}

.gt-about-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
  margin-bottom: 28px;
}

.gt-about-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gt-text);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  padding-left: 18px;
  border-left: 1px solid var(--gt-border-mid);
}

.gt-about-section-label {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gt-violet);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gt-border);
}

/* Skills — segmented bar style */
.gt-skill-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,255,200,0.05);
}

.gt-skill-name {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gt-text);
  text-transform: uppercase;
  width: 180px;
  flex-shrink: 0;
}

.gt-pip-wrap {
  display: flex;
  gap: 3px;
  align-items: center;
}

.gt-pip-on {
  width: 18px;
  height: 3px;
  background: var(--gt-cyan);
  box-shadow: 0 0 6px var(--gt-cyan);
}

.gt-pip-off {
  width: 18px;
  height: 3px;
  background: rgba(0,255,200,0.08);
  border: 1px solid rgba(0,255,200,0.15);
}

/* Education */
.gt-edu-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--gt-border);
}

.gt-edu-degree {
  font-size: 14px;
  color: var(--gt-white);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.gt-edu-school {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gt-cyan);
}

/* About photo */
.gt-about-photo {
  position: sticky;
  top: 100px;
}

.gt-about-photo-frame {
  position: relative;
  padding: 2px;
  border: 1px solid var(--gt-border-mid);
  box-shadow: 0 0 30px rgba(0,255,200,0.06);
  background: var(--gt-deep);
}

.gt-about-photo-frame::before {
  content: '> AGENT_IDENTIFIED';
  display: block;
  padding: 8px 14px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--gt-violet);
  border-bottom: 1px solid var(--gt-border);
  background: var(--gt-abyss);
}

.gt-about-photo-frame img {
  width: 100%;
  display: block;
  filter: saturate(0.7) contrast(1.05);
}

.gt-about-photo-frame::after {
  content: '[ CLEARANCE: FULL ]';
  display: block;
  padding: 8px 14px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--gt-cyan);
  border-top: 1px solid var(--gt-border);
  background: var(--gt-abyss);
  text-align: right;
}

/* Clients */
.gt-client-list { display: flex; flex-direction: column; }

.gt-client-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--gt-border);
  padding: 16px 0;
  gap: 0;
  transition: background 0.2s;
}

.gt-client-row:hover { background: rgba(0,255,200,0.02); }

.gt-client-name {
  font-family: var(--gt-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gt-cyan);
}

.gt-client-desc {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gt-text);
  line-height: 1.6;
}

/* Contact cards */
.gt-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}

.gt-contact-card {
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--gt-border);
  background: rgba(0,0,0,0.2);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.gt-contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(0,255,200,0.04), transparent);
  transition: left 0.5s;
}

.gt-contact-card:hover::before { left: 100%; }
.gt-contact-card:hover { border-color: var(--gt-border-mid); box-shadow: var(--gt-glow-sm); background: rgba(0,255,200,0.02); }

.gt-contact-icon { font-family: var(--gt-font-display); font-size: 22px; font-weight: 800; color: var(--gt-cyan); margin-bottom: 10px; text-shadow: var(--gt-glow-text); }
.gt-contact-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gt-white); margin-bottom: 4px; }
.gt-contact-sub { font-size: 9px; letter-spacing: 0.1em; color: var(--gt-text-dim); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.gt-footer {
  border-top: 1px solid var(--gt-border-mid);
  background: var(--gt-void);
  padding: 40px 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.gt-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gt-cyan), var(--gt-violet), transparent);
  box-shadow: 0 0 10px rgba(0,255,200,0.2);
}

.gt-footer-name {
  font-family: var(--gt-font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gt-cyan);
  text-shadow: var(--gt-glow-text);
  margin-bottom: 4px;
}

.gt-footer-name::before { content: '> '; color: var(--gt-violet); }

.gt-footer-loc {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
}

.gt-footer-copy {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gt-text-dim);
}

.gt-footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.gt-footer-links a {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-text-dim);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.gt-footer-links a:hover { color: var(--gt-cyan); text-shadow: var(--gt-glow-text); }

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════════════ */
#lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,5,7,0.97);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}

#lb-overlay.lb-open { display: flex; }
body.lb-active { overflow: hidden; }
body.lb-active .gt-scanlines { display: none; }

#lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--gt-border-mid);
  box-shadow: 0 0 60px rgba(0,255,200,0.1);
}

#lb-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: transparent;
  border: 1px solid var(--gt-border-mid);
  color: var(--gt-cyan);
  font-size: 12px;
  width: 32px;
  height: 32px;
  cursor: none;
  font-family: var(--gt-font-mono);
  transition: background 0.2s, box-shadow 0.2s;
}

#lb-close:hover { background: rgba(0,255,200,0.1); box-shadow: var(--gt-glow-sm); }

#lb-img { max-width: 80vw; max-height: 72vh; object-fit: contain; display: block; }

#lb-caption { padding: 10px 0 0; }
#lb-title { font-family: var(--gt-font-display); font-size: 14px; color: #111; letter-spacing: 0.05em; }
#lb-desc { font-size: 12px; color: #555; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════════ */
.gt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gt-reveal.revealed { opacity: 1; transform: none; }
.gt-delay-1 { transition-delay: 0.1s; }
.gt-delay-2 { transition-delay: 0.2s; }
.gt-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════════════════════ */
@keyframes gt-rain-fall {
  0%   { transform: translateY(0); }
  100% { transform: translateY(250%); }
}

@keyframes gt-spectral-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.3; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes gt-core-pulse {
  0%, 100% { opacity: 1;   transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.4; transform: translate(-50%, -50%) scale(0.7); }
}

@keyframes gt-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes gt-glitch {
  0%, 84%, 100% { transform: none; text-shadow: 0 0 16px rgba(0,255,200,0.6); color: var(--gt-cyan); }
  85% { transform: translateX(-3px); clip-path: inset(10% 0 80% 0); color: var(--gt-magenta); text-shadow: 3px 0 0 var(--gt-violet); }
  87% { transform: translateX(3px);  clip-path: inset(60% 0 10% 0); color: var(--gt-cyan); }
  89% { transform: translateX(-1px); clip-path: inset(35% 0 45% 0); color: var(--gt-magenta); text-shadow: -3px 0 0 var(--gt-violet); }
  91% { transform: none;             clip-path: none; color: var(--gt-cyan); text-shadow: 0 0 16px rgba(0,255,200,0.6); }
}

@keyframes gt-ghost-echo {
  0%, 84%, 100% { opacity: 0; }
  85% { opacity: 0.6; }
  91% { opacity: 0; }
}

@keyframes gt-status-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes gt-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@keyframes gt-load-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes gt-scan-flicker {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: 0.88; }
  99% { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .gt-nav-links { display: none; }
  .gt-hamburger { display: flex; }
  .gt-nav-theme { margin-left: 12px; }

  .gt-hero { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; min-height: 100vh; }
  .gt-hero-left { display: none; }
  .gt-hero-right { padding: 100px 32px 80px; }
  .gt-hero-name { font-size: clamp(40px, 10vw, 72px); }

  .gt-section { padding: 60px 24px; }
  .gt-page-top { padding: 100px 24px 40px; }

  .gt-protocol { grid-template-columns: 1fr; }
  .gt-protocol-num { border-right: none; border-bottom: 1px solid var(--gt-border); padding: 20px 24px; }
  .gt-protocol-body { padding: 20px 24px; }
  .gt-protocol-cta { border-left: none; border-top: 1px solid var(--gt-border); padding: 16px 24px; min-width: auto; }

  .gt-featured { grid-template-columns: 1fr; }
  .gt-feat:first-child { grid-column: auto; grid-row: auto; }

  .gt-proj-panel { grid-template-columns: 1fr; }
  .gt-proj-panel.flip { direction: ltr; }
  .gt-proj-img { aspect-ratio: 16/9; }
  .gt-proj-info { padding: 28px 24px; }

  .gt-anim-item { grid-template-columns: 1fr; }
  .gt-anim-thumb { aspect-ratio: 16/9; width: 100%; }
  .gt-anim-info { border-left: none; border-top: 1px solid var(--gt-border); padding: 18px 24px; }

  .gt-video-item { grid-template-columns: 1fr; }
  .gt-video-embed { aspect-ratio: 16/9; }
  .gt-video-info { border-left: none; border-top: 1px solid var(--gt-border); padding: 18px 24px; }

  .gt-about-layout { grid-template-columns: 1fr; }
  .gt-about-photo { position: static; margin-bottom: 40px; max-width: 210px; }
  .gt-skill-name { width: 140px; }

  .gt-footer { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 20px; }
  .gt-footer-links { justify-content: center; }

  .gt-testi-header { flex-wrap: wrap; padding: 12px 20px; }
  .gt-testi-body { padding: 20px; }
  .gt-testi-footer { padding: 10px 20px; }

  .gt-client-row { grid-template-columns: 1fr; gap: 4px; }

  .theme-ghost-terminal { cursor: auto; }
  .gt-cursor-dot, .gt-cursor-ring { display: none; }
}

@media (max-width: 600px) {
  .gt-render-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-contact-grid { grid-template-columns: 1fr 1fr; }
  .gt-press { gap: 2px; }
  .gt-hero-name { font-size: clamp(36px, 11vw, 56px); }
}
@media (max-width: 480px) {
  .gt-section { padding: 40px 16px; }
  .gt-video-item { grid-template-columns: 1fr; }
  .gt-contact-grid { grid-template-columns: 1fr; }
  .gt-render-grid { grid-template-columns: 1fr 1fr; }
  .gt-slider-grid { grid-template-columns: 1fr; }
  .gt-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-hero-name { font-size: clamp(28px, 9vw, 44px); }
  .gt-page-top { padding: 28px 16px 16px; }
  .gt-footer { padding: 24px 16px; }
  .gt-footer-inner { flex-direction: column; gap: 16px; }
}
@media (max-width: 360px) {
  .gt-section { padding: 32px 12px; }
  .gt-nav { padding: 0 12px; }
  .gt-hero-name { font-size: clamp(22px, 7vw, 36px); }
  .gt-render-grid { grid-template-columns: 1fr; }
  .gt-tabs-wrap { gap: 4px; }
}
