.hero{padding-bottom:65px}
.projects{padding-top:75px;padding-bottom:60px}
.projects>.section-head{margin-bottom:35px}
.projects .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.projects .feature-project{margin-bottom:0;min-width:0}
.projects .project-heading{gap:16px;padding-top:18px;margin-bottom:20px}
.projects .project-number{font-size:38px}
.projects .project-heading h3{font-size:23px}
.projects .project-category{display:none}
.projects .feature-project .project-art,.projects .feature-project .project-summary{width:100%;margin-left:0}
.projects .project-summary{display:block;margin-top:20px}
.projects .project-summary h4{font-size:21px;margin-bottom:12px}
.projects .project-summary p{font-size:13px;line-height:1.9;max-width:none}
.home-text-link{display:inline-block;font-size:13px;border-bottom:1px solid #aaa;padding-bottom:7px;white-space:nowrap}
.home-text-link:hover{border-color:#252525}
.home-project-note{font-size:12px;color:#777;margin:28px 0 0;line-height:1.8}
.home-studio{margin:0 4.5%;padding:55px 0;border-top:1px solid #e3e1dd;display:flex;justify-content:space-between;align-items:center;gap:35px}
.home-studio p{font-size:clamp(23px,2.6vw,36px);line-height:1.55;letter-spacing:-.055em;margin:20px 0 0}
.home-studio-links{display:flex;flex-wrap:wrap;gap:24px}
@media(max-width:700px){
 .hero{padding-bottom:45px}
 .projects{padding-top:45px;padding-bottom:40px}
 .projects .section-head{align-items:center;gap:16px}
 .projects .section-head h2{font-size:30px}
 .projects .section-head .home-text-link{font-size:11px}
 .projects .grid{grid-template-columns:1fr;gap:36px}
 .projects .project-art svg{width:100%;margin-left:0;min-height:0}
 .home-studio{padding:40px 0;display:block}
 .home-studio-links{margin-top:26px}
}

/* One project at a time, with touch scrolling and previous/next controls. */
.projects .grid{display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;overscroll-behavior-x:contain}
.projects .grid::-webkit-scrollbar{display:none}
.projects .feature-project{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;display:grid;grid-template-columns:1.15fr 1fr;gap:0 30px;align-content:start}
.projects .project-heading{grid-column:1/-1}
.projects .project-summary{margin:0;align-self:center}
.project-controls{display:flex;justify-content:flex-end;align-items:center;gap:22px;margin-top:24px}
.project-controls button{width:44px;height:44px;border:1px solid #d7d4cb;background:white;color:#252525;font-size:22px}
.project-controls button:hover{background:#f4f3f1}
#project-position{font:12px Arial;letter-spacing:.1em;min-width:48px;text-align:center}
@media(max-width:700px){.projects .feature-project{display:block}.projects .project-summary{margin-top:20px}.projects .project-heading h3{font-size:21px}.project-controls{margin-top:20px}}

/* Two compact projects stay visible at each carousel position. */
.projects .feature-project{flex:0 0 calc((100% - 28px)/2);display:block}
.projects .project-summary{margin-top:20px}
.projects .project-heading{align-items:flex-start;min-height:90px}
.projects .project-heading h3{font-size:21px;line-height:1.45;word-break:keep-all}
@media(max-width:700px){
 .projects .grid{gap:16px}
 .projects .feature-project{flex-basis:calc((100% - 16px)/2)}
 .projects .project-heading{gap:8px;min-height:104px;margin-bottom:14px}
 .projects .project-number{font-size:26px}
 .projects .project-heading .eyebrow{font-size:7px;letter-spacing:.04em}
 .projects .project-heading h3{font-size:16px}
 .projects .project-summary h4{font-size:16px;line-height:1.5}
 .projects .project-summary p{font-size:12px}
 .projects .view-project{right:8px;bottom:8px;padding:8px;font-size:9px}
}

/* Keep the mobile introduction inside the viewport. */
@media(max-width:700px){
 .hero-top{display:block}
 .hero-top h2{font-size:clamp(25px,6.6vw,36px);word-break:keep-all}
 .hero-side{max-width:none;margin-top:22px;font-size:13px}
 .hero-side a{margin-top:12px}
 .hero-bottom{gap:16px;flex-wrap:wrap;line-height:1.6}
}
@media(max-width:380px){
 header nav{gap:10px;font-size:10px}
 header nav .pill{padding:9px 10px}
}

/* Shared rows align all carousel images, even with wrapped project titles. */
.projects .grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 28px)/2);grid-template-columns:none;grid-template-rows:auto auto auto;column-gap:28px;row-gap:0;align-items:start}
.projects .feature-project{display:grid;grid-row:1 / span 3;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;gap:0;min-width:0}
.projects .project-heading{grid-column:1;min-height:0;align-self:stretch}
.projects .project-heading>div{min-width:0}
.projects .project-summary{align-self:start;margin-top:18px}
@media(max-width:700px){.projects .grid{grid-auto-columns:calc((100% - 16px)/2);column-gap:16px;row-gap:0}.projects .feature-project{display:grid}.projects .project-heading{min-height:0}}
