/* One hero introduction anchor across all public page templates.
   Match the homepage's 48 / 28 / 20px gutters and 36 / 32px top inset. */
:root { --hero-gutter:48px; --hero-top:36px; --hero-shell:calc(1280px + var(--hero-gutter)*2); }
.homepage .hero-inner,
.about-page .about-hero-inner {
  align-items:flex-start;
  padding-top:var(--hero-top);
}
.homepage .hero .container,
.about-page .about-hero .container,
.portfolio-intro .container {
  --side:var(--hero-gutter);
  max-width:var(--hero-shell);
}
.portfolio-intro,
.case-page .case-hero { padding-top:var(--hero-top); }
.resume-page .resume-sheet,
.contact-page .contact-page-shell {
  max-width:var(--hero-shell);
  padding-top:var(--hero-top);
  padding-inline:var(--hero-gutter);
}
.case-page .case-hero .case-shell {
  max-width:var(--hero-shell);
  padding-inline:var(--hero-gutter);
}
.portfolio-intro-top,
.resume-topline,
.contact-page-topline { align-items:flex-start; }
.about-hero-copy > .eyebrow,
.portfolio-intro-top,
.resume-topline,
.contact-page-topline { margin-bottom:14px; }
.case-hero .case-breadcrumb { margin-top:22px; margin-bottom:0; }
.resume-page .resume-topline .eyebrow {
  font:600 12px/1.5 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink);
}
.resume-page .resume-topline .eyebrow span { color:inherit; }
@media(max-width:1000px) {
  :root { --hero-gutter:28px; --hero-top:32px; }
}
@media(max-width:750px) {
  :root { --hero-gutter:20px; }
  .resume-page .resume-topline .eyebrow { font-size:10px; }
}
@media print {
  .resume-page .resume-sheet { max-width:none; padding:0; }
}

/* Shared botanical size: 45% of the containing hero art height.
   Preserve this height-based rule; width-based sizing caused leaf growth.
   The remaining 5% accommodates the homepage's gentle rotation. */
:root { --hero-monstera-height:45%; }
.homepage .hero .collage-monstera,
.about-page .about-hero .about-leaves {
  height:var(--hero-monstera-height);
  max-height:50%;
  width:auto;
  aspect-ratio:1378 / 1141;
  bottom:-6%;
}
.homepage .hero .collage-monstera img,
.about-page .about-hero .about-leaves img {
  width:100%;
  height:100%;
  object-fit:contain;
}
.about-page .about-hero .about-leaves { right:27%; }

/* Homepage: align the leaf crown with the top of IMPACT in the approved desktop composition. */
.homepage .hero .collage-monstera {
  --hero-monstera-height:64.2%;
  max-height:64.2%;
}

/* The mobile collage sits below the heading; retain its compact leaf. */
@media(max-width:750px) {
  .about-page .about-hero .about-leaves {
    right:45%;
    --hero-monstera-height:22%;
    max-height:22%;
  }
  .homepage .hero .collage-monstera {
    --hero-monstera-height:53.1%;
    max-height:53.1%;
  }
}
