.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.75rem var(--pad-inline);
}

.site-nav {
  display: flex;
  justify-self: center;
  gap: 2rem;
}

.language-switcher {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.4rem;
}

.hero {
  position: relative;
  display: flex;
  overflow: clip;
  min-height: min(58svh, 30rem);
  padding: 6.5rem var(--pad-inline) clamp(2.5rem, 5vh, 3.5rem);
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  isolation: isolate;
}

.hero-title {
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1;
  font-weight: 600;
}

.hero-title span {
  display: block;
}

.hero-title .title-offset {
  color: var(--caramel);
  font-weight: 500;
}

.section {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding: var(--section-pad) var(--pad-inline);
  border-top: 1px solid var(--line);
}

.section > * {
  min-width: 0;
}

.after-hours {
  overflow: clip;
}

.site-footer {
  display: flex;
  padding: 1.75rem var(--pad-inline);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (min-width: 761px) {
  .section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }

  .kicker {
    grid-column: 1 / -1;
  }

  .section-head {
    grid-column: 1;
  }

  .keyword-list,
  .card-deck {
    grid-column: 2;
  }

  .profile {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: min(56svh, 26rem);
    padding: 6rem var(--gutter) 2.25rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.25rem);
    line-height: 1.02;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .keyword-list,
  .card-deck,
  .email-list {
    grid-column: 1;
  }
}