/* DIM LAZAR — About page */

.about-main,
.about-footer {
  width: min(
    1080px,
    calc(100% - var(--internal-left) - var(--internal-right))
  );
}

.about-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.about-heading > div:first-child {
  min-width: 0;
}

.about-kicker {
  margin-bottom: 0.72rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
  font-weight: 390;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-heading h1 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 250;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.language-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.58rem;
  padding-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.20);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
}

.language-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.25rem 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font: 420 0.72rem/1 var(--f-sans);
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(200, 169, 126, 0.72);
  outline: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(3.2rem, 6.4vw, 6.6rem);
  padding-top: 3.8rem;
}

.about-portrait {
  position: sticky;
  top: 7.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  animation: aboutFade 0.48s var(--ease) both;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.about-copy {
  min-width: 0;
}

.about-article {
  animation: aboutFade 0.44s var(--ease) both;
}

.about-article[hidden] {
  display: none;
}

.about-article p {
  max-width: 67ch;
  color: rgba(255, 255, 255, 0.61);
  font-size: clamp(0.92rem, 1.08vw, 1rem);
  font-weight: 300;
  line-height: 1.84;
  letter-spacing: 0.007em;
}

.about-article p + p {
  margin-top: 1.55rem;
}

.about-article .about-lead {
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1.01rem, 1.30vw, 1.14rem);
  line-height: 1.78;
  letter-spacing: 0.003em;
}

.about-article strong {
  color: rgba(239, 229, 213, 0.91);
  font-weight: 470;
}

.about-chronology {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 169, 126, 0.30);
  animation: aboutFade 0.44s var(--ease) both;
}

.about-chronology[hidden] {
  display: none;
}

.about-chronology h2 {
  margin-bottom: 1.6rem;
  color: rgba(224, 209, 188, 0.82);
  font-size: 0.77rem;
  font-weight: 430;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-chronology dl,
.about-chronology dd {
  margin: 0;
}

.about-chronology dl > div {
  display: grid;
  grid-template-columns: minmax(7.2rem, 0.34fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.82rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.about-chronology dt {
  color: rgba(200, 169, 126, 0.78);
  font-size: 0.75rem;
  font-weight: 430;
  line-height: 1.65;
  letter-spacing: 0.055em;
}

.about-chronology dd {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
}

@keyframes aboutFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .about-main,
  .about-footer {
    width: min(
      var(--internal-content),
      calc(100% - var(--internal-left) - var(--internal-right))
    );
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .about-portrait {
    position: relative;
    top: auto;
    width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .about-heading {
    display: block;
    padding-bottom: 22px;
  }

  .about-kicker {
    margin-bottom: 0.62rem;
    font-size: 0.64rem;
    letter-spacing: 0.15em;
  }

  .about-heading h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }

  .language-switch {
    margin-top: 1.35rem;
    gap: 0.36rem;
    padding: 0;
    font-size: 0.68rem;
  }

  .language-button {
    min-width: 36px;
    min-height: 40px;
    padding: 0.55rem 0.2rem 0.42rem;
    font-size: 0.70rem;
  }

  .about-layout {
    gap: 2.5rem;
    padding-top: 34px;
  }

  .about-portrait {
    width: 100%;
  }

  .about-article p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.72;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .about-article p + p {
    margin-top: 1.3rem;
  }

  .about-article .about-lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  .about-chronology {
    margin-top: 3.2rem;
    padding-top: 1.7rem;
  }

  .about-chronology dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.9rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-portrait,
  .about-article,
  .about-chronology {
    animation: none;
  }
}
