.profile-photo-large {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--site-muted);
}

.contact-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--site-border);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list strong {
  color: var(--site-text);
}

.experience-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.experience-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--site-accent);
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--site-surface);
}

.experience-list span {
  color: var(--site-muted);
  font-size: 0.9rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.stack-group {
  padding: 1rem 1.1rem;
  border: 1px solid var(--site-border);
  border-radius: 0.85rem;
  background: var(--site-surface);
}

.stack-group h3 {
  margin-bottom: 0.7rem;
  color: var(--site-accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-bs-theme='light'] .stack-group h3 {
  color: #0e7490;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-pill {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-bg-soft);
  color: var(--site-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.stack-pill-highlight {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.12);
}

@media (max-width: 991.98px) {
  .stack-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .profile-photo-large {
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }
}
