/* Bison's shared subpage hierarchy, adapted to Swift Fox's retained brand.
   Existing artwork, fonts, copy, routes and interactions stay in their own layers. */
body .site-header{height:90px;gap:20px}
body .site-header .brand{width:120px;min-width:120px;height:80px;display:flex;flex-direction:row}
body .site-header .brand>img{width:120px;height:80px;object-fit:contain}
body .site-header nav{font-size:16px;line-height:1.5;gap:24px}
body .site-header nav a{min-height:44px}
body .menu-toggle{font-size:16px;line-height:1.4;min-height:44px}
body .eyebrow{font-size:14px;line-height:1.5;letter-spacing:.06em}
body .route-index,body .hero-bottom,body .process-art>span{font-size:14px;line-height:1.5;letter-spacing:.04em}
body .hero-bottom small{font-size:12px;line-height:1.5}
body .button{min-height:54px;max-width:100%;white-space:normal}
body .text-link,body summary{font-size:16px;line-height:1.5;min-height:44px}
body .button>span[aria-hidden],body .text-link>span[aria-hidden]{flex-shrink:0}
body .footer-top{grid-template-columns:auto minmax(0,1fr) auto;gap:40px;padding-bottom:30px}
body .footer-top p{display:block;font-size:18px;line-height:1.75;justify-self:center}
body .site-footer .brand,body .site-footer .brand>img{width:150px;min-width:150px;height:100px}
.footer-navigation{display:flex;flex-wrap:wrap;gap:0 25px;border-top:1px solid #ffffff30;padding:18px 0;font-size:16px;line-height:1.6}
.footer-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0}
.footer-navigation a:hover,.footer-navigation a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
body .footer-bottom{align-items:center;flex-wrap:wrap;font-size:14px;line-height:1.6}
body .footer-bottom>div{flex-wrap:wrap;gap:8px 24px}
body .footer-bottom a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}

/* Compact guide introductions and clear in-page navigation. */
.swiftfox-subpage .page-intro{padding-top:28px;padding-bottom:40px;background:#e9ece5}
.page-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin-bottom:24px;color:var(--muted);font-size:14px;line-height:1.5}
.page-breadcrumb a,.page-jumpnav a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:var(--brand-strong);text-decoration:underline;text-underline-offset:4px}
.swiftfox-subpage .page-intro h1{font-size:clamp(52px,6vw,82px);line-height:1.02;margin-top:20px;max-width:1160px;overflow-wrap:anywhere}
.swiftfox-subpage .intro-row{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px;margin-top:24px}
.swiftfox-subpage .intro-row>p,.swiftfox-subpage .page-intro>p{font-size:18px;line-height:1.75;max-width:72ch}
.swiftfox-subpage .intro-aside{font-size:16px;line-height:1.75;min-width:0}
.page-jumpnav{display:flex;flex-wrap:wrap;gap:4px 28px;padding-top:22px;margin-top:30px;border-top:1px solid #bdc7b6;font-size:16px;font-weight:600;line-height:1.5}
.swiftfox-subpage .section:not(.page-intro){padding-top:56px;padding-bottom:56px}
.swiftfox-subpage .section-heading{gap:40px;margin-bottom:32px}
.swiftfox-subpage .section-heading h2,.swiftfox-subpage .home-story h2,.swiftfox-subpage .about-story h2,.swiftfox-subpage .quality-feature-copy h2{font-size:clamp(40px,4.3vw,60px);line-height:1.05}
.swiftfox-subpage .project-cta{padding-top:56px;padding-bottom:56px}
.swiftfox-subpage .project-cta h2{font-size:clamp(40px,4.3vw,60px);line-height:1.05}
.swiftfox-subpage .section-heading>p,.swiftfox-subpage .quality-feature-copy>p,.swiftfox-subpage .about-story>div>p{font-size:18px;line-height:1.75}
.swiftfox-subpage .info-grid h3,.swiftfox-subpage .steps h3{font-size:23px;line-height:1.35}
.swiftfox-subpage main>section,.swiftfox-subpage .process-card,.swiftfox-subpage .material-card{scroll-margin-top:24px}

/* Gallery cards echo Bison's illustrated, numbered process/material panels. */
.swiftfox-subpage .process-section,.swiftfox-subpage .materials-section{background:#e9ece5}
.swiftfox-subpage .process-toolbar{font-size:16px;line-height:1.5;flex-wrap:wrap;gap:12px;margin-bottom:24px;padding-bottom:20px}
.swiftfox-subpage .motion-toggle{font-size:16px;min-height:44px}
.swiftfox-subpage .process-grid,.swiftfox-subpage .materials-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.swiftfox-subpage .process-card,.swiftfox-subpage .material-card{display:flex;flex-direction:column;gap:0;min-width:0;padding:0;background:#f7f8f3;border:1px solid #c9d0c5}
.swiftfox-subpage .process-art,.swiftfox-subpage .material-art{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:210px;min-height:0;aspect-ratio:auto;margin:0;padding:18px 22px;background:#e3e9e3;color:var(--brand-strong)}
.swiftfox-subpage .process-art svg,.swiftfox-subpage .material-art svg{width:100%;max-width:300px;max-height:150px;height:150px}
.swiftfox-subpage .process-art>span{width:100%;max-width:none;text-align:left;margin-top:8px;font-size:12px}
.swiftfox-subpage .process-copy,.swiftfox-subpage .material-copy{flex:1;min-width:0;padding:22px 24px 26px;border-top:1px solid #c9d0c5}
.swiftfox-subpage .process-copy h2,.swiftfox-subpage .material-copy h2{font-family:var(--display);font-size:30px;line-height:1.2;font-weight:600;letter-spacing:0;margin:12px 0 14px;overflow-wrap:anywhere}
.swiftfox-subpage .process-copy h3{font-size:18px;line-height:1.5;margin:0 0 12px}
.swiftfox-subpage .process-copy>p,.swiftfox-subpage .material-copy p,.swiftfox-subpage details p{font-size:16px;line-height:1.75}
.swiftfox-subpage details{margin-top:18px}
.swiftfox-subpage .material-note{font-size:16px;line-height:1.75}
.swiftfox-subpage .section-note{font-size:16px;line-height:1.75;max-width:72ch}
.swiftfox-subpage .form-subtitle,.swiftfox-subpage .field label,.swiftfox-subpage .brief-result>p{font-size:16px;line-height:1.6}
.swiftfox-subpage .field label span,.swiftfox-subpage .form-disclaimer{font-size:14px;line-height:1.6}
.swiftfox-subpage .quote-guide h2{font-size:clamp(40px,4.3vw,60px);line-height:1.05}
.swiftfox-subpage .planner-note p{font-size:16px;line-height:1.75}
.swiftfox-subpage .quote-form-wrap h2{font-family:var(--sans);font-size:24px;line-height:1.4}
.swiftfox-subpage .directory-grid h2{font-family:var(--sans);font-size:22px;line-height:1.3}

@media(max-width:1000px){
 .swiftfox-subpage .process-grid,.swiftfox-subpage .materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .swiftfox-subpage .quote-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:5%}
 .swiftfox-subpage .form-row{grid-template-columns:minmax(0,1fr);gap:0}
}
@media(max-width:960px){
 body .site-header{height:78px}
 body .site-header .brand,body .site-header .brand>img{width:102px;min-width:102px;height:68px}
 body .site-header nav{gap:0;max-height:calc(100dvh - 78px);overflow-y:auto}
 body.no-js .site-header{height:auto;padding-top:5px}
 body.no-js .site-header nav{max-height:none}
}
@media(max-width:760px){
 .swiftfox-subpage .page-intro{padding-top:18px;padding-bottom:30px}
 .page-breadcrumb{margin-bottom:18px;gap:0 10px}
 .swiftfox-subpage .page-intro h1{font-size:clamp(48px,10.5vw,66px);margin-top:18px}
 .swiftfox-subpage .intro-row{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:22px}
 .page-jumpnav{margin-top:26px;padding-top:18px;gap:4px 20px}
 .swiftfox-subpage .section:not(.page-intro){padding-top:40px;padding-bottom:40px}
 .swiftfox-subpage .section-heading h2,.swiftfox-subpage .home-story h2,.swiftfox-subpage .about-story h2,.swiftfox-subpage .quality-feature-copy h2,.swiftfox-subpage .project-cta h2,.swiftfox-subpage .quote-guide h2{font-size:46px}
 .swiftfox-subpage .project-cta{padding-top:40px;padding-bottom:40px}
 .swiftfox-subpage .quote-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .swiftfox-subpage .quality-feature-copy{padding:40px 5%}
 .swiftfox-subpage .process-copy,.swiftfox-subpage .material-copy{padding:20px 22px 24px}
 body .footer-top{grid-template-columns:minmax(0,1fr);gap:20px}
 body .footer-top p{justify-self:start}
 body .site-footer .brand,body .site-footer .brand>img{width:132px;min-width:132px;height:88px}
 body .footer-bottom{display:flex;align-items:flex-start;gap:8px}
 body .footer-bottom>div{width:100%;margin-top:0}
}
@media(max-width:600px){
 .swiftfox-subpage .process-grid,.swiftfox-subpage .materials-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .swiftfox-subpage .process-art,.swiftfox-subpage .material-art{height:200px}
 .swiftfox-subpage .process-copy h2,.swiftfox-subpage .material-copy h2{font-size:30px}
 body .hero-bottom{align-items:flex-start}
 .swiftfox-subpage .quote-form-wrap{padding:22px}
}
@media(max-width:360px){
 .swiftfox-subpage .page-intro h1{font-size:44px}
 .swiftfox-subpage .section-heading h2,.swiftfox-subpage .home-story h2,.swiftfox-subpage .about-story h2,.swiftfox-subpage .quality-feature-copy h2,.swiftfox-subpage .project-cta h2,.swiftfox-subpage .quote-guide h2{font-size:40px}
}
@media print{body .site-header,body .site-footer,.page-breadcrumb,.page-jumpnav{display:none}.swiftfox-subpage .page-intro{background:white}.swiftfox-subpage .process-grid,.swiftfox-subpage .materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Processes use the reference's continuous ruled gallery; materials stay framed. */
.swiftfox-subpage .process-grid{gap:0;border-top:1px solid #c9d0c5;border-left:1px solid #c9d0c5}
.swiftfox-subpage .process-card{border:0;border-right:1px solid #c9d0c5;border-bottom:1px solid #c9d0c5;background:#f2f4ed}
body .footer-top p{font-family:var(--display);font-size:28px;line-height:1.2}
@media(max-width:600px){.swiftfox-subpage .process-grid{gap:0}}

/* Scholarship labels contain words, unlike the number-only info grids.
   Keep them in normal flow so they cannot collide with headings or copy. */
.swiftfox-subpage .scholarship-grid article{min-width:0}
.swiftfox-subpage .scholarship-grid article>span{overflow-wrap:anywhere}
@media(max-width:760px){
 .swiftfox-subpage .scholarship-grid article{display:block}
 .swiftfox-subpage .scholarship-grid article>span{font-size:22px;line-height:1.4;margin:0 0 12px}
 .swiftfox-subpage .scholarship-grid article>h2{font-size:30px;line-height:1.2;overflow-wrap:anywhere}
 .swiftfox-subpage .scholarship-grid article>p{margin-top:12px}
 .swiftfox-subpage .scholarship-grid article>.text-link{margin-top:18px}
}
