
.profile-card,
.skills-panel,
.timeline-card,
.ability-card,
.project-card {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.profile-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.profile-top {
  gap: 18px;
  margin-bottom: 30px;
}

.avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 8px;
  font-size: 40px;
  font-weight: 900;
}

.profile-name {
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
}

.profile-role {
  margin-top: 4px;
  font-size: 14px;
}

.signal-list {
  display: grid;
  gap: 14px;
}

.signal-item {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-left: 4px solid var(--primary);
}

.signal-item span,
.profile-bars span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.signal-item strong {
  display: block;
  color: var(--text);
  margin-top: 4px;
}

.profile-bars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.profile-bars i {
  display: block;
  height: 6px;
  margin-top: 9px;
  background: linear-gradient(90deg, var(--primary) var(--w), rgba(24, 34, 29, 0.16) var(--w));
}

.about-copy h3,
.contact h2 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.about-copy p,
.contact p {
  margin: 22px 0 28px;
}

.skills-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius);
}

.skills-panel h4 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 20px;
}

.skills-panel li {
  margin-top: 11px;
}

.skills-panel li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--primary);
}

.timeline,
.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.timeline-card,
.ability-card,
.project-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-card:hover,
.ability-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.timeline-card span {
  color: var(--primary);
  font-weight: 800;
}

.timeline-card h3,
.ability-card h3,
.project-card h3 {
  margin: 14px 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}

.line-icon {
  display: block;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  background: linear-gradient(135deg, transparent 42%, var(--primary) 43% 57%, transparent 58%);
}

.project-card {
  padding: 0 0 28px;
  overflow: hidden;
}

.project-cover {
  display: grid;
  min-height: 170px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(22, 138, 91, 0.16), rgba(255, 255, 255, 0.18) 54%),
    repeating-linear-gradient(90deg, rgba(22, 138, 91, 0.1) 0 1px, rgba(255, 255, 255, 0.24) 1px 28px);
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
}

.project-card h3,
.project-card p,
.project-card a {
  margin-left: 24px;
  margin-right: 24px;
}

.project-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.project-card a:hover {
  color: var(--primary);
}

.contact {
  padding: 78px 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  grid-template-columns: 1fr auto;
}

.footer {
  padding: 54px 0 28px;
  background: var(--footer);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-grid {
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer h4 {
  margin-bottom: 8px;
  color: var(--text);
}

.footer a {
  color: var(--text);
  text-decoration: underline;
}

.copyright {
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    padding: 28px 0 34px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .skills-panel,
  .timeline,
  .card-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body { font-size: 15px; overflow-x: hidden; }
  .container { width: calc(100% - 48px); max-width: 342px; margin-left: 24px; margin-right: auto; }
  .section { padding: 64px 0; }
  .hero-actions,
  .hero-stats {
    align-items: stretch;
    flex-direction: column;
  }
  .hero h1 { font-size: 34px; word-break: break-all; }
  .profile-card { padding: 24px; }
}
