/* ==========================================================================
   Akash Jaiswal — Desktop Dashboard & Design System (With Dark/Light Modes)
   ========================================================================== */

/* Light Theme Variables (Default own.page Pastel) */
:root {
  --bg-color: #FBF8F9;
  --bg-gradient: linear-gradient(180deg, #FBF8F9 0%, #F5ECF0 100%);
  --tile-bg: #FFFFFF;
  --tile-radius: 20px;
  --tile-border: rgba(0, 0, 0, 0.06);
  --tile-shadow: 0 4px 18px rgba(84, 67, 80, 0.04);

  --main-color: #433540;
  --secondary-color: #6C4964;
  --body-color: #796875;
  --muted-color: #9A8996;

  --accent-pink: #E8799E;
  --accent-purple: #8B5CF6;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --dashboard-max: 1380px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-color: #0F1117;
  --bg-gradient: linear-gradient(180deg, #0F1117 0%, #161922 100%);
  --tile-bg: #1A1D28;
  --tile-border: rgba(255, 255, 255, 0.07);
  --tile-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);

  --main-color: #F1F5F9;
  --secondary-color: #38BDF8;
  --body-color: #94A3B8;
  --muted-color: #64748B;
}

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

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

body {
  background: var(--bg-gradient);
  background-color: var(--bg-color);
  color: var(--body-color);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Floating Utility Bar — desktop */
.top-utility-bar {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile name label (hidden on desktop) */
.mobile-nav-name {
  display: none;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 12px;
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--secondary-color);
  box-shadow: 0 4px 12px var(--tile-shadow);
  backdrop-filter: blur(8px);
}

.utility-btn {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  color: var(--main-color);
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  cursor: pointer;
  box-shadow: var(--tile-shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.utility-btn:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-color);
}

/* Dashboard Wrapper */
.dashboard-wrapper {
  max-width: var(--dashboard-max);
  margin: 0 auto;
  padding: 2.2rem 1.8rem 1.8rem 1.8rem;
  display: grid;
  grid-template-columns: 310px 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.dash-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Bento Tile Base */
.bento-tile {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--tile-radius);
  padding: 1.5rem;
  box-shadow: var(--tile-shadow);
  transition: var(--transition);
}

.bento-tile:hover {
  border-color: rgba(108, 73, 100, 0.22);
  box-shadow: 0 8px 24px rgba(84, 67, 80, 0.07);
}

[data-theme="dark"] .bento-tile:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.tile-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  display: block;
  margin-bottom: 0.3rem;
}

.tile-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1.1rem;
}

/* Profile Tile */
.profile-tile {
  text-align: left;
}

.avatar-box {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 32px rgba(108, 73, 100, 0.22);
  border: 2px solid rgba(108, 73, 100, 0.18);
  background: linear-gradient(135deg, var(--accent-light), var(--tile-border));
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
}

.profile-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.profile-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.profile-bio {
  font-size: 0.88rem;
  color: var(--body-color);
  margin-bottom: 1rem;
}

.profile-bio strong {
  color: var(--main-color);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(108, 73, 100, 0.06);
  border-radius: 50px;
}

[data-theme="dark"] .status-pill {
  background: rgba(56, 189, 248, 0.1);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.profile-actions {
  margin-top: 1rem;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: rgba(108, 73, 100, 0.08);
  border: 1px solid var(--tile-border);
  color: var(--secondary-color);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

[data-theme="dark"] .btn-resume {
  background: rgba(56, 189, 248, 0.12);
}

.btn-resume:hover {
  background: var(--secondary-color);
  color: #FFF;
  transform: translateY(-2px);
}

/* GitHub Quick Card */
.github-tile {
  display: block;
  background: linear-gradient(135deg, #181717 0%, #2B2A2A 100%);
  color: #FFF;
}

.github-tile .tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.github-tile .github-icon {
  font-size: 1.5rem;
}

.github-tile .handle-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 50px;
}

.github-tile .github-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 0.3rem;
}

.github-tile .github-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Connect Tile */
.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--tile-border);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--main-color);
  margin-bottom: 0.3rem;
  width: 100%;
  justify-content: space-between;
}

[data-theme="dark"] .email-pill {
  background: rgba(255, 255, 255, 0.05);
}

.copy-btn {
  background: var(--secondary-color);
  color: #FFF;
  border: none;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--main-color);
}

.copy-toast {
  display: block;
  font-size: 0.75rem;
  color: #10B981;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-bottom: 0.8rem;
}

.copy-toast.show {
  opacity: 1;
}

.social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.social-chip {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--tile-border);
  border-radius: 50px;
  color: var(--secondary-color);
}

.resume-chip {
  background: rgba(108, 73, 100, 0.08);
  color: var(--secondary-color);
  font-weight: 600;
}

[data-theme="dark"] .resume-chip {
  background: rgba(56, 189, 248, 0.12);
}

[data-theme="dark"] .social-chip {
  background: rgba(255, 255, 255, 0.05);
}

.social-chip:hover {
  background: var(--secondary-color);
  color: #FFF;
}

/* Career Column */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.scrollable-timeline {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--tile-border) transparent;
}

.scrollable-timeline::-webkit-scrollbar {
  width: 5px;
}

.scrollable-timeline::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-timeline::-webkit-scrollbar-thumb {
  background: var(--tile-border);
  border-radius: 4px;
}

.scrollable-timeline::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.role-highlight {
  display: block;
  color: var(--main-color);
  font-weight: 600;
  font-size: 0.88rem;
}

.role-org {
  display: block;
  font-size: 0.78rem;
  color: var(--secondary-color);
  margin-top: 0.1rem;
}

.timeline-item {
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--tile-border);
}

.item-points {
  margin-top: 0.55rem;
  margin-bottom: 0.8rem;
  padding-left: 1.1rem;
  color: var(--main-color);
  font-size: 0.87rem;
  line-height: 1.5;
}

.item-points li {
  margin-bottom: 0.35rem;
}

.item-points li::marker {
  color: var(--secondary-color);
}

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

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.item-role {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--main-color);
}

.item-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-color);
}

.item-company {
  font-size: 0.88rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--body-color);
  margin-bottom: 0.5rem;
}

.item-desc strong {
  color: var(--main-color);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-list span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(108, 73, 100, 0.06);
  color: var(--secondary-color);
  padding: 2px 7px;
  border-radius: 4px;
}

[data-theme="dark"] .tag-list span {
  background: rgba(56, 189, 248, 0.1);
}

/* Talks & Writing */
.compact-block {
  margin-bottom: 1.1rem;
}

.compact-block:last-child {
  margin-bottom: 0;
}

.block-title {
  font-size: 0.92rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.compact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.compact-list a {
  color: var(--main-color);
}

.compact-list a:hover {
  color: var(--secondary-color);
}

.link-subtle {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-mini {
  font-size: 0.7em;
  opacity: 0.8;
}

.sub-video-link {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #FF0000;
  background: rgba(255, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.yt-badge:hover {
  background: #FF0000;
  color: #FFF;
}

.brand-logo-img {
  height: 14px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

.oracle-brand {
  height: 10px;
  width: auto;
  vertical-align: -1px;
}

.rounded-logo {
  border-radius: 4px;
  height: 16px;
  width: auto;
  vertical-align: middle;
}

.connect-resume-box {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.btn-resume-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: rgba(108, 73, 100, 0.08);
  border: 1px solid var(--tile-border);
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
}

[data-theme="dark"] .btn-resume-full {
  background: rgba(56, 189, 248, 0.12);
}

.btn-resume-full:hover {
  background: var(--secondary-color);
  color: #FFF;
  transform: translateY(-2px);
}

.pub-logo-img {
  height: 12px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 50px;
  flex-shrink: 0;
}

.type-pill.talk {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.type-pill.post {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.type-pill.event {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pub-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 3px;
}

.pub-badge.cncf {
  background: rgba(56, 189, 248, 0.1);
  color: #0284C7;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.pub-badge.kubeflow {
  background: rgba(139, 92, 246, 0.1);
  color: #7C3AED;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.pub-badge.aaif {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pub-badge.hashnode {
  background: rgba(41, 98, 255, 0.1);
  color: #2962FF;
  border: 1px solid rgba(41, 98, 255, 0.25);
}

.pub-badge.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
  border: 1px solid rgba(10, 102, 194, 0.25);
}

.meta-inline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-color);
  margin-left: 0.3rem;
}

/* Photography Clicks Tile */
.clicks-tile {
  background: linear-gradient(135deg, #FFF 0%, #FFF5F8 100%);
}

[data-theme="dark"] .clicks-tile {
  background: linear-gradient(135deg, #1A1D28 0%, #251B24 100%);
}

.insta-icon {
  font-size: 1.4rem;
  color: #E1306C;
}

.compact-clicks {
  padding: 1rem 1.2rem;
}

.compact-clicks .tile-heading {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.insta-btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
  color: #FFF;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.insta-btn-compact:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.clicks-tile .clicks-text {
  font-size: 0.84rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.insta-box {
  background: var(--tile-bg);
  border: 1px solid rgba(225, 48, 108, 0.2);
  padding: 1.1rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.04);
}

.insta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #E1306C;
  background: rgba(225, 48, 108, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #FFF;
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: 0 3px 10px rgba(225, 48, 108, 0.25);
}

.insta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(225, 48, 108, 0.4);
}

/* Command Palette Modal (Cmd + K) */
.cmd-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(8px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.cmd-modal.show {
  display: flex;
}

.cmd-box {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  width: 90%;
  max-width: 520px;
  border-radius: var(--tile-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.cmd-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--tile-border);
  color: var(--muted-color);
}

.cmd-input-wrapper input {
  background: none;
  border: none;
  outline: none;
  color: var(--main-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  width: 100%;
}

.cmd-esc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--muted-color);
}

.cmd-results {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 320px;
  overflow-y: auto;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--main-color);
  cursor: pointer;
  transition: var(--transition);
}

.cmd-item:hover {
  background: rgba(108, 73, 100, 0.08);
  color: var(--secondary-color);
}

kbd {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8em;
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--tile-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-color);
}

.footer-container {
  max-width: var(--dashboard-max);
  margin: 0 auto;
  padding: 0 1.8rem;
}

/* ==========================================================================
   MOBILE HERO & BOTTOM NAV
   (hidden on desktop, shown on ≤ 768px)
   ========================================================================== */

.mobile-hero {
  display: none; /* hidden on desktop */
}

/* ── Bottom Nav ── */
.bottom-nav {
  display: none; /* hidden on desktop */
}

/* ==========================================================================
   RESPONSIVE BREAKDOWN
   ========================================================================== */

/* Tablet wide: 2-col */
@media (max-width: 1100px) {
  .dashboard-wrapper {
    grid-template-columns: 280px 1fr;
    gap: 1.1rem;
  }
  .col-right {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

/* ≤ 768px: Full mobile layout */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* ── Hide desktop-only chrome ── */
  .top-utility-bar {
    display: none;
  }

  /* ── Mobile Hero ── */
  .mobile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.75rem 1rem;
    background: var(--tile-bg);
    border-bottom: 1px solid var(--tile-border);
    box-shadow: 0 2px 16px rgba(84, 67, 80, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  [data-theme="dark"] .mobile-hero {
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  }

  .mh-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1;
  }

  .mh-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    border: 2px solid var(--secondary-color);
    flex-shrink: 0;
  }

  .mh-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .mh-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mh-role {
    font-size: 0.72rem;
    color: var(--body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mh-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: #10B981;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .mh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 5px #10B981;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
  }

  .mh-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .mh-btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.85rem;
    border-radius: 50px;
    background: var(--secondary-color);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(108, 73, 100, 0.3);
  }

  [data-theme="dark"] .mh-btn-resume {
    box-shadow: 0 3px 10px rgba(56, 189, 248, 0.3);
  }

  .mh-btn-resume:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }

  .mh-utility {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .mh-utility .utility-btn {
    padding: 0;
    width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 50%;
  }

  /* ── Dashboard: single column ── */
  .dashboard-wrapper {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    padding-bottom: 5.5rem; /* clear bottom nav */
    gap: 0.9rem;
    margin-top: 0;
  }

  .col-left, .col-center, .col-right {
    width: 100%;
  }

  .col-right {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .scrollable-timeline {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  /* ── Hide duplicate desktop profile content ── */
  .profile-tile .avatar-box {
    height: 240px;
  }

  /* ── Bottom Nav ── */
  .bottom-nav {
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--tile-bg);
    border-top: 1px solid var(--tile-border);
    box-shadow: 0 -4px 20px rgba(84, 67, 80, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  [data-theme="dark"] .bottom-nav {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .bn-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.6rem 0.4rem;
    color: var(--muted-color);
    font-size: 0.6rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 56px;
  }

  .bn-tab i {
    font-size: 1.1rem;
    transition: transform 0.18s ease;
  }

  .bn-tab:hover,
  .bn-tab.active {
    color: var(--secondary-color);
  }

  .bn-tab.active i {
    transform: translateY(-2px);
  }

  /* Resume CTA tab — highlighted */
  .bn-tab--cta {
    color: var(--secondary-color);
    position: relative;
  }

  .bn-tab--cta i {
    background: var(--secondary-color);
    color: #FFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.1rem;
    box-shadow: 0 4px 12px rgba(108, 73, 100, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  [data-theme="dark"] .bn-tab--cta i {
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
  }

  .bn-tab--cta:hover i {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(108, 73, 100, 0.45);
  }

  /* Tile adjustments on mobile */
  .bento-tile {
    padding: 1.1rem;
    border-radius: 16px;
  }

  .tile-heading {
    font-size: 1.25rem;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .type-pill {
    align-self: flex-start;
  }

  .email-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
    word-break: break-all;
  }
}

/* Small phones ≤ 480px */
@media (max-width: 480px) {
  .dashboard-wrapper {
    padding: 0.7rem;
    padding-bottom: 5.5rem;
    gap: 0.8rem;
  }

  .profile-tile .avatar-box {
    height: 200px;
    border-radius: 14px;
  }

  .profile-title {
    font-size: 1.5rem;
  }

  .bento-tile {
    padding: 1rem;
    border-radius: 14px;
  }

  .tile-heading {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .utility-badge {
    display: none;
  }

  .social-chips {
    gap: 0.35rem;
  }

  .social-chip {
    padding: 6px 11px;
    font-size: 0.8rem;
  }

  .tag-list span {
    font-size: 0.67rem;
    padding: 2px 5px;
  }

  .compact-list {
    font-size: 0.82rem;
  }

  .pub-badge {
    font-size: 0.63rem;
  }

  .compact-clicks {
    padding: 0.9rem 1rem;
  }

  .footer {
    padding: 1rem 0;
    font-size: 0.75rem;
    margin-bottom: 0; /* bottom nav covers this */
  }

  .mh-name {
    font-size: 0.92rem;
  }

  .mh-role {
    font-size: 0.68rem;
  }

  .mh-avatar {
    width: 40px;
    height: 40px;
  }

  .mh-btn-resume {
    font-size: 0.7rem;
    padding: 0.32rem 0.7rem;
  }
}
