/* Desktop 15 / Figma 517:7870. Layout uses a 4px spacing grid.
   The 16px shell increment keeps both columns and the three-phone layout
   on that grid. Native stitch and illustration geometry is not stretched. */
body.home-frame501{--home-content-width:min(1408px,round(down,80vw,16px))}
body.home-frame501 :is(main.shell,.site-header,.site-footer){
  width:var(--home-content-width);max-width:none;
}
body.home-frame501 :is(main.shell,.site-footer){
  margin-left:round(nearest,calc((100% - var(--home-content-width))/2),4px);margin-right:0;
}
body.home-frame501 .site-header{height:72px;margin-inline:auto;padding:20px 0 0;align-items:flex-start;justify-content:center}
body.home-frame501 .site-header nav{gap:4px;align-items:center}
body.home-frame501 .site-header nav a{height:36px;padding-block:8px}
body.home-frame501 .site-header [data-menu="work"]{width:76px}
body.home-frame501 .site-header [data-menu="history"]{width:88px}
body.home-frame501 .site-header [data-menu="about"]{width:80px}
body.home-frame501 .site-header [data-menu="contact"]{width:96px}
.home-frame501 main :is(.hero,.figma-work){width:100%;margin-inline:0}
.home-frame501 main .hero{min-height:652px;padding:124px 0 0}
.home-frame501 .hero .hero-content{grid-template-columns:minmax(0,1fr) minmax(0,calc((100% - var(--goat-track-gap)) * var(--goat-track-share)));gap:var(--goat-track-gap);align-items:start}
.home-frame501 .hero .hero-content h1{max-width:560px;margin:140px 0 0;font-size:28px;line-height:44px}
.home-frame501 .hero .hero-content .hero-art{width:min(100%,var(--goat-stage-max));align-self:start;justify-self:end}
.home-frame501 .hero-goat{height:auto;aspect-ratio:32/45}
.home-frame501 .figma-work .work-paired-cases{
  --copy-gap:20px;grid-template-rows:none;grid-auto-rows:auto;
  gap:60px 32px;margin-top:72px;
}
.home-frame501 .figma-work .work-paired-cases>.project{
  width:100%;margin:0;padding:24px 16px 12px;align-self:start;
}
.home-frame501 .figma-work .project .project-copy{margin-top:var(--copy-gap);padding:0}
.home-frame501 .figma-work .project .project-copy h3{font-size:24px;line-height:32px}
.home-frame501 .figma-work .project .project-copy p{
  max-width:52ch;margin-top:8px;text-wrap:pretty;
}
.home-frame501 .figma-work .project .project-image,
.home-frame501 .figma-work .project .phone-window .project-image{
  inset:var(--frame-inset-y,var(--frame-cell,8.25px)) var(--frame-inset-x,var(--frame-cell,8.25px));
}
.home-frame501 .experiments{margin-top:160px;margin-bottom:120px}
.home-frame501 .site-footer{grid-template-columns:minmax(0,1fr) 104px 64px 152px;column-gap:48px;padding-block:8px}
.home-frame501 .copyright{gap:12px}
.home-frame501 .site-footer .email{justify-self:end}
@media(min-width:701px) and (max-width:1000px){
 body.home-frame501{--home-content-width:round(down,calc(100% - 64px),16px)}
 .home-frame501 main .hero{min-height:0;padding:64px 0 96px}
 .home-frame501 .hero .hero-content{align-items:center}
 .home-frame501 .hero .hero-content h1{margin:0;font-size:24px;line-height:36px}
 .home-frame501 .hero .hero-content .hero-art{align-self:center}
 .home-frame501 .figma-work .work-paired-cases{--copy-gap:16px;gap:48px 32px;margin-top:48px}
 .home-frame501 .figma-work .work-paired-cases>.project{padding:16px 8px}
 .home-frame501 .figma-work .project .project-copy h3{font-size:20px;line-height:28px}
 .home-frame501 .site-footer{grid-template-columns:minmax(0,1fr) 104px 64px 72px;column-gap:24px}
}
@media(max-width:700px){
 body.home-frame501{--home-content-width:round(down,calc(100% - 40px),16px)}
 body.home-frame501 .site-header{height:64px;padding-top:16px}
 body.home-frame501 .site-header [data-menu="work"]{width:60px}
 body.home-frame501 .site-header [data-menu="history"]{width:76px}
 body.home-frame501 .site-header [data-menu="about"]{width:64px}
 body.home-frame501 .site-header [data-menu="contact"]{width:80px}
 .home-frame501 main .hero{min-height:0;padding:40px 0 64px}
 .home-frame501 .hero .hero-content{display:flex;flex-direction:column;align-items:flex-start;gap:32px}
 .home-frame501 .hero .hero-content h1{margin:0;font-size:24px;line-height:36px}
 .home-frame501 .hero .hero-content .hero-art{align-self:center}
 .home-frame501 h2{font-size:32px;line-height:40px}
 .home-frame501 .figma-work .work-paired-cases{--copy-gap:16px;gap:56px;margin-top:40px}
 .home-frame501 .figma-work .work-paired-cases>.project{padding:4px 4px 12px}
 .home-frame501 .figma-work .project .project-copy h3{font-size:24px;line-height:32px}
 .home-frame501 .experiments{margin-top:128px;margin-bottom:80px}
}
