/* Hero sizing follows the existing Césped hero: 650px desktop, compact on phones.
   Scoped to hero sections only; navigation, footer and page content stay untouched. */
@layer vivero-hero-sizing {
  :root { --vo-hero-height: 650px; }
  body main :is(.vo-hero,.grass-hero,.design-hero,.irrigation-hero,.maintenance-hero,.editorial-hero,.about-intro) {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    height: var(--vo-hero-height) !important;
    min-height: var(--vo-hero-height) !important;
    max-height: none !important;
    padding-block: 0 !important;
  }
  body main :is(.vo-hero-inner,.grass-hero-inner,.design-hero-inner,.irrigation-hero-inner,.maintenance-hero-inner,.editorial-hero-inner,.about-intro-layout) {
    padding-block: 32px !important;
  }
  @media (min-width:761px) and (max-width:1100px) {
    :root { --vo-hero-height: 520px; }
  }
  @media (max-width:760px) {
    :root { --vo-hero-height: 410px; }
    body main :is(.vo-hero-inner,.grass-hero-inner,.design-hero-inner,.irrigation-hero-inner,.maintenance-hero-inner,.editorial-hero-inner,.about-intro-layout) {
      padding-block: 24px !important;
    }
  }
  @media (max-width:360px) {
    :root { --vo-hero-height: 470px; }
  }
}

/* The existing About photograph becomes a full-width hero background. */
.about-page .about-intro { position: relative; isolation: isolate; background: #123c2e; color: #f5f3e9; }
.about-page .about-intro-layout { display: block; }
.about-page .about-photo { position: absolute; inset: 0; z-index: -2; }
.about-page .about-photo img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: 50% 55%; }
.about-page .about-intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(13,40,30,.9) 0%,rgba(13,40,30,.82) 36%,rgba(13,40,30,.3) 76%,rgba(13,40,30,.08) 100%); }
html body.about-page main .about-intro-copy { max-width: 580px; text-align: left; }
html body.about-page main .about-intro-copy :is(h1,p,a) { color: #f5f3e9; text-align: left !important; margin-inline: 0 !important; }
.about-page .about-intro h1 { font-size: clamp(48px,5.5vw,76px); }
.about-page .about-intro-copy .about-lead { font-size: 20px; line-height: 1.5; max-width: 42ch; margin-top: 24px; }
.about-page .about-intro-copy > p:not(.about-lead) { font-size: 18px; line-height: 1.5; }
html body.about-page main .about-intro-link { justify-content: flex-start; }
.about-page .about-intro a:focus-visible { outline-color: #f5f3e9; }
@media (max-width:760px) {
  .about-page .about-intro::before { background: rgba(13,40,30,.76); }
  .about-page .about-photo img { object-position: 50% 55%; }
  .about-page .about-intro-copy :is(.about-lead,p) { font-size: 16px; line-height: 1.5; margin-top: 12px; max-width: none; }
  .about-page .about-intro-copy > p:not(.about-lead) { font-size: 16px; }
  .about-page .about-intro-link { margin-top: 12px; min-height: 44px; }
}
