/* ===== CSS Variables (LinkedIn-inspired Professional System) ===== */
:root {
  --bg-primary: #F3F2EF;
  --bg-white: #FFFFFF;
  --bg-hover: #F3F2EF;
  --text-primary: #191919;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #0A66C2;
  --accent-hover: #004182;
  --accent-light: #D6EFFF;
  --border: #E0DFDC;
  --border-light: #EDEDED;
  --shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 0 0 1px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 0 0 1px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: all 0.2s ease;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

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

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

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 600;
}

/* ===== Container ===== */
.container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: 52px;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-4px);
}

/* ===== Sidebar (Floating Left Nav) ===== */
.sidebar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 0.6rem 0.45rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  min-width: 28px;
}

.sidebar-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.sidebar-link.active {
  color: white;
  background: var(--accent);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(10,102,194,0.3);
}

/* ===== Hero Section (LinkedIn Profile Header) ===== */
.hero {
  margin-top: 52px;
}

.hero-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  position: relative;
}

.hero-banner-inner {
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-slogan {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 3rem;
}

.hero-slogan::before {
  content: '';
  display: block;
}

.hero-slogan > * {
  max-width: 520px;
}

.slogan-main {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.6;
  text-shadow: none;
}

.slogan-sub {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.hero-profile {
  padding-bottom: 1rem;
}

.profile-container {
  position: relative;
  padding-top: 0;
}

.profile-avatar {
  position: absolute;
  top: -70px;
  left: 1.5rem;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--bg-white);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  z-index: 2;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  padding: 1.5rem 0 1.5rem 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.profile-title {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
}

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

/* ===== Card ===== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 1.25rem 1.5rem 0;
  line-height: 1.25;
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* ===== About Section (no extra scroll margin needed) ===== */
.about-section {
  margin-top: -1rem;
  scroll-margin-top: 52px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== Pillar Grid (4-Pillar Capability Matrix) ===== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillar-item {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.pillar-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.pillar-desc {
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pillar-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-summary {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.85rem 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.about-summary strong {
  color: var(--accent);
}

.contact-row {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.contact-item:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.contact-item svg {
  flex-shrink: 0;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 1.5rem 0;
  scroll-margin-top: 52px;
}

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

.stat-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stat-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.stat-highlight {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1.3;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Section ===== */
.section {
  padding: 0;
  margin-bottom: 1rem;
  scroll-margin-top: 60px;
}

/* ===== Experience ===== */
.experience-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.experience-item:first-child {
  padding-top: 0;
}

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

.exp-company-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-company {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.exp-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.exp-role {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0.75rem;
  font-weight: 400;
}

.fde-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.4rem;
  font-weight: 500;
  vertical-align: middle;
}

.exp-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Experience Bullets (Sharp) ===== */
.exp-bullets {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.exp-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.exp-bullets li:last-child {
  margin-bottom: 0;
}

.exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Project List (Grouped by Company) ===== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-group {
  margin-bottom: 0.5rem;
}

.project-group:last-child {
  margin-bottom: 0;
}

.project-group-header {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.5rem 0 0.35rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.4rem;
}

.project-group-items {
  display: flex;
  flex-direction: column;
}

.project-item {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
}

.project-item:last-child {
  margin-bottom: 0;
}

.project-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
  flex: 1;
}

.project-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.project-item.expanded .project-arrow {
  transform: rotate(90deg);
}

.project-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.project-item.expanded .project-body {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ===== Skills ===== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: default;
}

.skill-tag:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Blog Filters ===== */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ===== Blog Grid (Compact Card Layout) ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.blog-card {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
  text-decoration: none;
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.blog-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.35;
  font-family: var(--font-display);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.12rem 0.55rem;
  border-radius: 10px;
  letter-spacing: 0.03em;
}
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.blog-item:first-child {
  padding-top: 0;
}

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

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.blog-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  font-family: var(--font-display);
  flex: 1;
}

.blog-item:hover .blog-title {
  color: var(--accent);
}

.blog-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.blog-item.expanded .blog-arrow {
  transform: rotate(90deg);
}

.blog-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.blog-item.expanded .blog-body {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.6rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.read-more {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.read-more:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ===== Contact Section ===== */
.contact-section .card {
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  border: none;
}

.contact-body {
  text-align: center;
  padding: 3rem 1.5rem;
}

.contact-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  background: white;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-btn.secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.contact-btn.secondary:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== Footer ===== */
.footer {
  padding: 1.5rem 0;
  text-align: center;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  .profile-info {
    padding-left: 11rem;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu.active {
    max-height: 400px;
  }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .hamburger {
    display: flex;
  }
  .hero-banner {
    height: 140px;
    border-radius: 0;
  }
  .hero-slogan {
    padding: 0 1.25rem;
  }
  .slogan-main {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .slogan-sub {
    font-size: 0.9rem;
    margin-top: 0.35rem;
  }
  .hero-profile {
    padding-top: 0.5rem;
    margin-top: -40px;
  }
  .profile-avatar {
    width: 110px;
    height: 110px;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  .profile-info {
    padding: 0;
    padding-top: 0.75rem;
    text-align: center;
    align-items: center;
  }
  .profile-name {
    font-size: 1.5rem;
  }
  .profile-title {
    font-size: 0.95rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    padding: 1.15rem 1rem;
  }
  .stat-highlight {
    font-size: 0.92rem;
  }
  .card-title {
    padding: 1rem 1.25rem 0;
  }
  .card-body {
    padding: 1rem 1.25rem 1.25rem;
  }
  .contact-body {
    padding: 2rem 1.25rem;
  }
  .contact-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: 120px;
  }
  .hero-slogan {
    padding: 0 1rem;
  }
  .slogan-main {
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .slogan-sub {
    font-size: 0.82rem;
  }
  .profile-avatar {
    width: 96px;
    height: 96px;
    top: -44px;
  }
  .hero-profile {
    margin-top: -36px;
  }
  .profile-name {
    font-size: 1.35rem;
  }
  .contact-links {
    flex-direction: column;
    align-items: center;
  }
  .contact-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
