/* =========================================================
   V6 — precise nav insets, centered sliding profile tabs,
   footer cleanup and bottom contact action
   ========================================================= */

/* ---------------------------------------------------------
   Floating nav: outer left/right inset equals vertical inset
   --------------------------------------------------------- */
.nav-shell {
  padding-left: 11px;
  padding-right: 11px;
}

/* keep the breathing room identical even after the header condenses */
.site-header.is-scrolled .nav-shell {
  height: 62px;
}

.brand {
  margin-left: 0;
  padding-left: 0;
}

/* ---------------------------------------------------------
   Resume: centered avatar + segmented slider
   --------------------------------------------------------- */
.resume-side {
  align-items: center;
  justify-self: center;
  margin-inline: auto;
}

.resume-photo-card,
.resume-tabs {
  margin-left: auto;
  margin-right: auto;
}

.resume-tabs {
  position: relative;
  isolation: isolate;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.resume-tabs.is-swiping {
  cursor: grabbing;
}

.resume-tab-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  z-index: 0;
  width: calc(50% - 4px);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(246, 252, 249, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.99),
    0 3px 12px rgba(25, 49, 46, 0.09);
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.resume-tab {
  position: relative;
  z-index: 1;
  justify-content: center;
  text-align: center;
  background: transparent;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.resume-tab:hover {
  background: transparent;
}

.resume-tab.is-active {
  background: transparent;
  box-shadow: none;
}

.resume-tab.is-active::before {
  display: none;
}

.resume-tab-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}


/* Make the sliding segment and its track clearly distinguishable. */
.resume-tabs {
  background:
    linear-gradient(145deg, rgba(229, 240, 235, 0.88), rgba(226, 237, 233, 0.64)),
    rgba(235, 244, 240, 0.62);
  border-color: rgba(255, 255, 255, 0.94);
}

.resume-tab-glider {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 4px 14px rgba(25, 49, 46, 0.13);
}

/* ---------------------------------------------------------
   Footer: name removed; final contact button retained
   --------------------------------------------------------- */
.footer-main {
  gap: 24px;
}

.footer-contact {
  flex: 0 0 auto;
  margin-left: 0;
  margin-right: 0;
  text-decoration: none;
}

.footer-contact span {
  font-size: 12px;
}

.footer-nav {
  margin-left: auto;
}

.footer-bottom {
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .nav-shell,
  .site-header.is-scrolled .nav-shell {
    height: 56px;
    padding-left: 11px;
    padding-right: 11px;
  }

  .nav-cta {
    height: 32px;
  }

  .footer-contact {
    margin-left: 0;
  }

  .footer-nav {
    border-top-color: rgba(0, 0, 0, 0.07);
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .site-header.is-scrolled .nav-shell {
    height: 56px;
    padding-left: 11px;
    padding-right: 11px;
  }

  .nav-cta {
    height: 32px;
  }

  .footer-main {
    gap: 16px;
  }

  .footer-contact {
    margin-left: 0;
  }

  .footer-nav {
    gap: 17px;
    border-top-color: rgba(0, 0, 0, 0.07);
  }
}

@media (max-width: 380px) {
  .nav-shell,
  .site-header.is-scrolled .nav-shell {
    padding-left: 11px;
    padding-right: 11px;
  }

  .nav-cta {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resume-tab-glider {
    transition: none;
  }
}
