:root{
  --portfolio-columns:3;
  --cover-ratio:4/3;
  --portfolio-gap:14px;
}

/* Thomas-inspired horizontal brand/navigation system */
.site-header{
  height:76px;
  padding:0 2.4vw;
  background:rgba(243,241,235,.97);
  border-bottom:1px solid rgba(17,17,15,.16);
}
.wordmark{font-size:16px;letter-spacing:-.025em}
.wordmark span{font-size:12px;letter-spacing:.02em;opacity:.58}
.site-header nav{gap:34px;font-size:11px;letter-spacing:.12em}

/* A shallower masthead that is realistic inside Adobe Portfolio */
.hero{
  min-height:72vh;
  grid-template-columns:1.2fr .8fr;
  padding:7vw 2.4vw 4vw;
}
.hero h1{font-size:clamp(58px,7vw,112px);max-width:1020px}
.hero-copy p{max-width:430px;font-size:clamp(16px,1.25vw,20px)}
.ticker{padding-left:2.4vw;padding-right:2.4vw}

/* Thomas-style collection grid: adjustable columns and cover ratio */
.section-head{padding:84px 2.4vw 30px}
.section-head h2{font-size:clamp(44px,5vw,72px)}
.project-grid{
  padding:0 2.4vw 110px;
  grid-template-columns:repeat(var(--portfolio-columns),minmax(0,1fr));
  gap:var(--portfolio-gap);
}
.project-card,.project-card:nth-child(3n),.project-card:nth-child(3n+1):not(:first-child){grid-column:auto}
.project-image{position:relative;aspect-ratio:var(--cover-ratio);overflow:hidden;background:#d9d6cf}
.project-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.72));opacity:0;transition:opacity .32s ease}
.project-image img{transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.project-hover{position:absolute;z-index:2;inset:0;padding:24px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;opacity:0;transform:translateY(12px);transition:opacity .32s ease,transform .32s ease}
.project-hover span{position:absolute;top:22px;left:24px;font-size:9px;text-transform:uppercase;letter-spacing:.13em}
.project-hover h3{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.4vw,40px);line-height:.98;letter-spacing:-.04em;margin:0 0 6px}
.project-hover p{font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin:0;opacity:.78}
.project-hover b{margin-top:20px;font-size:10px;text-transform:uppercase;letter-spacing:.11em;font-weight:500}
.project-card:hover .project-image:after,.project-card:focus-visible .project-image:after{opacity:1}
.project-card:hover .project-hover,.project-card:focus-visible .project-hover{opacity:1;transform:none}
.project-card:hover img,.project-card:focus-visible img{transform:scale(1.035);filter:saturate(.82)}
.project-meta{display:none}

/* Carry the same restrained proportions into case studies */
.project-hero{padding:6vw 2.4vw 2.4vw}
.project-cover{margin:0 2.4vw;height:auto;aspect-ratio:16/9}
.project-narrative{margin-top:4vw}
.gallery{padding-left:2.4vw;padding-right:2.4vw}

/* Editorial About-page portrait treatment */
.about-hero{grid-template-columns:1.08fr .92fr;align-items:start;gap:5vw;padding:7vw 2.4vw 6vw}
.about-hero .page-title{grid-column:1;grid-row:1;font-size:clamp(58px,7vw,112px);line-height:.91}
.about-hero .about-intro{grid-column:1;grid-row:2;max-width:680px;font-size:clamp(25px,2.7vw,43px);padding-top:3vw}
.about-portrait{position:relative;grid-column:2;grid-row:1/3;height:78vh;min-height:620px;margin-top:0;overflow:hidden;background:#d4d1cb}
.about-portrait img{object-position:center 34%;filter:contrast(1.02)}

@media(max-width:1000px){:root{--portfolio-columns:2}.hero{grid-template-columns:1fr}.hero-copy{gap:38px;margin-top:45px}.about-hero{grid-template-columns:1fr}.about-hero .page-title,.about-hero .about-intro,.about-portrait{grid-column:1;grid-row:auto}.about-portrait{height:72vh;min-height:560px;margin-top:2vw}}
@media(max-width:760px){:root{--portfolio-columns:1;--cover-ratio:4/3}.site-header{height:68px}.project-grid{display:grid;padding-left:16px;padding-right:16px}.project-hover{opacity:1;transform:none;padding:18px;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.78))}.project-image:after{display:none}.project-hover span{top:16px;left:18px}.project-hover h3{font-size:34px}.hero{padding-left:16px;padding-right:16px}.section-head{padding-left:16px;padding-right:16px}.about-hero{padding-left:16px;padding-right:16px}.about-hero .page-title{font-size:clamp(48px,14vw,72px)}.about-portrait{height:65vh;min-height:480px}}
