/* ==========================================================================
   DARK BENTO SYSTEMS & ENGINEERING WORKBENCH STYLESHEET
   ========================================================================== */

:root {
  /* Surface & Base Colors */
  --bg-core: #090d16;
  --bg-surface: rgba(13, 17, 23, 0.72);
  --bg-surface-elevated: rgba(22, 27, 34, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(6, 182, 212, 0.4);

  /* Precise Technical Accents */
  --cyan-primary: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.16);
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.16);
  --amber-accent: #f59e0b;

  /* Typography Scales & Neutrals */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Transitions */
  --radius-card: 16px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Engineering Blueprint Grid & Radiance */
.workbench-grid {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  top: -15%;
  left: 20%;
  width: 60vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

/* Layout Constraint */
.layout-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

/* Monospace Utilities */
.mono-prefix, .skill-spec, .metric-unit, .badge-role, .edu-badge, .score-label {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.text-cyan { color: var(--cyan-primary); }
.text-emerald { color: var(--emerald-accent); }
.text-white { color: #ffffff; }

/* Bento Card Base with Dynamic Glow Tracker */
.bento-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.75rem;
  transition: transform var(--transition-fast), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
}

/* Radial Pointer Spotlight layer injected via JS */
.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    rgba(6, 182, 212, 0.12),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

.bento-card > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO / IDENTITY SECTION
   ========================================================================== */

.hero-section {
  margin-bottom: 3.5rem;
}

.status-badge-wrapper {
  margin-bottom: 1.25rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a7f3d0;
  font-family: var(--font-mono);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent);
  animation: pulse-ring 2.2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero-headline .divider {
  color: var(--text-muted);
  margin: 0 0.35rem;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.icon-geo {
  width: 14px;
  height: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.action-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(30, 41, 59, 0.9);
}

.action-btn-accent {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--cyan-primary);
}

.action-btn-accent:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan-primary);
  color: #ffffff;
}

.hero-bio {
  max-width: 820px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-identity-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-card);
  border: 2px solid rgba(6, 182, 212, 0.4);
  background: var(--bg-surface-elevated);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-smooth);
}

.hero-avatar-wrapper:hover .hero-avatar {
  transform: scale(1.02);
  border-color: var(--cyan-primary);
}

/* Subtle cyan ambient glow behind the avatar */
.avatar-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  border-radius: var(--radius-card);
  z-index: 1;
  filter: blur(10px);
  pointer-events: none;
}

/* Ensure Copy Email Button in Hero doesn't overlap text */
#copy-email-hero-btn {
  margin-top: 0.85rem;
}

/* ==========================================================================
   PROFILE IMAGE LIGHTBOX MODAL
   ========================================================================== */

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: scale(0.92);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.image-modal.is-active .modal-content {
  transform: scale(1);
}

.modal-avatar-img {
  width: min(80vw, 320px);
  height: min(80vw, 320px);
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  border: 2px solid var(--cyan-primary);
  box-shadow: 
    0 0 25px rgba(6, 182, 212, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.8);
}

.modal-close-hint {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   METRICS BAR
   ========================================================================== */

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.metric-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.6) 0%, rgba(13, 17, 23, 0.8) 100%);
}

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.metric-val {
  font-size: 2.35rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */

.workbench-section {
  margin-bottom: 4rem;
}

.section-title-wrap {
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.mono-prefix {
  color: var(--cyan-primary);
  margin-right: 0.5rem;
  font-weight: 500;
}

.title-meta {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.badge-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-role {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.badge-live {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.badge-dev {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan-primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.pulse-dot-dev {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 6px var(--cyan-primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0; /* CRITICAL: Stops the icon from getting crushed */
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.card-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.card-link:hover {
  color: var(--cyan-primary);
  transform: translateY(-1px);
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.highlight-bullet {
  color: var(--cyan-primary);
  font-family: var(--font-mono);
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ==========================================================================
   TECHNICAL ARSENAL (FILTERABLE)
   ========================================================================== */

.skills-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.filter-nav {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: #ffffff;
}

.filter-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.skill-tile {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: opacity 250ms ease, transform 250ms ease;
}

.skill-tile.is-hidden {
  display: none;
}

.skill-spec {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.spec-cyan { color: var(--cyan-primary); }
.spec-amber { color: var(--amber-accent); }
.spec-emerald { color: var(--emerald-accent); }

.skill-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.skill-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   EXPERIENCE & LEADERSHIP
   ========================================================================== */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.exp-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exp-timeline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-primary);
  margin-bottom: 0.5rem;
}

.exp-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.exp-org {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.exp-details {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EDUCATION
   ========================================================================== */

.education-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(13, 17, 23, 0.9) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.edu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.edu-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--cyan-primary);
  background: rgba(6, 182, 212, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.edu-degree {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.edu-institution {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.edu-score-badge {
  text-align: right;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.score-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.score-number {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald-accent);
}

.score-denom {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.edu-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.edu-timeline {
  font-family: var(--font-mono);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-workbench {
  margin-top: 5rem;
}

.footer-card {
  padding: 3rem 2.5rem;
  text-align: left;
}

.footer-callout {
  margin-bottom: 2rem;
}

.callout-indicator {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--cyan-primary);
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.contact-btn-primary {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #ffffff;
  font-family: var(--font-mono);
}

.contact-btn-primary:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.btn-icon {
  width: 18px;
  height: 18px;
  color: var(--cyan-primary);
}

.copy-badge {
  font-size: 0.6875rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-links-row {
  display: flex;
  gap: 0.75rem;
}

.contact-btn-ghost {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.contact-btn-ghost:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.arrow-glyph {
  font-family: var(--font-mono);
  color: var(--cyan-primary);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mono-fine {
  font-family: var(--font-mono);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #f8fafc;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--emerald-accent);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

@media (max-width: 960px) {
  .projects-grid,
  .exp-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-name {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .layout-container {
    padding: 2rem 1rem;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    size: 10%;
  }

  .action-btn {
    flex: 10;
    justify-content: center;
    display: flex;
    size: 10%;
    
  }

  .edu-score-badge {
    text-align: left;
    width: 100%;
  }

  .footer-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .social-links-row {
    width: 100%;
  }

  .social-links-row .contact-btn-ghost {
    flex: 1;
    justify-content: center;
  }
  .hero-identity-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .hero-avatar-wrapper {
    width: 96px;
    height: 96px;
  }
    html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Allow skill filter buttons to wrap neatly on narrow screens */
  .filter-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.4rem;
  }

  .filter-tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.4rem 0.6rem;
  }
}
