/* The directory opens with the work, not a full-height text hero. */
.home{--gutter:clamp(16px,3vw,42px)}
.home .mast,.home .intro-layout,.home .split,.home .docs-inner,.home .endbar{padding-inline:var(--gutter)}
.home .mast{padding-block:8px}
.home .directory{width:100%;max-width:1280px;margin-inline:auto;padding-inline:var(--gutter);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;column-gap:28px}
.home .directory .intro-layout{grid-column:1;grid-row:1;margin:0;padding:18px 0 17px}
.home .welcome .kicker{margin:0;font-size:11px}
.home .welcome h1,html[dir=rtl] .home .welcome h1{grid-column:1;max-width:none;font-size:clamp(21px,2.15vw,31px);line-height:1.25;letter-spacing:-.025em}
.home .directory-note{grid-column:2;grid-row:1;margin:0;max-width:55ch;font-size:14px;line-height:1.55;color:#c5d2dc}
.home .directory .split{width:100%;padding-inline:0;grid-column:1/-1;grid-row:2}
.home .split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;align-items:stretch;gap:16px;padding-bottom:24px}
.home .co{display:grid;grid-template-columns:minmax(0,.77fr) minmax(0,1fr);align-items:stretch;align-content:stretch;justify-content:stretch;gap:0;min-height:0;margin:0;padding:0;background:#fbfaf7;color:#132e40;border:0;border-radius:6px;isolation:isolate}
.home .co::before{content:none}
.home .co:focus-visible{outline-color:#ffc785;outline-offset:3px}
.home .co .card-photo{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:cover;object-position:50% 48%;align-self:stretch}
.home .card-copy{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(15px,1.7vw,24px);min-width:0}
.home .co .badge{width:66px;height:56px;margin:0 0 12px;border:none;background:#fff}
.home .co .k,html[dir=rtl] .home .co .k{font-weight:700;font-size:11px;line-height:1.5;letter-spacing:.07em;color:#725021;margin:0 0 5px;align-self:auto}
.home .co h2,html[dir=rtl] .home .co h2{font-size:clamp(18px,1.55vw,23px);line-height:1.22;letter-spacing:-.015em;max-width:none}
.home .co p,html[dir=rtl] .home .co p{font-size:14px;line-height:1.55;color:#445866;margin:9px 0 15px}
.home .co .go,html[dir=rtl] .home .co .go{font-size:13px;letter-spacing:.035em;line-height:1.45;margin:auto 0 0;padding:8px 13px;background:#12394a;color:#fff;border-radius:3px}
.home .co:hover .go,.home .co:focus-visible .go{background:#075c60;filter:none}
.home .co .meta,html[dir=rtl] .home .co .meta{margin:8px 0 0;font-size:10px;line-height:1.5;letter-spacing:.045em;color:#536775}
.home .docs-inner{padding-block:27px}

/* Keep portrait site photos inside their own frame. Text never covers the work. */
body:not(.home)>header{position:relative;background:var(--navy)}
.hero{min-height:0;background:#10293a;color:#fff}
.hero>.project-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:clamp(22px,4vw,62px);padding-block:clamp(22px,3vw,42px)}
.project-copy{min-width:0}
.project-copy .eyebrow{font-size:12px;line-height:1.55;margin:0 0 12px;letter-spacing:.12em;color:#ffc27b}
.hero .project-copy h1,html[dir=rtl] .hero .project-copy h1{font-size:clamp(32px,3.4vw,48px);max-width:none;line-height:1.1;letter-spacing:-.025em}
html[dir=rtl] .hero .project-copy h1{line-height:1.32}
.hero .project-copy .lead{font-size:16px;line-height:1.65;margin:14px 0 0;max-width:60ch}
.project-copy .cta{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.project-copy .cta .btn{padding:10px 13px;font-size:13px;line-height:1.5}
.project-copy .cta .o{border-width:1px;padding:9px 12px}
.project-photo{justify-self:end;align-self:center;width:min(100%,368px);margin:0}
.project-photo img{display:block;width:100%;height:auto;aspect-ratio:1.16;object-fit:cover;object-position:center 48%;border-radius:4px}
.project-photo figcaption{display:flex;align-items:center;gap:9px;padding-block-start:8px;font-size:13px;line-height:1.55;color:#d1e0e6}
.project-photo figcaption::before{content:"";flex:0 0 19px;height:2px;background:var(--amber)}
.hero .strip{position:static}
.hero .strip .wrap{padding-block:0}
@media(max-width:910px){
 .home .split{grid-template-columns:minmax(0,1fr)}
 .home .co{grid-template-columns:minmax(0,.65fr) minmax(0,1fr)}
 .home .co .card-photo{position:absolute;inset-block:0;inset-inline-start:0;width:39.39%}
 .home .card-copy{grid-column:2}
}
@media(max-width:670px){
 .home .directory{grid-template-columns:minmax(0,1fr)}.home .directory .intro-layout{padding-block:12px}
 .home .directory-note{grid-column:1;grid-row:3;font-size:13px;line-height:1.6;margin:0 0 16px}
 .home .split{gap:12px;padding-bottom:18px}
 .home .co{grid-template-columns:minmax(0,.53fr) minmax(0,1fr)}
 .home .co .card-photo{width:34.64%}
 .home .card-copy{padding:13px}
 .home .co .badge{width:49px;height:41px;margin-bottom:7px}
 .home .co .k,html[dir=rtl] .home .co .k{font-size:10px}
 .home .co p,html[dir=rtl] .home .co p{font-size:13px;line-height:1.48;margin:6px 0 11px}
 .hero>.project-intro{grid-template-columns:minmax(0,1fr);gap:16px;padding-block:18px 22px}
 .project-photo{grid-row:1;justify-self:start;width:min(100%,368px)}
 .project-photo img{aspect-ratio:2.1;object-position:center 46%}
 .project-photo figcaption{font-size:12px;padding-top:5px}
 .hero .project-copy h1 br{display:none}
 .project-copy .eyebrow{margin-bottom:5px}
 .hero .project-copy h1,html[dir=rtl] .hero .project-copy h1{font-size:clamp(25px,6vw,32px);line-height:1.3}
 .hero .project-copy .lead{margin-top:9px;font-size:15px}
}
