@font-face{font-family:BrandonCase;src:local("Brandon Grotesque Regular"),local("BrandonGrotesque-Regular");font-weight:400 500;font-display:swap}
@font-face{font-family:BrandonCase;src:local("Brandon Grotesque Bold"),local("BrandonGrotesque-Bold"),local("Brandon Grotesque Black");font-weight:650 900;font-display:swap}
*{box-sizing:border-box}
body{--ink:#161210;--paper:#f7f1e8;--muted:#5e5550;--rule:#b9aea5;--accent:#9b1131;--edge:clamp(1.2rem,6vw,7rem);margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.45 BrandonCase,"Brandon Grotesque","Avenir Next",Arial,sans-serif}
body.case-dark{--ink:#f8f2e9;--paper:#100f0d;--muted:#c6bdb5;--rule:#5c514d;--accent:#ff5771}
h1,h2,p,figure{margin:0}img{display:block;max-width:100%;height:auto}a{color:inherit;text-underline-offset:.23em}a:focus-visible{outline:2px solid var(--accent);outline-offset:.3rem}
.case-skip{position:absolute;left:1rem;top:1rem;transform:translateY(-160%);background:var(--paper);padding:.65rem;z-index:5}.case-skip:focus{transform:none}
.case-bar,.case-title,.case-wrap{padding-inline:var(--edge)}
.case-bar{min-height:5rem;border-bottom:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between;gap:1rem}.case-bar img{width:clamp(6.2rem,12vw,10rem)}.case-light .case-bar img{filter:brightness(0)}.case-bar nav a,.case-back{font-weight:800}
.case-title{padding-block:clamp(3rem,8vw,8rem) clamp(2.25rem,5vw,5rem)}
.case-label{color:var(--accent);text-transform:uppercase;font-size:.875rem;font-weight:800;letter-spacing:.14em}
.case-title h1{font-size:clamp(3rem,10.3vw,11.5rem);font-weight:850;letter-spacing:-.071em;line-height:.89;margin:.18em 0 .27em;overflow-wrap:break-word}
.case-deck{font-size:clamp(1.14rem,2.2vw,2.1rem);font-weight:650;max-width:38ch}
.case-hero{background:#211d1d;display:grid;justify-items:center}.case-hero img{width:100%;max-height:78svh;object-fit:cover;object-position:center}
.case-notes{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,1.5fr);gap:1rem 4vw;padding-block:clamp(3.35rem,8vw,7rem)}
.case-notes h2,.case-gallery h2{font-size:clamp(1.4rem,3.4vw,3.1rem);letter-spacing:-.045em;line-height:1.05;font-weight:850}
.case-notes div{max-width:58ch;font-size:clamp(1.05rem,1.65vw,1.45rem)}
.case-scope{border-top:1px solid var(--rule);margin-top:1.35rem;padding-top:1.1rem;color:var(--muted);font-size:1rem}.case-scope strong{display:block;color:var(--ink);margin-bottom:.12rem}
.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(1.4rem,4vw,4.7rem);padding-bottom:clamp(3.35rem,8vw,7rem)}
.case-gallery h2{grid-column:1/-1;padding-bottom:1rem;border-bottom:1px solid var(--rule)}
.case-gallery figure{min-width:0}.case-gallery figure:last-child:nth-child(even){grid-column:1/-1}.case-gallery img{width:100%;max-height:74svh;object-fit:contain;background:rgba(128,128,128,.13)}
figcaption{display:grid;gap:.15rem;margin-top:.7rem;color:var(--muted);font-size:1rem}figcaption strong{color:var(--ink)}
.case-footer{border-top:1px solid var(--rule);display:flex;justify-content:space-between;align-items:end;gap:1.4rem;flex-wrap:wrap;padding-block:2.5rem}.case-next{font-size:clamp(1.45rem,3vw,3rem);font-weight:850;line-height:1.1;letter-spacing:-.04em}.case-next span{display:block;font-size:.9rem;letter-spacing:.02em;margin-bottom:.45rem;color:var(--accent)}
@media(max-width:660px){.case-notes,.case-gallery{grid-template-columns:minmax(0,1fr)}.case-gallery figure:last-child:nth-child(even){grid-column:auto}.case-hero img{max-height:none}.case-bar{min-height:4.25rem}}

.case-hero-marisol{background:#303143;padding:clamp(1.2rem,4vw,4rem)}
.case-hero-marisol img{width:min(100%,42rem);object-fit:contain;max-height:none}
.case-gallery-marisol figure img{width:auto;max-width:100%;max-height:34rem;margin-inline:auto;background:transparent}

.case-gafanha-associates .case-title h1,.case-pentecostals-of-cooper-city .case-title h1{font-size:clamp(2.65rem,8.5vw,9rem);text-wrap:balance}
.case-gafanha-associates .case-hero img{object-fit:contain;max-height:none}
.case-pentecostals-of-cooper-city .case-hero img{object-position:50% 38%}
@media(max-width:660px){.case-pentecostals-of-cooper-city .case-title h1{font-size:clamp(2.5rem,9.2vw,4rem)}}

/* Real estate: non-destructive color correction, scoped to this case. */
.case-residential-property .case-title h1{font-size:clamp(2.65rem,8.8vw,9.4rem);text-wrap:balance}
.case-residential-property .case-hero img,.case-residential-property .property-grade-exterior{filter:saturate(.82) contrast(.97);filter:url("real-estate-grade.svg#exterior");}
.case-residential-property .property-grade-interior{filter:saturate(.94) brightness(1.02);filter:url("real-estate-grade.svg#interior");}
.case-residential-property .property-grade-living{filter:saturate(.94) brightness(1.02);filter:url("real-estate-grade.svg#living");}
.case-residential-property .property-grade-kitchen{filter:saturate(.94) brightness(1.02);filter:url("real-estate-grade.svg#kitchen");}

/* Property films use the original landscape and portrait framing. */

.property-pair{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:clamp(.55rem,1.3vw,1.1rem);align-items:end;margin-bottom:clamp(2rem,5vw,5rem)}.property-pair figure{margin:0;min-width:0}.property-pair .case-hero{width:100%;max-width:none}.property-pair img,.property-pair .case-hero img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.property-secondary img{border-radius:inherit}@media(max-width:720px){.property-pair{grid-template-columns:1fr}.property-secondary{max-width:78%}}
