/* CV / Özgeçmiş section: portrait beside the ledger of paragraphs and facts. */

.profile-section { background: linear-gradient(180deg, var(--paper), #ebe4d6); }
.profile-section .kicker { color: var(--claret); }

.profile-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 10px;
}

.portrait {
  position: relative;
  min-height: 620px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18,25,34,.9));
}

.portrait figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  color: #fff;
}

.portrait strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.portrait span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-cv {
  display: grid;
  align-content: start;
  gap: 18px;
  border-radius: 6px;
  padding: clamp(26px, 4vw, 48px);
  background: rgba(255,250,240,.82);
  color: #46413a;
  font-size: 17px;
  line-height: 1.7;
}

.profile-cv p { margin: 0; }

.profile-cv p:first-child::first-line {
  color: var(--claret);
  font-weight: 700;
}

@media (max-width: 1050px) {
  .profile-layout { grid-template-columns: 1fr; }

  .portrait { min-height: 460px; }
}

@media (max-width: 680px) {
  .profile-cv { font-size: 16px; }
}
