/* About page layout.
   Site palette: --dark #283200, --light #d1de62, mid #415600. White page.
   Karrik ships regular + italic only, so emphasis = italics/colour, not bold. */

/* ---- Hero: photo + identity ---- */
.bio {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 1150px;
  margin: 0 auto;
  padding: 16vh 1.5rem 6vh;
  height: auto;
}

.bio-img {
  flex: 0 0 340px;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  width: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.bio-text {
  flex: 1;
  padding: 0;
}

.bio-name {
  margin: 0;
  font-weight: normal;
  font-size: 2.7rem;
  line-height: 1.05;
  color: var(--dark);
}

.bio-tagline {
  margin: 0.6rem 0 1.6rem;
  font-style: italic;
  font-size: 1.15rem;
  color: #415600;
}

.bio-body p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

/* ---- Actions: CV button + email ---- */
.bio-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.9rem;
}

.action-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #415600;
  color: #eef2d6;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.action-cv:hover {
  background: var(--dark);
}

.action-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--dark);
  font-size: 0.98rem;
}

.action-cv img,
.action-email img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ---- Experience timeline ---- */
.experience {
  max-width: 1000px;
  margin: 2vh auto 0;
  padding: 0 1.5rem;
}

.experience-title {
  font-style: italic;
  font-weight: normal;
  font-size: 1.4rem;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

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

.experience-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(40, 50, 0, 0.15);
  align-items: baseline;
}

.experience-item:last-child {
  border-bottom: 0;
}

.experience-years {
  color: #415600;
  font-style: italic;
  font-size: 0.95rem;
}

.experience-role {
  display: block;
}

.experience-studio {
  display: block;
  font-style: italic;
  font-size: 0.95rem;
}

.experience-studio a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.experience-studio a:hover {
  color: #415600;
}

/* ---- Previous clients: dark band, logos inverted to white ---- */
.clients-band {
  background: var(--dark);
  margin-top: 6vh;
  padding: 7vh 0 24vh;
}

.clients-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.clients-title {
  font-style: italic;
  font-weight: normal;
  font-size: 1.4rem;
  color: #eef2d6;
  border-bottom: 1px solid rgba(238, 242, 214, 0.5);
  padding-bottom: 0.6rem;
  margin: 0 0 1.2rem;
}

.clients-band .clients {
  max-width: none;
  margin: 0;
  border-top: 0;
  padding-top: 0;
}

.clients-band .clients::before {
  content: none;
}

.clients-band .clients > div {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.clients-band .clients > div:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .bio {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 14vh;
  }
  .bio-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    align-self: center;
  }
  .experience-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
