/* GERARDO LEONE | V9 — photographic contrast and page-by-page spacing audit.
   These changes intentionally preserve the approved layout, icons, typography
   and visual treatment of the V8 site. */

/* Home values: the same marble photograph, just a touch more ivory behind text. */
.page-home .trust {
  background-color:#f6f0e9;
  background-image:linear-gradient(rgba(250,247,242,.48),rgba(250,247,242,.48)),url('../img/texture-avorio.webp');
  background-position:center;
  background-size:cover;
}
.page-home .trust-text strong {color:#28211d}
.page-home .trust-text small {color:#463a32}

/* Interior heroes: establish a dark *navigation zone* independently
   of a much lighter photograph outside the textual area. */
.page-interior .site-header::before {
  inset:0 0 -24px;
  background:linear-gradient(to bottom,
    rgba(17,15,14,.90) 0%,
    rgba(20,17,15,.85) 49%,
    rgba(20,17,15,.56) 74%,
    rgba(20,17,15,0) 100%);
}
.page-interior .site-header .header-nav a,
.page-interior .site-header .brand-main {text-shadow:0 1px 5px rgba(0,0,0,.28)}
.page-interior .page-hero .page-hero-veil {
  background:
    linear-gradient(90deg,
      rgba(19,16,15,.78) 0%,
      rgba(20,17,15,.62) 23%,
      rgba(23,18,16,.32) 44%,
      rgba(24,20,18,.06) 66%,
      rgba(24,20,18,0) 82%),
    linear-gradient(0deg,rgba(19,16,15,.15) 0%,transparent 38%);
}
.page-interior .page-hero h1,
.page-interior .page-hero p,
.page-interior .page-hero .crumb {text-shadow:0 2px 9px rgba(0,0,0,.48)}

/* Page rhythm: moderate and consistent gaps without changing card structure. */
:root {--gl-v9-section-space:clamp(36px,3.35vw,52px);--gl-v9-content-space:clamp(24px,2.25vw,34px)}
.page-interior .page-body {padding-bottom:clamp(82px,6vw,108px)}
.article > .editorial-block {margin-bottom:var(--gl-v9-section-space)}
.article > .editorial-block + .editorial-block {margin-top:0}
.article > .editorial-block.layout-framed,
.article > .editorial-block.layout-soft {scroll-margin-top:110px}
.article > .editorial-block .editorial-heading {margin-bottom:24px}
.article > .editorial-block.layout-columns .editorial-heading {margin-bottom:22px}
.article .editorial-copy p + p {margin-top:22px}
.article .editorial-copy p {margin-bottom:0}
.article .editorial-copy > p:last-child {margin-bottom:0}
.article > figure.art-figure {margin-top:var(--gl-v9-content-space);margin-bottom:var(--gl-v9-section-space)}
.article > figure.art-figure + .editorial-block {margin-top:0}
.article > .editorial-block + figure.art-figure {margin-top:var(--gl-v9-content-space)}
.article figure.art-figure .editorial-caption {padding-top:5px;line-height:1.6}
.article > .overline {margin-bottom:20px}
.article > .overline + .editorial-block {margin-top:15px}
.article > .overline + .standalone-heading {margin-top:22px}
.article > .standalone-heading {margin-top:var(--gl-v9-section-space);margin-bottom:22px}
.article > .standalone-heading + p {margin-top:11px}
.article > p + p {margin-top:14px}
.article > p + .standalone-heading {margin-top:var(--gl-v9-section-space)}
.article > .editorial-block + .standalone-heading {margin-top:57px}
.article > .contact-band + .standalone-heading {margin-top:57px}
.article > .standalone-heading + .contact-band {margin-top:24px}
.article > .standalone-heading + .step-grid,
.article > .standalone-heading + .tile-grid,
.article > .standalone-heading + .gallery-grid {margin-top:29px}
.article > .note {margin-top:36px;margin-bottom:44px}
.article > .note + .standalone-heading {margin-top:46px}
.article > .note + .editorial-block {margin-top:46px}
.article > blockquote.quote {margin-top:48px;margin-bottom:52px}
.article > .form-shell + .editorial-block {margin-top:76px}

/* Collections: generous transitions between distinct content types. */
.article > .stone-grid,
.article > .tile-grid,
.article > .gallery-grid,
.article > .step-grid {row-gap:22px;column-gap:22px}
.article > .stone-grid {margin-top:34px;margin-bottom:58px}
.article > .stone-grid + .editorial-block {margin-top:0;clear:both}
.article > .gallery-grid {margin-top:32px;margin-bottom:54px}
.article > .gallery-grid + .editorial-block {margin-top:0}
.article > .tile-grid {margin-top:29px;margin-bottom:44px}
.article > .step-grid {margin-top:31px;margin-bottom:48px}
.article > .faq-item {margin-top:13px;margin-bottom:0}
.article > .faq-item + .faq-item {margin-top:14px}
.article > .faq-item:last-child {margin-bottom:26px}

/* Consistent breathing space inside informational and action components. */
.article > .contact-band {margin-top:28px;margin-bottom:40px;gap:17px}
.article > .form-shell {margin-top:32px;margin-bottom:0}
.article .form-shell .form-grid {row-gap:19px;column-gap:19px}
.article .form-shell .consent {margin-top:20px;margin-bottom:25px}
.article .editorial-block.layout-columns {column-gap:clamp(27px,3vw,43px)}
.article .editorial-block.layout-columns .editorial-copy p+p {margin-top:24px}
.article .editorial-block.layout-columns figure.section-media {margin-top:0}
.article .editorial-block.layout-columns .editorial-heading {margin-bottom:23px}
.page-interior .page-values + .page-body {padding-top:clamp(50px,4vw,66px)}

/* Inner-page last item must not be jammed into the footer. */
.article > :last-child {margin-bottom:0}

@media(max-width:1120px) {
  .page-interior .page-hero .page-hero-veil {
    background:linear-gradient(90deg,rgba(18,16,14,.80),rgba(22,18,16,.48) 54%,rgba(24,20,18,.08) 82%,transparent);
  }
  .page-interior .page-values + .page-body {padding-top:52px}
  .article > .stone-grid {margin-bottom:49px}
}
@media(max-width:800px) {
  .page-interior .site-header::before {
    inset:0 0 -19px;
    background:linear-gradient(to bottom,rgba(16,15,14,.91),rgba(17,15,14,.84) 55%,transparent 100%);
  }
  .page-interior .page-hero .page-hero-veil {
    background:linear-gradient(90deg,rgba(18,16,14,.79),rgba(19,16,14,.51) 70%,rgba(20,17,15,.17));
  }
  .article > .stone-grid {column-gap:16px;row-gap:17px;margin-bottom:43px}
  .article > .gallery-grid {margin-bottom:46px}
  .article > .editorial-block + .standalone-heading {margin-top:45px}
}
@media(max-width:570px) {
  :root {--gl-v9-section-space:33px;--gl-v9-content-space:26px}
  .page-home .trust {
    background-image:linear-gradient(rgba(250,247,242,.55),rgba(250,247,242,.55)),url('../img/texture-avorio.webp');
  }
  .page-interior .page-hero .page-hero-veil {
    background:linear-gradient(90deg,rgba(18,15,13,.82),rgba(19,16,15,.55) 75%,rgba(22,19,17,.22));
  }
  .page-interior .page-values + .page-body {padding-top:46px}
  .article > .editorial-block .editorial-heading {margin-bottom:18px}
  .article .editorial-copy p+p {margin-top:18px}
  .article > .stone-grid {margin-top:26px;margin-bottom:37px;column-gap:12px;row-gap:15px}
  .article > .gallery-grid {margin-top:24px;margin-bottom:40px}
  .article > .form-shell + .editorial-block {margin-top:54px}
  .article > .standalone-heading {margin-top:36px}
  .article > .contact-band + .standalone-heading {margin-top:43px}
  .article > figure.art-figure {margin-bottom:36px}
}
