/* Company (employment) page chrome.

   This page deliberately does NOT load project-page.css: that stylesheet's broad
   element selectors (a, p, img, .project-card-image, ...) leak onto the project
   tiles and break parity with the homepage. Here the tiles are governed only by
   style.css + project-card.css — exactly like the homepage — so they render 1-1.

   Everything below is scoped to page chrome (.employment-*, .nav-section) and must
   never style .project-card / its children, to keep that parity. */

/* Subtle grid background, matching the project pages */
body {
  background-image:
    linear-gradient(to right, var(--background-lighter) 1px, transparent 1px),
    linear-gradient(to bottom, var(--background-lighter) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  background-attachment: fixed;
}

/* Top nav buttons (flow at the top, translucent pill style) */
.nav-section {
  padding: 1rem;
  background: transparent;
}

.nav-section .button-container {
  width: 100%;
  max-width: 400px;
  gap: 0.5rem;
  margin: 0 auto;
}

.nav-section .navbar-button {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 0.75em 1.5em;
}

.nav-section .navbar-button:hover {
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  transform: translateY(-2px);
}

.nav-section .navbar-button:first-child {
  border-right: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}

/* Light company header */
.employment-header {
  text-align: center;
  padding: 0.5rem 8% 1.2rem 8%;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--background) 98%, var(--primary)),
    var(--background));
}

.employment-header > div {
  max-width: 880px;
  margin: 0 auto;
}

.employment-header h1 {
  font-size: 2.5em;
  margin-bottom: 0.4em;
  text-align: center;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.employment-logo {
  width: 5.5em;
  height: 5.5em;
  max-width: 5.5em;
  object-fit: contain;
  border-radius: 1em;
  padding: 0.4em;
  margin: 0 auto 0.5em auto;
  display: block;
  background: var(--surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Roles: one centered line each, job title + dot + dates optically aligned */
.employment-header .project-header-roles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}

.employment-header .project-header-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}

.employment-header .project-header-job-title {
  color: var(--primary);
  font-size: 1.2em;
}

.employment-header .project-header-role-dates {
  color: var(--text-muted);
}

.employment-header .project-header-job-title,
.employment-header .project-header-role-dates,
.employment-header .project-header-role-separator {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.employment-header .project-header-role-separator {
  color: var(--text-muted);
}

.employment-blurb {
  max-width: 46rem;
  margin: 0.75em auto 0 auto;
  text-align: center;
  opacity: 0.95;
}

.employment-blurb p {
  text-align: center;
}

/* Projects: the highlight of the page */
.employment-projects {
  margin-top: 0.5rem;
  padding: 1rem 0 2rem 0;
}

.employment-projects-title {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}
