/* ============================================================
   ALDO RIZKIAWAN — OBSIDIAN DECK & DEVELOPER CLI
   Signature Personal Identity Style System
   ============================================================ */

/* ── Custom Properties: Obsidian Theme ──────────────────── */
:root {
  /* LIGHT THEME (DEFAULT) */
  --bg-canvas: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #e2e8f0;
  --bg-header: rgba(248, 250, 252, 0.85);

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --gold: #d97706;
  --gold-hover: #b45309;
  --gold-light: rgba(217, 119, 6, 0.12);
  --gold-border: rgba(217, 119, 6, 0.2);

  --emerald: #059669;
  --emerald-light: rgba(5, 150, 105, 0.12);
  --emerald-border: rgba(5, 150, 105, 0.2);

  --cyan: #0891b2;
  --cyan-light: rgba(8, 145, 178, 0.12);

  --border: #e2e8f0;
  --border-hover: #cbd5e1;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.15);

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --header-height: 64px;
  --dock-height: 60px;
}

[data-theme="dark"] {
  --bg-canvas: #0b0f19;
  --bg-card: #131b2e;
  --bg-subtle: #1e293b;
  --bg-dark: #070a10;
  --bg-header: rgba(11, 15, 25, 0.92);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --gold: #f59e0b;
  --gold-hover: #d97706;
  --gold-light: rgba(245, 158, 11, 0.12);
  --gold-border: rgba(245, 158, 11, 0.3);

  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.3);

  --cyan: #06b6d4;
  --cyan-light: rgba(6, 182, 212, 0.12);

  --border: #1e293b;
  --border-hover: #334155;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.2);
}

/* ── Reset & Baseline ────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.code-font {
  font-family: var(--font-code);
}

/* ── Top Header Navigation ───────────────────────────────── */
#deck-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-link-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--gold);
}

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

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.nav-item.active {
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-weight: 600;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Persona Switcher */
.persona-switcher {
  display: flex;
  background: var(--bg-card);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.persona-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.persona-btn:hover {
  color: var(--text-main);
}

.persona-btn.active {
  background: var(--gold);
  color: #000;
}

/* Terminal Trigger Button */
.terminal-trigger-btn {
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.terminal-trigger-btn:hover {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

button * {
  pointer-events: none;
}

.slide-counter {
  font-family: var(--font-code);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  background: var(--bg-card);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.counter-sep {
  color: var(--text-light);
}

/* ── Main Deck Container & Slide Engine ──────────────────── */
#deck-container {
  position: fixed;
  top: var(--header-height);
  bottom: var(--dock-height);
  left: 0;
  right: 0;
  overflow: hidden;
}

.slides-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 32px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 10;
}

.slide:focus {
  outline: none;
}

.slide-content {
  width: 100%;
  max-width: 980px;
  margin: auto;
}

/* ── Typography & Headers ────────────────────────────────── */
.section-kicker {
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.section-subdesc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ── SLIDE 1: INTRO HERO ─────────────────────────────────── */
.hero-profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  /* Fallback */
}

.hero-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge-pill.amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
}

.pulse-dot-amber {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  animation: pulse-amber 2s infinite;
}

@keyframes pulse-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.geophysics-badge {
  font-family: var(--font-code);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-main);
  max-width: 880px;
  margin-bottom: 20px;
}

.accent-text-gold {
  color: var(--gold);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.65;
  max-width: 740px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tag {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary.gold {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-primary.gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-terminal {
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.btn-terminal:hover {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-subtle);
}

/* ── SLIDE 2: ABOUT & SIGNAL BANNER ─────────────────────── */
.signal-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signal-wave-svg {
  width: 100%;
  height: 40px;
}

.signal-caption {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.about-text p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 16px;
}

.inline-link-gold {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.about-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.metric-card.gold {
  border-left: 4px solid var(--gold);
}

.metric-card.cyan {
  border-left: 4px solid var(--cyan);
}

.metric-card.emerald {
  border-left: 4px solid var(--emerald);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── SLIDE 3: WORK EXPERIENCE TIMELINE ──────────────────── */
.timeline-deck {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.timeline-card.active-job {
  border-left: 4px solid var(--gold);
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.company {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.tech-pill-sm {
  font-family: var(--font-code);
  font-size: 0.7rem;
  background: var(--emerald-light);
  color: var(--emerald);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--emerald-border);
}

.job-badge.amber {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--gold);
  background: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
}

.job-badge {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.job-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ── SLIDE 4: CAPABILITIES & TECH STACK ────────────────── */
.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.summary-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.box-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.summary-box h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.summary-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.stack-section {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stack-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stack-cat {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
}

.pill.gold {
  background: var(--gold-light);
  border-color: var(--gold-border);
  color: var(--gold);
  font-weight: 600;
}

.pill.emerald {
  background: var(--emerald-light);
  border-color: var(--emerald-border);
  color: var(--emerald);
  font-weight: 600;
}

.pill.cyan {
  background: var(--cyan-light);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--cyan);
  font-weight: 600;
}

/* ── SLIDE 5: PROJECTS ──────────────────────────────────── */
.projects-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-deck-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.project-deck-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.project-tag.amber {
  background: var(--gold-light);
  color: var(--gold);
}

.project-tag.emerald {
  background: var(--emerald-light);
  color: var(--emerald);
}

.project-tag.cyan {
  background: var(--cyan-light);
  color: var(--cyan);
}

.project-links {
  display: flex;
  gap: 6px;
}

.project-btn {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.project-btn.gold {
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
}

.project-btn.emerald {
  color: var(--emerald);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
}

.project-btn.cyan {
  color: var(--cyan);
  background: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.project-btn.secondary {
  color: var(--text-body);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.project-description {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── SLIDE 6: PHOTOGRAPHY ───────────────────────────────── */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: var(--shadow-sm);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-thumb:hover img {
  transform: scale(1.06);
}

.photo-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.exif-badge {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 4px;
}

.photo-thumb-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.photo-thumb-icon {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.photo-cta-bar {
  text-align: center;
}

/* ── SLIDE 7: CONTACT ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--gold-border);
  background: var(--gold-light);
  transform: translateX(4px);
}

.contact-card .icon {
  font-size: 1.3rem;
}

.contact-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card .val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact Form */
.deck-contact-form {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-canvas);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-card);
}

.form-btn {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  font-size: 0.82rem;
  color: var(--emerald);
  font-weight: 600;
  text-align: center;
}

.slide-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Bottom Dock Navigation ─────────────────────────────── */
#deck-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--dock-height);
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.dock-inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock-shortcut-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kbd {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

.dock-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 10px;
}

.dock-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ── Lightbox Modal ──────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, 0.9);
  backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-body {
  position: relative;
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
}

.lightbox-body img {
  max-width: 100%;
  max-height: 68vh;
  display: block;
  object-fit: contain;
}

.lightbox-info {
  padding: 12px 18px;
  background: rgba(19, 27, 46, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-weight: 600;

}

.lightbox-exif-specs {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 2px;
}

.lightbox-counter {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-code);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: #000;
}

.lightbox-nav.prev {
  left: -60px;
}

.lightbox-nav.next {
  right: -60px;
}

/* ── Interactive CLI Modal Overlay ───────────────────────── */
.cli-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cli-modal.open {
  opacity: 1;
  visibility: visible;
}

.cli-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(8px);
}

.cli-dialog {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 680px;
  background: #0d1322;
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cli-header {
  height: 38px;
  background: #080c16;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.cli-dots {
  display: flex;
  gap: 6px;
}

.cli-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cli-dot.red {
  background: #ef4444;
}

.cli-dot.yellow {
  background: #f59e0b;
}

.cli-dot.green {
  background: #10b981;
}

.cli-title {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cli-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.cli-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  background: #090e1a;
  border-bottom: 1px solid var(--border);
}

.cli-chip {
  font-family: var(--font-code);
  font-size: 0.74rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--emerald);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.cli-chip:hover {
  background: var(--emerald-light);
}

.cli-screen {
  height: 260px;
  padding: 16px;
  overflow-y: auto;
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cli-line.muted {
  color: var(--text-muted);
}

.cmd-text {
  color: var(--gold);
}

.cmd-res {
  color: var(--emerald);
}

.cli-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #070a10;
  border-top: 1px solid var(--border);
}

.cli-prompt {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--emerald);
}

#cli-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-code);
  font-size: 0.88rem;
  outline: none;
}

/* ── Responsive Breakpoints ──────────────────────────────── */
@media (max-width: 860px) {

  .deck-nav,
  .persona-switcher {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dock-shortcut-hint {
    display: none;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }
}