/* A&S Heritage Farms case study: brand work supporting the live website story. */
.heritage-identity{background:#0d3d2b;color:#f4efe8;padding-block:clamp(72px,8vw,112px)}
#heritage-identity-title{scroll-margin-top:115px}
.heritage-identity-intro{display:grid;grid-template-columns:1.15fr .7fr;align-items:end;gap:8%;margin-bottom:46px}
.heritage-identity-intro h2{max-width:740px;margin:14px 0 0;font-size:clamp(45px,5.2vw,75px);line-height:1.02;letter-spacing:-.065em;font-weight:600}
.heritage-identity-intro h2 em{display:block;font-family:var(--serif);font-weight:400;color:#e7bd79}
.heritage-identity-intro>p{max-width:520px;margin:0;color:#e5e8dd;font-size:18px;line-height:1.55}
.heritage-identity-grid{display:grid;grid-template-columns:1fr .92fr;align-items:stretch;gap:0}
.heritage-emblem{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;margin:0;padding:clamp(24px,4vw,58px);background:#0b2e24}
.heritage-emblem img{display:block;width:min(100%,620px);height:auto;aspect-ratio:1;object-fit:contain}
.heritage-emblem figcaption{align-self:flex-start;margin-top:25px;color:#d6dfd2;font-size:12px;line-height:1.5;letter-spacing:.04em}
.heritage-brand-details{min-width:0;background:#f4efe8;color:#0b1f3b;padding:clamp(28px,4vw,56px)}
.heritage-detail-number{color:#7e5c36;font-size:11px;font-weight:700;letter-spacing:.15em}
.heritage-brand-details h3{max-width:540px;margin:24px 0 20px;font-size:clamp(35px,3.4vw,52px);line-height:1.07;letter-spacing:-.055em}
.heritage-brand-details>p{max-width:540px;margin:0;color:#405653;font-size:16px;line-height:1.62}
.heritage-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:35px;padding-top:24px;border-top:1px solid #cfd6ce}
.heritage-swatches>div{min-width:0}
.heritage-swatch{display:block;height:43px;margin-bottom:10px;background:var(--swatch);border:1px solid rgba(8,26,22,.12)}
.heritage-swatch-forest{--swatch:#0D3D2B}
.heritage-swatch-earth{--swatch:#6C4E2A}
.heritage-swatch-wheat{--swatch:#D5A354}
.heritage-swatch-clay{--swatch:#E9E0D2}
.heritage-swatches strong,.heritage-swatches small{display:block;line-height:1.4}
.heritage-swatches strong{font-size:12px;color:#132a29}
.heritage-swatches small{font-size:10px;color:#5e716e}
.heritage-guidelines{margin:35px 0 0;padding-top:24px;border-top:1px solid #cfd6ce}
.heritage-guidelines img{display:block;width:100%;height:auto;border:1px solid rgba(8,26,22,.12)}
.heritage-guidelines figcaption{margin-top:9px;color:#536964;font-size:12px}
.case-story h2{font-size:clamp(40px,3.35vw,51px)}
.case-story-content>p,.decision p{text-align:left;hyphens:none}
@media(max-width:1000px){
  .heritage-identity-intro{grid-template-columns:1fr;gap:20px}
  .heritage-identity-grid{grid-template-columns:1fr 1fr}
  .heritage-brand-details{padding:32px}
  .heritage-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  .heritage-identity{padding-block:72px}
  .heritage-identity-intro{margin-bottom:32px}
  .heritage-identity-intro h2{font-size:clamp(46px,8.5vw,64px)}
  .heritage-identity-intro>p{font-size:17px}
  .heritage-identity-grid{grid-template-columns:1fr}
  .heritage-emblem{padding:30px}
  .heritage-emblem img{max-width:500px}
  .heritage-brand-details{padding:35px}
  .heritage-swatches{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:460px){
  .heritage-identity{padding-block:58px}
  .heritage-identity-intro h2{font-size:46px}
  .heritage-emblem{padding:20px}
  .heritage-emblem figcaption{margin-top:14px;font-size:11px}
  .heritage-brand-details{padding:25px 22px 30px}
  .heritage-brand-details h3{font-size:37px}
  .heritage-swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .heritage-swatch{height:47px}
}
