/* Inner page headings sit cleanly at the top while the studio mark lives in the bottom bar. */
.entry-heading {
  padding:clamp(3.25rem,7svh,5rem) var(--m) clamp(1.2rem,2vw,2rem);
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line);
}
.entry-heading h1{font-size:clamp(2.65rem,5.4vw,6rem);line-height:1;letter-spacing:-.055em}
.entry-heading p{font-size:1rem;color:var(--ink-2)}
.entry-heading--dark{background:var(--dark);color:var(--paper);border:0}
.entry-heading + .page-section,.entry-heading + .project-index{padding-top:clamp(1.6rem,3.6svh,2.75rem)}
.contact-section{padding-bottom:clamp(4rem,8svh,6.5rem)}
.entry-jobs{padding-inline:var(--m)}
.entry-jobs .project-preview__link{display:grid;grid-template-columns:minmax(0,1fr) min(58vw,62rem,80svh);align-items:start;gap:var(--m)}
.entry-jobs .project-preview__name{margin:0;max-width:17ch;font-size:clamp(1.35rem,2vw,2rem);line-height:1.16}
.studio-profile,.studio-desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:var(--m);padding:clamp(2.2rem,6svh,4.5rem) var(--m)}
.studio-profile h2,.studio-desk h2{font-size:clamp(1.85rem,3vw,3.2rem);letter-spacing:-.045em}
.studio-profile p,.studio-desk p{max-width:44ch;margin:1rem 0 0;font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.55;color:var(--ink-2)}
.studio-profile figure{margin:0;justify-self:center;width:min(18rem,36svh,100%)}
.studio-profile img,.studio-desk picture,.studio-desk img{display:block;width:100%;height:auto}
.studio-desk{background:var(--paper-2);padding-block:clamp(3.25rem,7vw,6.5rem)}
.studio-desk nav{display:flex;flex-wrap:wrap;gap:.4rem 1.75rem;margin-top:1.3rem}
.studio-desk a{display:inline-flex;align-items:center;min-height:44px;font-size:1rem;text-decoration:underline;text-underline-offset:.25em}
.entry-process{scroll-margin-top:clamp(4.75rem,9svh,6rem)}
.entry-process .step__title{font-size:clamp(1.65rem,2.75vw,3rem);line-height:1.08;letter-spacing:-.04em}
.entry-process .step__text{font-size:clamp(1rem,1.25vw,1.2rem)}
@media(min-width:761px){
  /* Let the next spread peek in without placing its text behind the bottom menu. */
  .studio-entry{display:flex;flex-direction:column;min-height:calc(100svh - clamp(3.25rem,7vw,6.5rem) - .5rem)}
  .studio-entry .studio-profile{flex:1}
}
@media(min-width:861px){
  .entry-process .step__media{width:min(100%,74svh);aspect-ratio:4/3}
  .entry-process .step:nth-child(even) .step__media{justify-self:end}
}
@media(max-width:760px){
  .entry-heading{padding-top:2.5rem}
  .entry-heading p{font-size:.9rem}
  .entry-jobs{padding-inline:6vw}
  .entry-jobs .project-preview__link,.studio-desk{grid-template-columns:minmax(0,1fr)}
  .entry-jobs .project-preview__name{max-width:none}
  .studio-profile{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
  .studio-profile figure{width:min(100%,12rem)}
}
@media(max-width:480px){
  .studio-profile{grid-template-columns:minmax(0,1fr)}
  .studio-profile figure{justify-self:start}
}
