/* Keep the same touch navigation when the iPad rotates or has a keyboard attached. */
@media(min-width:680px){
  :root{--edge:clamp(28px,4.5vw,60px);scroll-padding-top:84px}
  .frame{max-width:1220px}
  .navrow,.menuhead{height:65px}
  .navrow .brand img,.menuhead .brand img{width:146px}
  .desk{display:none}
  .desk+.menu-button{display:inline-flex;min-height:48px}
  .menubody{width:100%}
  .menubody nav,.menubody>p{max-width:660px;margin-inline:auto}
  .menubody nav a{min-height:clamp(52px,7vh,76px)}
  .hero{padding-block:28px;column-gap:28px;border-bottom:1px solid var(--rule)}
  .hero+.section{padding-top:36px}
  .film-controls{grid-template-columns:repeat(3,minmax(0,1fr)) 48px}
  .film-controls button,.plantabs button,.space-index a,.desk+.menu-button{min-height:48px}
  .listing,.residence-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  .listing .workcard:first-child{grid-column:auto}
  .listing .workcard .cardimage img{aspect-ratio:1.20}
  .listing .cardline h3{font-size:21px}
  .listing .cardline p{font-size:14px}
  .twocol,.galgrid,.album-prints{gap:26px 20px}
  .section{padding-block:46px}
  .detail-opening{padding-top:12px}
  .detail-opening .album-lead{width:calc(100% - 2 * var(--edge))}
  .detail-opening .album-plate img,.detail-opening .casecover img{max-height:66vh}
  .detail-opening figcaption{padding-inline:0}
  .album-guide{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:28px;padding-block:36px}
  .observation,.argument{font-size:clamp(23px,3.3vw,31px)}
  .plan-argument h2{margin-bottom:12px}
  .plan-layout .drawings{margin:20px auto 0}
  .viewtools button,.viewtop button{min-width:48px;height:48px}
  .viewtop,.viewbottom{padding-inline:var(--edge)}
}
@media(min-width:680px) and (orientation:portrait){
  .hero{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:18px 22px}
  .herocopy{grid-area:1/1;padding:0;align-self:center}
  .herocopy h1{font-size:clamp(33px,4.5vw,46px);line-height:1.18}
  .heroactions{grid-area:1/2;align-self:end;margin:0 0 3px;grid-template-columns:1fr}
  .heroactions .button{min-height:44px;padding:8px 16px}
  .heropicture{grid-area:2/1/3/-1}
  .hero-photo{aspect-ratio:1.22;max-height:62vh}
  .hero-photo img{object-position:50% 56%}
  .heropicture figcaption{margin-top:10px}
  .film-controls{max-width:300px;margin-left:auto}
  #design-thinking .spread{grid-template-columns:1fr;gap:22px}
  #design-thinking .sectioncopy{max-width:640px}
  #design-thinking .drawings{width:100%}
  .planstack{aspect-ratio:1.36}
  .company-layout{grid-template-columns:1fr;gap:26px}
  .company-photos img{max-height:430px}
  .company-photos figcaption{font-size:14px}
  .contact .spread{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:32px}
}
@media(min-width:680px) and (orientation:landscape){
  .hero{grid-template-columns:minmax(0,.76fr) minmax(0,1.14fr)}
  .herocopy h1{font-size:clamp(31px,3.55vw,51px);line-height:1.27}
  .hero-photo{aspect-ratio:1.18;max-height:64vh}
  .listing,.residence-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .plan-layout{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.2fr);gap:32px;align-items:start}
  .plan-layout .drawings,.plan-layout .galgrid{margin-top:0}
  .planstack{aspect-ratio:1.24}
  .detail-opening{display:grid;width:min(1220px,calc(100% - 2 * var(--edge)));margin-inline:auto;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:center;gap:28px;padding-block:26px}
  .detail-opening>.frame,.detail-opening .album-lead{width:100%}
  .detail-opening .album-heading,.detail-opening .proposal-heading{padding:0}
  .detail-opening h1{font-size:clamp(32px,4.3vw,52px)}
  .detail-opening .project-facts{gap:14px 22px}
}
