/* Sewing-style category introduction on the Knitting home page. */
.knit-home-intro{padding:clamp(3rem,8vw,8rem) clamp(1.1rem,7vw,7rem);max-width:1050px}
.knit-home-intro .kicker{color:#cd6541;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.knit-home-intro h2{font-family:'Avenir Next',Avenir,Helvetica,sans-serif!important;font-size:clamp(2.5rem,5vw,5.4rem);line-height:1;letter-spacing:-.05em!important;max-width:13ch;margin:.5rem 0 1.5rem}
.knit-home-intro p:last-child{font-size:clamp(1.05rem,2vw,1.35rem);max-width:52ch}
.knit-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#171411;border-top:1px solid #171411}
.knit-category-card{min-height:300px;display:flex;align-items:flex-end;padding:1.25rem;position:relative;overflow:hidden;background:#171411}
.knit-category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.86;transition:transform .45s ease}
.knit-category-card::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(0,0,0,.8))}
.knit-category-card:hover img{transform:scale(1.06)}
.knit-category-card span{position:relative;z-index:1;color:#fff8ed;font-size:clamp(1.35rem,2.4vw,2.35rem);font-family:'Avenir Next',Avenir,Helvetica,sans-serif;font-weight:700;letter-spacing:-.04em}
@media(max-width:760px){.knit-home-intro{padding-top:3rem;padding-bottom:3rem}.knit-category-grid{grid-template-columns:repeat(2,1fr)}.knit-category-card{min-height:200px}}
@media(max-width:430px){.knit-category-grid{grid-template-columns:1fr}}

/* Match the Sewing landing page: centred large mark, navigation below. */
.home .site-header{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1.4rem;padding:2rem 5vw 1.7rem!important}
.home .wordmark{display:block;width:clamp(26rem,58vw,44rem)!important;text-align:center!important}
.home .wordmark img{display:block;width:100%!important;height:auto!important}
.home .site-header nav{justify-content:center!important;margin-top:0!important;padding:0!important;font-size:.8rem!important}
@media(max-width:760px){.home .site-header{padding:1.5rem 5vw!important}.home .wordmark{width:min(88vw,34rem)!important}.home .site-header nav{font-size:.68rem!important}}
@media(max-width:760px){.home .site-header{min-height:0!important;height:auto!important;gap:.75rem!important;justify-content:flex-start!important}.home .site-header nav{width:100%!important;margin-top:0!important;display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:.55rem!important;font-size:.68rem!important;white-space:nowrap!important}.home .site-header nav a{flex:0 0 auto!important;min-height:0!important;padding:.25rem 0!important}}

/* Keep the Knitting opening page visually aligned with the Sewing opening page. */
.home{--ink:#15120f;--paper:#fbf5ea;--cream:#fff8eb;--rust:#e12317}
.home .site-header nav{font-family:'Avenir Next',Avenir,Helvetica,sans-serif!important;font-size:.8rem!important;font-weight:800!important;letter-spacing:.15em!important}
.home .hero{min-height:calc(100vh - 8.75rem);grid-template-columns:1.08fr .92fr;background:var(--paper)}
.home .hero-copy{padding:clamp(3.2rem,9vw,10rem) 8vw 4rem 5vw}
.home .hero h1{font-family:'Avenir Next',Avenir,Helvetica,sans-serif!important;font-size:clamp(3.1rem,6.8vw,7rem)!important;font-weight:500!important;line-height:.94!important;letter-spacing:-.055em!important;max-width:none;margin:0 0 2.2rem}
.home .hero-copy .intro{max-width:30rem;font-size:1.15rem;line-height:1.5}
.home .cta{display:inline-block;margin-top:1.8rem;padding:.85rem 1.15rem;background:var(--ink);color:var(--paper);font:800 .8rem/1 'Avenir Next',Avenir,Helvetica,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.home .cta:hover{background:var(--rust)}
@media(max-width:760px){.home .hero-copy{padding:4.8rem 5vw 3.5rem}.home .hero h1{font-size:clamp(3rem,14vw,4.7rem)!important}}

/* On phones, retain the compact shared navigation size used on Home, About and Contact. */
@media(max-width:760px){.home .site-header nav{font-size:.68rem!important}}
