/* ==========================================================================
   P O N — Luxury Dark Design System
   Art Direction: Obsidian, Smoked Glass & Liquid Champagne Gold
   Aesthetics: Inspired by BlackGold & Minimalist Modern Workspaces
   Typography: Self-Hosted Vazirmatn (FA) + Syne (Display) + Plus Jakarta Sans
   Interactive: Living Code/ASCII Retina Eye, Cursor Spotlight, Ambient Canvas
   Zero Emojis · WCAG AA Contrast · Fluid Clamp Scaling
   ========================================================================== */

/* Self-Hosted Vazirmatn WOFF2 (Local Hosting - 0ms Dependency) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces & Atmosphere */
  --bg-void: #07080B;
  --bg-surface: #0D0F15;
  --bg-surface-elevated: #131620;
  --bg-card: rgba(16, 20, 29, 0.68);
  --bg-card-hover: rgba(22, 27, 39, 0.85);
  --bg-island: rgba(10, 12, 18, 0.82);

  /* Hairline Borders */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(229, 193, 88, 0.28);
  --border-gold-glow: rgba(229, 193, 88, 0.45);

  /* Accents — Liquid Gold & Ice Azure */
  --accent-gold: #E5C158;
  --accent-gold-light: #F3E5AB;
  --accent-gold-subtle: rgba(229, 193, 88, 0.12);
  --accent-gold-glow: rgba(229, 193, 88, 0.22);
  --accent-azure: #38BDF8;
  --accent-azure-subtle: rgba(56, 189, 248, 0.12);

  /* Typography Colors */
  --text-pure: #F9FAFB;
  --text-high: #E5E7EB;
  --text-medium: #9CA3AF;
  --text-muted: #6B7280;
  --text-gold: #E5C158;

  /* Typography Families */
  --font-display-en: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Sizing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --ease-snappy: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-void);
  color: var(--text-high);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.luxury-dark {
  font-family: var(--font-body-en);
  background-color: var(--bg-void);
  color: var(--text-high);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* RTL Support */
[dir="rtl"] body.luxury-dark {
  font-family: var(--font-fa);
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .hero-headline,
[dir="rtl"] .section-title,
[dir="rtl"] .contact-title {
  font-family: var(--font-fa);
  letter-spacing: -0.01em;
  font-weight: 800;
}

[dir="ltr"] body.luxury-dark {
  font-family: var(--font-body-en);
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .hero-headline,
[dir="ltr"] .section-title,
[dir="ltr"] .brand-monogram,
[dir="ltr"] .identity-brand {
  font-family: var(--font-display-en);
}

/* Interactive Ambient Canvas */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Ambient Radial Spotlights */
.ambient-spotlight {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.spot-top-left {
  top: -150px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.05) 0%, transparent 70%);
}

.spot-bottom-right {
  bottom: -200px;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
}

/* Master Layout Container */
.lux-container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Floating Island Header */
.floating-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  height: 3.5rem;
  background: var(--bg-island);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  padding-inline: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: border-color var(--ease-snappy);
}

.nav-island:hover {
  border-color: var(--border-highlight);
}

.brand-insignia {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-emblem {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  background: var(--bg-surface);
  object-fit: cover;
}

.brand-monogram {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-pure);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  color: var(--text-medium);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--ease-snappy);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-item:hover {
  color: var(--text-pure);
}

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Minimalist Utility Buttons */
.util-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-high);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease-snappy);
}

.util-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.lang-chip {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle-btn .bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-high);
  border-radius: 2px;
  transition: transform var(--ease-snappy);
}

@media (max-width: 820px) {
  .mobile-toggle-btn {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 1rem;
    right: 1rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.85rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  }
  .nav-menu.open {
    display: flex;
  }
}

/* Pill Buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ease-snappy);
  border: 1px solid transparent;
}

.pill-btn-primary {
  background: linear-gradient(135deg, #E5C158, #C8A951);
  color: #07080B;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.pill-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 193, 88, 0.4);
}

.pill-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-high);
  border-color: var(--border-hairline);
  backdrop-filter: blur(8px);
}

.pill-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Editorial Index & Headers */
.editorial-index {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.editorial-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 620px;
  line-height: 1.6;
}

/* Spotlight Card Base */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease-snappy), border-color var(--ease-snappy), box-shadow var(--ease-snappy);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(229, 193, 88, 0.09), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

/* Hero Section */
.hero-wrapper {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.28fr 0.82fr;
  }
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-pure);
}

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

.hero-lead {
  font-size: 1.1875rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.5rem;
}

.cred-separator {
  color: var(--border-highlight);
}

/* Hero Retina Eye Card (Procedural ASCII/Code Living Eye) */
.cyber-eye-card {
  padding: 1.75rem;
  background: radial-gradient(circle at 50% 25%, rgba(20, 26, 38, 0.85) 0%, rgba(9, 11, 16, 0.96) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

.eye-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  position: relative;
  z-index: 2;
}

.eye-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.eye-brand-tag .brand-monogram {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.eye-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  background: #030406;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: crosshair;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9);
  transition: border-color var(--ease-snappy), box-shadow var(--ease-snappy);
  z-index: 2;
}

.eye-canvas-wrapper:hover {
  border-color: var(--border-gold);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(229, 193, 88, 0.15);
}

.cyber-eye-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.eye-scanline-fx {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.3) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.02),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.02)
  );
  background-size: 100% 3px, 6px 100%;
  opacity: 0.7;
}

.eye-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
  margin-bottom: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.eye-telemetry {
  color: var(--text-medium);
  letter-spacing: 0.04em;
}

.eye-click-hint {
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  opacity: 0.8;
  font-weight: 500;
  transition: opacity var(--ease-snappy);
}

.eye-canvas-wrapper:hover + .eye-card-footer .eye-click-hint {
  opacity: 1;
}

.eye-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
  position: relative;
  z-index: 2;
}

.eye-id-main {
  display: flex;
  flex-direction: column;
}

.eye-id-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
}

.eye-id-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.card-glow-aurora {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 2;
}

.avatar-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem auto;
}

.identity-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background: var(--bg-surface);
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.avatar-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  z-index: 1;
}

.identity-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.identity-name {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.identity-bio {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34D399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.pulsing-ember {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
}

/* Content Sections */
.content-section {
  padding-block: 6rem;
  position: relative;
  z-index: 2;
}

/* Projects Showcase */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 950px) {
  .showcase-item {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* 3-Slide Interactive Gallery */
.gallery-viewport {
  position: relative;
  background: #050608;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.gallery-slider-rail {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform var(--ease-smooth);
}

.gallery-frame {
  width: 33.333%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050608;
}

.gallery-picture {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.gallery-dock {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 16, 23, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  z-index: 10;
}

.gallery-dock-caption {
  font-size: 0.8125rem;
  color: var(--text-medium);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.gallery-dock-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-ctrl-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-pure);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease-snappy);
}

.gallery-ctrl-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #07080B;
}

.gallery-dots-track {
  display: flex;
  gap: 0.35rem;
}

.gallery-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--ease-snappy);
}

.gallery-pip.active {
  background: var(--accent-gold);
  width: 18px;
  border-radius: var(--radius-pill);
}

/* Project Detail Panel */
.showcase-content {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.project-meta-kicker {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.project-head-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-synopsis {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.project-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #D1D5DB;
  margin-bottom: 0.45rem;
}

.feature-check-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tech-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-medium);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
}

/* Telegram Bots Section */
.bots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .bots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bot-card {
  display: flex;
  flex-direction: column;
}

.bot-media-wrap {
  width: 100%;
  height: 220px;
  background: #06080B;
  overflow: hidden;
}

.bot-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-smooth);
}

.bot-card:hover .bot-media-wrap img {
  transform: scale(1.03);
}

.bot-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.bot-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.bot-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
}

.bot-handle {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.bot-summary {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Narrative Grid & Philosophy Frame */
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 850px) {
  .narrative-grid {
    grid-template-columns: 1.35fr 0.95fr;
  }
}

.narrative-body p {
  color: var(--text-medium);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

/* Editorial Philosophy Frame (BlackGold inspired) */
.philosophy-frame {
  padding: 2.5rem 2rem;
  position: relative;
  background: linear-gradient(145deg, rgba(18, 22, 32, 0.75), rgba(10, 12, 18, 0.9));
  border-color: var(--border-gold);
}

.philosophy-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.philosophy-line {
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
}

.philosophy-kicker {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.philosophy-quote {
  font-size: 1.0625rem;
  color: var(--text-high);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Experience & Capabilities */
.timeline-stream {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  border-inline-start: 1px solid var(--border-highlight);
  padding-inline-start: 2rem;
  margin-inline-start: 0.5rem;
}

.timeline-entry {
  position: relative;
}

.timeline-amber-pip {
  position: absolute;
  inset-inline-start: calc(-2rem - 5px);
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.entry-card {
  padding: 1.75rem;
}

.entry-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.entry-company {
  font-size: 0.875rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.entry-period {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.entry-desc {
  font-size: 0.9375rem;
  color: var(--text-medium);
  margin-bottom: 0.75rem;
}

/* Capabilities Matrix */
.capabilities-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .capabilities-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cap-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.cap-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
}

.cap-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cap-item-row {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

.cap-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-high);
}

.cap-context {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

/* Contact Panel */
.contact-panel {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 540px;
  margin: 0 auto 2.5rem auto;
}

.contact-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-action-btn {
  padding: 0.85rem 1.6rem;
}

/* Minimal Luxury Footer */
.luxury-footer {
  border-top: 1px solid var(--border-hairline);
  padding-block: 3rem;
  background: #050608;
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-credit {
  color: var(--text-muted);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-link-btn {
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ease-snappy);
}

.footer-link-btn:hover {
  color: var(--accent-gold);
}

/* Spotlight Toast */
.spotlight-toast {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0E121B;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all var(--ease-snappy);
}

.spotlight-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Modal Sheet */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-sheet {
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.modal-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
}

.modal-exit-btn {
  background: transparent;
  border: none;
  color: var(--text-medium);
  cursor: pointer;
}

.modal-exit-btn:hover {
  color: var(--text-pure);
}

.modal-bullets {
  list-style: disc;
  margin-inline-start: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.modal-footer-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-hairline);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-canvas {
    display: none;
  }
}

/* Clean Print Stylesheet */
@media print {
  body.luxury-dark {
    background: #FFF !important;
    color: #111 !important;
    font-size: 10pt;
  }
  .floating-header, .ambient-canvas, .ambient-spotlight,
  .gallery-dock, .hero-ctas, .contact-cluster,
  .luxury-footer, .spotlight-toast, .modal-backdrop {
    display: none !important;
  }
  .content-section, .hero-wrapper {
    padding-block: 1rem !important;
  }
  .spotlight-card {
    background: #FFF !important;
    border: 1px solid #CCC !important;
    box-shadow: none !important;
    color: #111 !important;
  }
}
