.home {
  --navy: #10243a;
  --paper: #fbfaf7;
  --mist: #f2f1ec;
  --rule: #d8d7cf;
}
.home .profile { width: 100%; text-align: center; }
.profile > section {
  --gutter: max(1.25rem, calc((100% - 68rem) / 2));
  margin: 0;
  padding: clamp(3.25rem, 7vw, 6.25rem) var(--gutter);
}
.profile > .intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  margin: clamp(1rem, 2.8vw, 2.75rem) max(1.25rem, calc((100% - 72rem) / 2)) 0;
  padding: 0;
  background: var(--navy);
  color: #fbfaf6;
  text-align: start;
}
.profile .intro > div { padding: clamp(2rem, 5vw, 5rem); }
.profile .intro .region {
  gap: .8rem;
  color: #e3d1ad;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
}
.profile .intro .region::before { width: 2rem; }
.profile .intro h1 {
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.2rem, 2.6vw, 2.3rem) 0 0;
  font-size: clamp(4rem, 7.3vw, 7.1rem);
  line-height: .93;
  letter-spacing: -.04em;
}
.profile .intro h1 br { display: inline; }
.profile .intro .lead {
  display: block;
  max-width: none;
  margin-block-start: 1.3rem;
  color: #e6eaed;
  letter-spacing: normal;
  text-align: center;
  text-wrap: balance;
  font: 400 clamp(.9rem, 1.2vw, 1.05rem)/1.5 var(--serif);
}
.profile .role-separator { color: #d0b68b; margin-inline: .2em; }
.profile .intro img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 32%;
}
.profile-feature, .profile > .domains {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-content: start;
  align-items: start;
  gap: 0 clamp(2rem, 6vw, 6rem);
  text-align: start;
}
.profile-feature h2, .domains h2, .profile #titre-galerie {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 3.4rem);
  line-height: 1.12;
  text-wrap: balance;
}
.feature-copy, .project-copy { max-width: 64ch; }
.feature-copy p + p, .project-copy p + p { margin-block-start: 1rem; }
.analysis-link a {
  display: inline-block;
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: #a99676;
}
.profile > .domains { background: var(--mist); border-block: 1px solid var(--rule); }
.domains .analysis-link { grid-column: 2; margin-block-start: 1.25rem; }
.analysis-link > span { display: block; color: var(--muted); font-size: .85rem; }
.profile #galerie { background: #eeede8; color: var(--ink); border-block: 1px solid var(--rule); }
.profile #galerie .photos { margin-inline: auto; max-width: 70rem; }
.profile #galerie figcaption { color: var(--muted); border-color: var(--rule); }
.profile #contact { background: var(--paper); }
.home .site-footer { margin-top: 0; }
[dir=rtl] .profile .intro .region { letter-spacing: normal; }
[dir=rtl] .profile .intro h1 { line-height: 1.18; letter-spacing: 0; }
[dir=rtl] .profile h2 { line-height: 1.4; }
@media (max-width: 48rem) {
  .profile > .intro { margin: .85rem .85rem 0; }
  .profile .intro > div { padding: clamp(1.6rem, 4vw, 2.4rem); }
  .profile .intro h1 { font-size: clamp(3rem, 7.2vw, 4.7rem); }
  .profile-feature, .profile > .domains { grid-template-columns: minmax(0, 1fr); }
  .profile-feature h2, .domains h2 { margin-block-end: 1.25rem; }
  .domains .analysis-link { grid-column: 1; }
}
@media (max-width: 37rem) {
  .profile > .intro { grid-template-columns: minmax(0, 1fr); }
  .profile .intro h1 { font-size: clamp(2rem, 10.5vw, 4.15rem); }
  .profile .intro h1 br { display: none; }
  .profile .intro .lead { margin-block-start: .85rem; }
  .profile .intro img { height: auto; aspect-ratio: 6 / 5; object-position: 50% 25%; }
}
@media print {
  .profile > section, .profile > .intro { margin: 0; padding: .7rem 0; }
  .profile .intro > div { padding: .5rem; }
  .profile .intro h1 { font-size: 3rem; }
  .profile .intro img { width: auto; max-height: 12rem; }
  .home .profile section, .profile .intro .lead, .profile .intro .region { background: white; color: #111; }
}
