/* Shared site shell: one header and footer system across every page. */
html{scrollbar-gutter:stable;min-height:100%;}
@view-transition{navigation:auto;}
body{min-height:100vh;display:flex;flex-direction:column;}
.wrap,.site-header,.site-footer,.site-social{width:min(1160px,calc(100% - 64px));margin-inline:auto;}
.site-header{view-transition-name:site-header;height:76px;display:flex;align-items:center;justify-content:flex-start;gap:22px;border-bottom:1px solid var(--line);}
::view-transition-old(site-header),::view-transition-new(site-header){animation-duration:220ms;animation-timing-function:ease;}
.site-header .site-brand{display:flex;align-items:center;flex:none;}
.site-header .logo{display:block;width:170px;height:auto;}
.site-header .nav-links{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:clamp(12px,1.7vw,22px);margin-left:auto;min-width:0;white-space:nowrap;font-size:8px;font-weight:700;letter-spacing:.08em;}
.site-header .nav-links a{transition:color .18s ease;}
.site-header .nav-links a:hover,.site-header .nav-links a[aria-current="page"]{color:var(--pink);}
.site-header .cart-trigger{display:grid;grid-template-columns:34px 56px;width:90px;height:34px;align-items:center;justify-content:end;gap:0;flex:none;padding:0;border:0;background:none;color:var(--ink);font-size:9px;line-height:1;font-weight:700;letter-spacing:.06em;white-space:nowrap;}
.site-header .cart-label{display:block;text-align:left;}
.site-header .cart-total{color:var(--pink);font-size:inherit;letter-spacing:0;}
.site-social{width:min(1160px,calc(100% - 48px));height:34px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#686a64;}
.site-social a{width:20px;height:20px;display:grid;place-items:center;color:inherit;transition:color .18s ease,transform .18s ease;}
.site-social a:hover{color:#282922;transform:translateY(-1px);}
.site-social svg{display:block;width:15px;height:15px;}
main{flex:1 0 auto;padding-bottom:80px;}
main>:last-child{margin-bottom:0;}
.site-footer{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:24px;margin-top:0;padding:24px 0 24px;border-top:1px solid var(--line);color:var(--muted);}
.site-footer .footer-brand{display:flex;align-items:center;}
.site-footer .footer-brand img{display:block;width:103px;height:auto;}
.site-footer .footer-copy{display:flex;flex-direction:column;gap:3px;font-size:9px;line-height:1.5;}
.site-footer .footer-copy small{font-size:8px;color:var(--muted);}
.site-footer .footer-links{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;font-size:8px;font-weight:700;letter-spacing:.06em;}
.site-footer .footer-links a:hover{color:var(--pink);}
@media(max-width:900px){
 .site-header{gap:14px;}
 .site-header .logo{width:143px;}
 .site-header .nav-links{gap:12px;font-size:7px;}
 .site-footer{grid-template-columns:auto minmax(150px,1fr) auto;gap:15px;}
 .site-footer .footer-links{gap:10px;font-size:7px;}
}
@media(max-width:760px){.site-header{height:66px;gap:10px;}}
@media(max-width:700px){
 .wrap,.site-header,.site-footer,.site-social{width:calc(100% - 40px);}
 .site-social{height:30px;}
 .site-header .logo{width:129px;}
 .site-header .nav-links{flex:0 1 auto;margin-left:auto;gap:0;}
 .site-header .nav-links a:not([href="rack.html"]){display:none;}
 .site-header .nav-links a[href="rack.html"]{display:block;font-size:8px;letter-spacing:.04em;}
 .site-header .cart-trigger{font-size:8px;}
 .site-header .cart-trigger{grid-template-columns:30px 52px;width:82px;}
 main{padding-bottom:48px;}
 .site-footer{grid-template-columns:1fr;justify-items:center;gap:10px;text-align:center;padding:20px 0 24px;}
 .site-footer .footer-copy{order:2;align-items:center;}
 .site-footer .footer-links{order:3;justify-content:center;gap:14px;}
}
@media(max-width:370px){
 .site-header{gap:7px;}
 .site-header .logo{width:108px;}
 .site-header .nav-links{display:none;}
 .site-header .cart-trigger{font-size:7px;}
 .site-header .cart-trigger{grid-template-columns:27px 49px;width:76px;}
}
@media(prefers-reduced-motion:reduce){.site-header .nav-links a{transition:none;}}

@media(max-width:370px){.site-header{gap:7px;}}

/* Keep every destination visible on portrait phones without squeezing it into one row. */
@media(max-width:760px){
 .site-header{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand cart" "nav nav";align-content:center;gap:9px 12px;padding:10px 0 12px;}
 .site-header .site-brand{grid-area:brand;}
 .site-header .logo{width:min(129px,42vw);}
 .site-header .nav-links{grid-area:nav;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:0;white-space:normal;}
 .site-header .nav-links a,.site-header .nav-links a:not([href="rack.html"]),.site-header .nav-links a[href="rack.html"]{display:flex!important;min-width:0;min-height:34px;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:8px;letter-spacing:.045em;text-align:center;}
 .site-header .nav-links a[aria-current="page"]{border-color:#f4cad3;background:var(--pink-soft);color:var(--ink);}
 .site-header .cart-trigger{grid-area:cart;}
}
@media(max-width:370px){
 .site-header{gap:8px 10px;}
 .site-header .logo{width:108px;}
 .site-header .nav-links{display:grid!important;}
}

/* Footer uses the monochrome M and its three underline bars from the brand mark. */
.site-footer .footer-brand{width:63px;height:41px;flex:none;}
.site-footer .footer-mark{position:relative;display:block;width:63px;height:41px;overflow:hidden;flex:none;}
.site-footer .footer-mark img{position:absolute;left:-6.9px;top:-6.5px;width:160px!important;max-width:none!important;height:auto;filter:grayscale(1);}

/* Shared page rhythm: aligned frame, intro starts, typography and footer spacing. */
body .kicker{display:inline-flex;align-items:center;gap:9px;font-size:9px;font-weight:700;letter-spacing:.14em;line-height:1.2;text-transform:uppercase;}
body .kicker:before{content:"";display:block;width:18px;height:2px;flex:none;background:var(--pink);}
body.page-home main h1,body.page-how main h1,body.page-rack main h1,body.page-anything main h1,body.page-bag main h1{font-size:clamp(40px,4.4vw,56px);line-height:1.04;letter-spacing:-.05em;font-weight:600;margin-top:16px;margin-bottom:16px;}
body.page-home .hero{align-items:start;padding:64px 0 40px;}
body.page-home .hero-copy{font-size:13px;line-height:1.8;}
body.page-home .hero-art img{width:min(100%,540px);max-height:540px;margin-left:auto;object-fit:cover;object-position:center;}
body.page-home .portraits{padding:40px 0 80px;}
body.page-home .how{padding:0 0 80px;}
body.page-home .story{padding:0 0 40px;}
body.page-home .anything{padding:40px 0 0;}
body.page-how main .hero{align-items:start;padding:64px 0 6px;}
body.page-how .journey{padding:34px 0 48px;}
body.page-how .closing{padding:32px 0;margin:0;}
body.page-rack main{padding-top:64px;}
body.page-rack .intro{margin:0 0 32px;}
body.page-anything main{padding-top:64px;}
body.page-anything .intro{max-width:760px;margin:0 0 40px;padding:0;text-align:left;}
body.page-anything .form-card{max-width:760px;margin-left:0;margin-right:0;}
body.page-bag main{padding-top:64px;}
body.page-bag .bag-heading{max-width:none;margin:0 0 40px;}
body.page-home .hero h1,body.page-home .hero-copy{max-width:475px;}
body.page-how .hero h1{max-width:620px;}
@media(max-width:700px){
 body.page-home main h1,body.page-how main h1,body.page-rack main h1,body.page-anything main h1,body.page-bag main h1{font-size:clamp(34px,8.4vw,40px);line-height:1.08;margin-top:12px;margin-bottom:16px;}
 body.page-home .hero{padding:40px 0 16px;}
 body.page-home .portraits{padding:32px 0 48px;}
 body.page-home .how{padding:0 0 48px;}
 body.page-home .story{padding:0 0 24px;}
 body.page-home .anything{padding:24px 0 0;}
 body.page-how main .hero{padding:40px 0 8px;}
 body.page-how .journey{padding:24px 0 24px;}
 body.page-how .closing{padding:24px 0;margin:0;}
 body.page-rack main{padding-top:40px;}
 body.page-rack .intro{margin-bottom:32px;}
 body.page-anything main{padding-top:40px;}
 body.page-anything .intro{margin-bottom:32px;}
 body.page-anything .form-card{max-width:760px;}
 body.page-bag main{padding-top:40px;}
 body.page-bag .bag-heading{margin-bottom:32px;}
 body.page-home .hero-copy{font-size:12px;}
 .site-footer{padding:20px 0;}
}
