/* Deployment-ready visual refinements: approved edits, no content changes. */
/* Show the complete approved BY HER SIDE cover without cropping. */
.project-card.byher .project-visual.approved-cover { overflow:hidden; background:#faf7f1; }
.project-card.byher .project-visual.approved-cover img {
  width:100%; height:100%; object-fit:cover; object-position:center;
  transform:none; transition:none;
}
.project-card.byher .project-link:hover .project-visual.approved-cover img { transform:none; }
/* All large titles use readable font sizes, their container width, and deliberate line breaks. */
.section-title { font-size:clamp(34px, 3.6vw, 54px) !important; max-width:100%; text-wrap:initial !important; }
.case-title { font-size:clamp(31px, 3.55vw, 53px) !important; max-width:100%; text-wrap:initial !important; }
.project-main-title { font-size:clamp(45px, 5.2vw, 79px) !important; text-wrap:initial !important; }
.project-title { text-wrap:initial !important; }
.home-page #about .section-title { font-size:clamp(33px,3.6vw,54px) !important; }
/* Keep short, approved contact headline on one line where room is available. */
.home-page #contact .section-title {
  font-size:clamp(30px, 3.3vw, 50px) !important;
  max-width:100% !important;
  white-space:normal !important;
}
.home-page #contact .contact-panel p {
  max-width:none; font-size:clamp(14px,1.05vw,17px) !important;
}
@media (min-width:1000px) {
  .home-page #contact .section-title { white-space:nowrap !important; }
  .home-page #contact .contact-panel p { white-space:nowrap; }
}
@media (max-width:820px) {
  .section-title { font-size:clamp(30px,6vw,43px) !important; }
  .case-title { font-size:clamp(27px,6vw,42px) !important; }
  .project-main-title { font-size:clamp(39px,7vw,60px) !important; }
  .home-page #contact .section-title { font-size:clamp(28px,5.5vw,40px) !important; }
}

/* Approved homepage portrait: rounded rectangle with an integrated nameplate. */
.home-page .portrait-stage {
  overflow: hidden;
  border-radius: 22px;
  background: #203e35;
  box-shadow: var(--shadow-soft);
}
.home-page .portrait-frame {
  border-radius: 0;
  box-shadow: none;
}
.home-page .portrait-caption {
  position: static;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #203e35;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.home-page .portrait-caption > strong > span {
  color: #fffdf7;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  margin: 0;
}
.home-page .portrait-caption > span {
  color: #dbe4dc;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.5;
  margin-top: 3px;
}

/* Compact homepage introduction: size the section to its content. */
.home-page .home-hero { min-height: 0; padding: 54px 0 36px; }
.home-page .portrait-stage { width: min(100%, 300px); }
.home-page .hero-continue .chapter-next { margin-top: 32px; }
@media (max-width: 820px) {
  .home-page .home-hero { padding: 36px 0 28px; }
  .home-page .portrait-stage { width: min(72%, 260px); }
}

/* Small profile portrait, consistent across desktop and mobile. */
.home-page .portrait-stage { width: min(100%, 180px); justify-self: center; }
.home-page .portrait-frame { aspect-ratio: 1 / 1; }
.home-page .portrait-frame img { object-position: 50% 25%; }
.home-page .portrait-caption { padding: 10px 8px; }
.home-page .portrait-caption > strong > span { font-size: 21px; }
.home-page .portrait-caption > span { font-size: 12px; line-height: 1.5; }
