/* Landing page: single screen, no scroll */

html, body {
  height: 100%;
  overflow: hidden;
}

main {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vh, 2rem);
  padding: 1.5rem 1rem;
  text-align: center;
}

.headshot {
  width: clamp(140px, 30vh, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid var(--line);
}

.name-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.icon-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--fg);
  background: var(--line);
  outline: none;
}

h1 {
  font-family: "Urbanist", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vh, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.jobtitle {
  color: var(--muted);
  font-size: clamp(0.85rem, 2.2vh, 0.85rem);
  max-width: 36ch;
}

.tagline {
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vh, 1.125rem);
  max-width: 36ch;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 560px;
}

nav a {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--chip);
  color: var(--fg);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

nav a:hover,
nav a:focus-visible {
  background: var(--chip-hover);
  color: var(--chip-hover-fg);
  border-color: var(--chip-hover);
  outline: none;
}

.chip-title {
  font-weight: 500;
}

/* Opacity instead of a fixed color so it stays readable when the chip inverts on hover */
.chip-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
}
