.about-layout-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid #d9e6f5;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(10, 64, 128, 0.08);
}

.profile-hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #d9e6f5;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(10, 64, 128, 0.08);
}

.profile-hero-copy h1 {
  color: #0d53ae;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 8px;
}

.profile-hero-copy h2 {
  color: #193b67;
  font-size: 1.2rem;
  font-family: "Manrope", sans-serif;
  margin-bottom: 14px;
}

.profile-hero-copy p {
  color: #2f4865;
  margin-top: 12px;
}

.profile-hero-image {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d7e5f7;
}

.profile-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.bio-grid,
.commissions-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bio-card,
.commissions-card {
  background: #fff;
  border: 1px solid #d9e6f5;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(10, 64, 128, 0.06);
}

.bio-card h3,
.commissions-card h3 {
  margin-bottom: 10px;
  color: #103a70;
  font-family: "Manrope", sans-serif;
}

.bio-card p,
.commissions-card p {
  color: #2f4865;
  margin-top: 10px;
}

.bio-card-accent {
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

.commissions-card-dark {
  background: linear-gradient(135deg, #f5f9ff, #edf4ff);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.timeline-item {
  background: #fff;
  border: 1px solid #dbe9fa;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(10, 64, 128, 0.05);
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d65d2;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-item h3 {
  color: #163f72;
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline-item p {
  color: #48617f;
  font-size: 0.92rem;
}

.about-layout-copy h1 {
  color: #0d53ae;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.05;
}

.about-layout-copy h2 {
  margin-top: 4px;
  color: #193b67;
  font-size: 1.8rem;
  font-family: "Manrope", sans-serif;
}

.about-layout-copy p {
  margin-top: 12px;
  color: #2f4865;
}

.about-icon-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.about-icon-row article {
  text-align: center;
  background: #f5f9ff;
  border: 1px solid #d8e8fb;
  border-radius: 14px;
  padding: 10px 8px;
}

.about-icon-row i {
  font-size: 1.3rem;
  color: #0d65d2;
  margin-bottom: 6px;
}

.about-icon-row span {
  font-size: 0.86rem;
  color: #2c4e79;
  font-weight: 600;
}

.about-layout-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-layout-gallery figure {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d7e5f7;
}

.about-layout-gallery figure.wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.about-layout-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trajectory-head {
  text-align: center;
  margin-bottom: 14px;
}

.trajectory-head h2 {
  font-family: "Manrope", sans-serif;
  color: #103a70;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.trajectory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.trajectory-item {
  background: #f6f9ff;
  border: 1px solid #dbe9fa;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.trajectory-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0a76ed, #064ea9);
}

.trajectory-item h3 {
  font-size: 0.95rem;
  color: #163f72;
  margin-bottom: 6px;
}

.trajectory-item p {
  font-size: 0.82rem;
  color: #48617f;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-strip img {
  border-radius: 14px;
  height: 160px;
  border: 1px solid #dbe9f9;
}

.commit-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.commit-card,
.message-card-side {
  background: #fff;
  border: 1px solid #d8e8fa;
  border-radius: 16px;
  padding: 16px;
}

.commit-card h3,
.message-card-side h3 {
  color: #104485;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
}

.commit-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.commit-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  color: #2e4f76;
  font-size: 0.93rem;
}

.commit-card li i {
  margin-top: 2px;
  color: #0a67d4;
}

.message-card-side p {
  color: #44607f;
  margin-bottom: 12px;
}

.message-card-side .message-form {
  padding: 0;
  background: transparent;
}

.message-card-side .field {
  margin-bottom: 10px;
}

.message-card-side .field input,
.message-card-side .field textarea {
  border: 1px solid #d4e4f7;
  background: #f9fcff;
  color: #12345f;
}

.message-card-side .field textarea {
  min-height: 106px;
}

.message-card-side .submit-button {
  min-height: 46px;
}

.message-card-side .form-status {
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .about-layout-card,
  .commit-message-grid {
    grid-template-columns: 1fr;
  }

  .profile-hero,
  .bio-grid,
  .commissions-layout {
    grid-template-columns: 1fr;
  }

  .trajectory-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-icon-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .trajectory-grid,
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

.bio-cover {
  min-height: 545px;
  padding: 60px 0 48px;
  color: #fff;
  background: #062956;
}

.bio-cover-grid,
.bio-intro-grid,
.bio-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.bio-cover-copy {
  max-width: 550px;
}

.bio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bio-kicker::before {
  content: "";
  width: 29px;
  height: 3px;
  background: #e51d2a;
}

.bio-kicker.dark {
  color: #0b4a91;
}

.bio-cover h1,
.bio-introduction h2,
.bio-section-heading h2,
.bio-work-heading h2,
.bio-closing h2 {
  margin: 16px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.7vw, 61px);
  line-height: .98;
  text-transform: uppercase;
}

.bio-cover h1 em,
.bio-section-heading h2 em,
.bio-work-heading h2 em,
.bio-closing h2 em {
  color: #ed1d2e;
  font-style: normal;
}

.bio-cover-copy > p {
  max-width: 470px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.bio-number {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 27px;
}

.bio-number span {
  max-width: 100px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}

.bio-number strong {
  color: #ed1d2e;
  font-family: "Manrope", sans-serif;
  font-size: 68px;
  line-height: .8;
}

.bio-cover-photo {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-bottom: 8px solid #e51d2a;
  border-radius: 5px;
  background: #031d3d;
}

.bio-cover-photo img {
  height: 100%;
  object-position: center 22%;
}

.bio-cover-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 10px;
  color: #fff;
  background: #e51d2a;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.bio-introduction {
  padding: 65px 0;
  background: #f4f5f6;
}

.bio-introduction h2 {
  color: #082c5d;
  font-size: clamp(29px, 3.8vw, 48px);
}

.bio-intro-text p {
  margin-bottom: 16px;
  color: #42536a;
  font-size: 15px;
  line-height: 1.65;
}

.bio-facts {
  padding: 25px 0;
  background: #fff;
  border-bottom: 1px solid #d9dfe6;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts-grid article {
  padding: 6px 20px;
  border-right: 1px solid #d9dfe6;
}

.facts-grid article:last-child {
  border-right: 0;
}

.facts-grid strong,
.facts-grid span {
  display: block;
}

.facts-grid strong {
  color: #e51d2a;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
}

.facts-grid span {
  color: #5d6b7c;
  font-size: 11px;
}

.bio-timeline-section {
  padding: 68px 0;
  background: #fff;
}

.bio-section-heading {
  margin-bottom: 32px;
}

.bio-section-heading h2 {
  color: #082c5d;
  font-size: clamp(31px, 4vw, 52px);
}

.bio-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
  border-top: 1px solid #d9dfe6;
}

.bio-timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid #d9dfe6;
}

.bio-timeline-item > span {
  color: #e51d2a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-timeline-item b {
  color: #082c5d;
  font-size: 16px;
}

.bio-timeline-item p {
  margin-top: 7px;
  color: #596a7c;
  font-size: 12px;
  line-height: 1.5;
}

.bio-work-section {
  padding: 65px 0;
  color: #fff;
  background: #062956;
}

.bio-work-heading p {
  max-width: 440px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.bio-work-list {
  display: grid;
  gap: 11px;
}

.bio-work-list article {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .17);
}

.bio-work-list i {
  color: #ed1d2e;
  font-size: 22px;
  text-align: center;
}

.bio-work-list b,
.bio-work-list span {
  display: block;
}

.bio-work-list b {
  font-size: 14px;
}

.bio-work-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
}

.bio-closing {
  padding: 68px 0;
  text-align: center;
  background: #f2f3f4;
}

.bio-closing-inner {
  max-width: 760px;
  margin: auto;
}

.bio-closing h2 {
  color: #082c5d;
  font-size: clamp(32px, 4vw, 52px);
}

.bio-closing p {
  max-width: 580px;
  margin: 0 auto 24px;
  color: #58697c;
  font-size: 14px;
}

@media (max-width: 720px) {
  .bio-cover {
    padding-top: 40px;
  }

  .bio-cover-grid,
  .bio-intro-grid,
  .bio-work-grid,
  .bio-timeline {
    grid-template-columns: 1fr;
  }

  .bio-cover-photo {
    height: 290px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .facts-grid article:nth-child(2) {
    border-right: 0;
  }

  .facts-grid article:nth-child(-n+2) {
    border-bottom: 1px solid #d9dfe6;
    padding-bottom: 14px;
  }

  .bio-timeline-item {
    grid-template-columns: 78px 1fr;
  }
}

@media (max-width: 520px) {
  .trajectory-grid,
  .gallery-strip,
  .about-icon-row {
    grid-template-columns: 1fr;
  }
}
