/* ===================================================================
   EXECUTIVE PORTFOLIO DESIGN SYSTEM - P. V. M. KRISHNA
   Benchmarks: McKinsey / Harvard Business Review Executive Design
   - Palette: Deep Executive Slate (#090D16), Pure Off-White (#F8FAFC), Precision Cyan (#38BDF8)
   - Typography: Plus Jakarta Sans (Unified font system)
   - Equalized card heights, proportional image exhibits, and generous breathing room
   =================================================================== */

:root {
  /* Core 3-Tone Palette */
  --bg-canvas: #090d16;
  --bg-surface-alt: #0d1322;
  --bg-card: #12192c;
  --bg-card-hover: #172038;

  --text-title: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;

  --accent: #38bdf8;
  --accent-muted: rgba(56, 189, 248, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.2s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   TYPOGRAPHY HIERARCHY & UNIFIED SECTION GEOMETRY
   =================================================================== */
.section {
  padding: 88px 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.section:last-of-type,
#contact.section {
  border-bottom: none;
}

/* Neutralized .section-alt for consistent background geometry across all sections */
.section-alt {
  background-color: transparent;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  margin-bottom: 48px;
  max-width: 980px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.65rem, 2.15vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 740px;
}

/* ===================================================================
   NAVIGATION HEADER
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(9, 13, 22, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-monogram {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #090d16;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

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

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  margin-left: auto;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 36px;
  flex-shrink: 0;
}

.nav-cta-btn {
  white-space: nowrap;
  letter-spacing: -0.01em;
  padding: 8px 18px;
  font-size: 0.84rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-title);
  transition: var(--transition);
}

/* ===================================================================
   BUTTONS (CLEAN & MINIMALIST)
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #090d16;
}

.btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-title);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.82rem;
}

/* ===================================================================
   HERO SECTION (LINKEDIN EXECUTIVE STAGE ARCHITECTURE)
   =================================================================== */
.hero-section {
  padding-top: 105px;
  padding-bottom: 50px;
}

.linkedin-stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 40px;
  transition: var(--transition);
}

.linkedin-stage-card:hover {
  border-color: var(--border-hover);
}

.stage-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  max-height: none;
  background: #080d1a;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: var(--transition);
}

.stage-cover-frame:hover .stage-cover-img {
  transform: scale(1.005);
}

.stage-cover-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.stage-body {
  padding: 0 36px 34px 36px;
  position: relative;
  background: var(--bg-card);
}

.stage-avatar-wrapper {
  margin-top: -24px;
  margin-bottom: 18px;
  position: relative;
  z-index: 5;
  width: 120px;
  height: 120px;
}

.stage-avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #000;
}

.stage-content-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.stage-text-block {
  flex: 1;
}

.stage-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.stage-primary-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stage-aka-pill {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.stage-official-headline {
  font-size: 0.96rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.55;
  max-width: 820px;
  margin-bottom: 14px;
}

.stage-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.stage-location {
  color: var(--text-body);
}

.stage-divider {
  color: var(--text-muted);
  opacity: 0.6;
}

.stage-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.stage-link:hover {
  text-decoration: underline;
}

.stage-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: #e0f2fe;
}

.stage-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Strategic Thesis Block */
.hero-thesis-block {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.hero-thesis-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin: 10px 0 12px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #e0f2fe;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.credential-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cred-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #e2e8f0;
}

.cred-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.footer-trademark-container {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-trademark {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   BLUEPRINT EXHIBIT (FULL PROPORTIONAL SHOWCASE)
   =================================================================== */
.blueprint-showcase {
  max-width: 1040px;
  margin: 0 auto;
}

.blueprint-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  background: #000;
  transition: var(--transition);
}

.blueprint-frame:hover {
  border-color: var(--border-hover);
}

.blueprint-img {
  width: 100%;
  height: auto;
  display: block;
}

.blueprint-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(9, 13, 22, 0.9));
  display: flex;
  justify-content: flex-end;
}

.blueprint-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(9, 13, 22, 0.85);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hover);
}

.blueprint-legend {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.blueprint-legend strong {
  color: var(--text-body);
}

/* ===================================================================
   EXECUTIVE CARDS & UNIFORM GRIDS
   =================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-featured {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--bg-card) 100%);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.62;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.meta-bullet {
  font-size: 0.82rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 14px;
}

.meta-bullet::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===================================================================
   S.A.I.L. METRICS DASHBOARD
   =================================================================== */
.metric-card {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
}

.metric-category {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.metric-stat {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.metric-suffix {
  font-size: 1.8rem;
  color: var(--accent);
}

.metric-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.metric-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.metric-line strong {
  color: #e2e8f0;
}

/* ===================================================================
   THE TRANSFORMATION ENGINE (5 LOBES TABS)
   =================================================================== */
.tabs-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.tab-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-title);
}

.tab-btn.active {
  background: var(--accent-muted);
  border-color: var(--border-hover);
  color: var(--text-title);
}

.tab-btn-num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.tab-btn-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-in-out forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.pane-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 12px;
}

.pane-description {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 22px;
}

.pane-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.pane-block {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.pane-block h4 {
  font-size: 0.92rem;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 600;
}

.pane-block p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

.pane-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pane-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
}

/* ===================================================================
   C.A.O. CASE STUDIES & FILTERS
   =================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--text-title);
  border-color: var(--border-hover);
}

.filter-pill.active {
  background: var(--accent);
  color: #090d16;
  border-color: var(--accent);
  font-weight: 600;
}

.case-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--border-hover);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.case-client {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.case-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 18px;
}

.cao-item {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--border-hover);
  border-radius: var(--radius-sm);
}

.cao-item p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
}

.cao-outcome {
  border-left-color: var(--accent);
  margin-bottom: 0;
}

.cao-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.cao-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.cao-list li {
  font-size: 0.84rem;
  color: #e2e8f0;
  position: relative;
  padding-left: 14px;
}

.cao-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===================================================================
   TOPOLOGY / LABS BOX
   =================================================================== */
.topology-box {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.topology-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ===================================================================
   BOARDROOM REGISTRATION BOX
   =================================================================== */
.reg-box {
  padding: 12px 14px;
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

.reg-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.reg-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 2px;
}

.reg-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ===================================================================
   TIMELINE & ACCREDITATION MATRIX
   =================================================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-row {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-title);
}

.timeline-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cert-matrix {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert-item {
  font-size: 0.85rem;
  color: #e2e8f0;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cert-org {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-box {
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  width: 100%;
  margin: 0 auto;
  transition: var(--transition);
}

.contact-box:hover {
  border-color: var(--border-hover);
}

.contact-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--text-title);
  margin: 10px 0 12px 0;
}

.contact-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  padding: 14px 18px;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.channel-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-title);
  text-decoration: none;
  transition: var(--transition);
}

.channel-link:hover {
  color: var(--accent);
}

.channel-plain {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.copy-pill {
  align-self: flex-start;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.copy-pill:hover {
  background: var(--accent);
  color: #090d16;
}

.contact-btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================================
   LIGHTBOX MODAL
   =================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  background: #090d16;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hover);
  overflow: hidden;
  animation: modalZoom 0.2s ease-in-out forwards;
}

@keyframes modalZoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-caption {
  padding: 14px 20px;
  background: #0d1322;
  font-size: 0.85rem;
  color: #cbd5e1;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.8rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--accent);
  color: #090d16;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  background: #060911;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left strong {
  font-size: 0.95rem;
  color: var(--text-title);
}

.footer-left p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-right {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* ===================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   =================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tabs-container {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 1040px) {
  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .menu-toggle {
    display: flex;
  }
  .nav-actions {
    margin-left: auto;
  }
  .stage-content-row {
    flex-direction: column;
    gap: 20px;
  }
  .stage-actions-col {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .hero-section {
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .stage-cover-frame {
    aspect-ratio: 1376 / 768;
    max-height: none;
  }
  .stage-body {
    padding: 0 18px 22px 18px;
  }
  .stage-avatar-wrapper {
    margin-top: -16px;
    width: 84px;
    height: 84px;
  }
  .stage-avatar-img {
    width: 84px;
    height: 84px;
  }
  .stage-primary-name {
    font-size: 1.35rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .hide-mobile {
    display: none;
  }
  .grid-2, .grid-4, .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 32px 20px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
}
