.hic-welcome {
  background: #16392e;
  color: #f6f2e7;
}
.hic-welcome .hw-inner {
  display: grid;
  grid-template: "title territory" auto "message territory" auto "signature territory" auto "action territory" auto "photo territory" auto / minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  align-content: center;
  column-gap: clamp(32px, 7vw, 110px);
  padding-block: clamp(30px, 3.5vw, 56px);
}
.hic-welcome h2 {
  grid-area: title;
  margin: 0;
  color: inherit;
  font: 400 clamp(36px, 3.65vw, 62px)/1.06 Anton, 'Arial Narrow', sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
}
.hic-welcome h2 em {
  color: #e7ead6;
  font: italic 400 1.02em/1 Georgia, serif;
  letter-spacing: -.048em;
  white-space: nowrap;
}
.hw-message { grid-area: message; max-width: 58ch; }
.hw-message p {
  margin: 10px 0 0;
  color: #f1f1e8;
  font: 400 clamp(15px, 1.2vw, 18px)/1.48 'Segoe UI', Arial, sans-serif;
}
.hw-message a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.hw-message a:hover, .hw-message a:focus-visible { color: #a4f3bf; }
.hw-message p + p { margin-top: 6px; color: #d6e0d6; }
.hw-signature {
  grid-area: signature;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 9px;
  margin: 12px 0 0;
  color: #f6f2e7;
  font: italic 400 18px/1.3 Georgia, serif;
}
.hw-signature span {
  color: #c7d8cb;
  font: 400 12px/1.4 'Segoe UI', Arial, sans-serif;
}
.hw-action {
  grid-area: action;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 13px;
  padding: 8px 15px;
  background: #a4f3bf;
  color: #102a20;
  font: 600 15px/1.3 'Segoe UI', Arial, sans-serif;
  text-decoration: none;
}
.hw-action:hover { background: #d2f8d9; }
.hw-action:focus-visible { outline: 2px solid #f6f2e7; outline-offset: 4px; }
.hw-action svg { transform: rotate(90deg); }
.hw-photo { grid-area: photo; align-self: end; margin: 20px 0 0; max-width: 345px; }
.hw-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3.0;
  object-fit: cover;
  object-position: 62% 47%;
}
.hw-photo figcaption {
  margin-top: 6px;
  color: #d1ddcf;
  font: italic 400 13px/1.35 Georgia, serif;
}
.hero-territory-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.hero-territory-link > img { display: block; width: 58px; height: auto; flex: none; }
.hero-territory-link strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: #e6f5e8;
  font-weight: 600;
}
.hero-territory-link svg { width: 15px; height: 15px; color: #a4f3bf; transform: rotate(45deg); }
.hero-territory-link:hover strong { color: #a4f3bf; text-decoration: underline; text-underline-offset: 3px; }
.hero-territory-link:focus-visible { outline: 2px solid #a4f3bf; outline-offset: 4px; }
.hw-territory {
  grid-area: territory;
  align-self: center;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  margin: 0;
  padding: 0;
  border: 1px solid #577365;
  background: #091b15;
  scroll-margin-top: 100px;
}
.hw-territory:focus-visible { outline: 2px solid #a4f3bf; outline-offset: 4px; }
.hw-territory figcaption { padding: clamp(15px, 1.6vw, 25px) clamp(16px, 2vw, 30px) 0; }
.hic-welcome .hw-territory h3 {
  margin: 0;
  color: #f6f2e7;
  font: 400 clamp(22px, 2.2vw, 34px)/1.12 Georgia, serif;
  letter-spacing: -.035em;
  text-transform: none;
}
.hw-territory figcaption p {
  margin: 7px 0 0;
  max-width: 55ch;
  color: #c8d6c9;
  font: 400 clamp(13px, 1.05vw, 16px)/1.45 'Segoe UI', Arial, sans-serif;
}
.hw-territory figcaption strong { font-weight: 600; color: #ecf1e6; }
.hw-territory > img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .hic-welcome .hw-inner {
    grid-template: "title photo" auto "message message" auto "signature signature" auto "action action" auto "territory territory" auto / minmax(0,1fr) clamp(68px, 22vw, 112px);
    column-gap: 12px;
    align-items: center;
    padding-block: 24px;
  }
  .hic-welcome h2 { font-size: clamp(32px, 7.8vw, 44px); }
  .hw-message p { margin-top: 11px; font-size: 15px; line-height: 1.42; }
  .hw-signature { margin-top: 10px; }
  .hero-territory-link { gap: 9px; }
  .hero-territory-link > img { width: 45px; }
  .hw-territory { justify-self: start; max-width: 530px; margin-top: 21px; scroll-margin-top: 85px; }
  .hw-photo { align-self: center; margin: 0; }
  .hw-photo img { aspect-ratio: 1.48; object-position: 76% 50%; }
  .hw-photo figcaption { display: none; }
}

#parcours.home-projects-hub {
  --hp-paper: #f3f0e6;
  --hp-ink: #132d22;
  --hp-muted: #405a4c;
  --hp-rule: #c4ccbd;
  --hp-mint: #a4f3bf;
  position: relative;
  color: var(--hp-ink);
  background: var(--hp-paper);
  scroll-margin-top: 0;
  border-bottom: 1px solid var(--hp-rule);
}
.home-projects-hub > .c-wrap { padding-block: clamp(48px, 5.8vw, 94px); }
.home-projects-hub .hp-anchor {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 0;
}
.home-projects-hub .hp-heading {
  margin: 0;
  color: var(--hp-ink);
  font: 400 clamp(36px, 4.45vw, 76px)/1.06 Anton, 'Arial Narrow', sans-serif;
  letter-spacing: -.027em;
  text-transform: none;
  text-wrap: balance;
}
.hp-question-verb { white-space: nowrap; }
.hp-heading em {
  color: inherit;
  font: italic 400 1.02em/1 Georgia, serif;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.home-projects-hub .hp-lead {
  max-width: 64ch;
  margin: 13px 0 clamp(20px, 2.3vw, 36px);
  color: var(--hp-muted);
  font: 400 clamp(15px, 1.18vw, 19px)/1.45 'Segoe UI', Arial, sans-serif;
}
.hp-choices, .hp-examples { display: grid; gap: clamp(12px, 1.6vw, 27px); }
.hp-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(16px, 2vw, 30px); }
.hp-choice, .hp-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--hp-rule);
  color: var(--hp-ink);
  background: #faf8f0;
  text-decoration: none;
}
.hp-choice:hover, .hp-example:hover { border-color: var(--hp-muted); }
.home-projects-hub a:focus-visible { outline: 3px solid #167453; outline-offset: 3px; }
.hp-choice > img {
  width: 100%;
  aspect-ratio: 1.72;
  height: auto;
  object-fit: cover;
  grid-column: 1/-1;
}
.hp-choice > svg, .hp-example > svg { margin-right: 12px; }
.hp-copy { min-width: 0; padding: clamp(12px, 1.2vw, 21px); padding-right: 6px; }
.hp-copy strong {
  display: block;
  margin: 0;
  font: 400 clamp(22px, 1.68vw, 31px)/1.13 Georgia, serif;
  letter-spacing: -.044em;
}
.hp-copy > span {
  display: block;
  margin-top: 6px;
  color: var(--hp-muted);
  font: 400 clamp(13px, .91vw, 16px)/1.4 'Segoe UI', Arial, sans-serif;
}
.hp-panel { display: none; scroll-margin-top: 0; }
.hp-panel:target { display: block; }
.home-projects-hub:has(.hp-panel:target) .hp-picker { display: none; }
.hp-example { grid-template-columns: minmax(74px, 29%) minmax(0, 1fr) auto; align-content: stretch; }
.hp-example > img { width: 100%; height: 100%; min-height: 114px; max-height: 165px; object-fit: cover; }
.hp-back, .hp-more, .hp-estimate, .hp-contact, .hp-explore a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  color: var(--hp-ink);
  text-decoration: underline;
  text-underline-offset: .26em;
  font: 600 15px/1.35 'Segoe UI', Arial, sans-serif;
}
.hp-back { margin-bottom: 8px; }
.hp-back svg { transform: rotate(180deg); }
.hp-more { margin-top: 8px; }
.hp-actions, .hp-explore { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(16px, 2vw, 30px); }
.hp-actions { margin-top: clamp(20px, 2.3vw, 34px); padding-top: clamp(16px, 1.7vw, 24px); border-top: 1px solid var(--hp-rule); }
.hp-estimate { padding: 10px 17px; background: var(--hp-ink); color: var(--hp-mint); text-decoration: none; }
.hp-estimate:hover { background: #204c37; }
.hp-explore { margin-top: 4px; }
.hp-explore a { font-size: 13px; color: var(--hp-muted); font-weight: 500; }
@media (max-width: 1099px) {
  .hp-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-choice > img { aspect-ratio: 2.5; }
}
@media (max-width: 620px) {
  .home-projects-hub > .c-wrap { padding-block: 38px; }
  .home-projects-hub .hp-lead { margin: 10px 0 15px; }
  .hp-choices, .hp-examples { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .hp-choice, .hp-example { grid-template-columns: clamp(63px, 18vw, 82px) minmax(0, 1fr) auto; align-content: stretch; }
  .hp-choice > img, .hp-example > img {
    grid-column: 1;
    width: 100%;
    height: 100%;
    min-height: 70px;
    max-height: 120px;
    aspect-ratio: auto;
  }
  .hp-choice > svg, .hp-example > svg { margin-right: 8px; width: 17px; }
  .hp-copy { padding: 9px 4px 9px 10px; }
  .hp-copy strong { font-size: clamp(18px, 4.6vw, 23px); }
  .hp-copy > span { margin-top: 3px; font-size: 13px; line-height: 1.28; }
  .hp-actions { gap: 3px 16px; }
  .hp-explore { gap: 0 16px; }
}
