/* Current shared layout, 2026-11-03. Preserve the approved navy/gold niche. */
body{--u:clamp(.85px,calc(100vw / 812),1.15px)}
.frame,.header-inner,.footer-inner{width:92%;max-width:1100px;margin-inline:auto}
.frame .frame{width:100%}
.site-head,.quartilespan .site-head{height:clamp(52px,6.4vw,60px)}
.site-head .brand,.quartilespan .site-head .brand{margin-left:0}
.hero,.feature-hero,.quartilespan .hero,.quartilespan .feature-hero{width:100%;max-width:1195.65px;min-height:clamp(252px,31.04vw,371px);margin-inline:auto}
.quartilespan .hero{background:url('/assets/hero-home-panorama.webp?v=mini-20261103-q16a') center bottom/cover no-repeat}
.quartilespan .hero,.quartilespan .hero.feature-hero{height:clamp(252px,31.04vw,371px);min-height:clamp(252px,31.04vw,371px)}
.quartilespan.home-page .hero,.quartilespan.feature-page .hero{height:clamp(252px,31.04vw,371px);min-height:clamp(252px,31.04vw,371px)}
.quartilespan.feature-page .hero-copy{width:92%;max-width:1100px;margin-inline:auto}

.quartilespan .hero .hero-art{visibility:hidden}
.hero:after,.quartilespan .hero:after{display:none}
.hero-copy,.quartilespan .hero-copy{width:92%;max-width:1100px;margin-inline:auto;padding:calc(17 * var(--u)) 0}
.hero h1,.hero h3,.hero p{max-width:51%}
.hero-art,.quartilespan .feature-hero .hero-art{width:49%;height:100%;object-fit:cover;object-position:right center;opacity:1;clip-path:none;mask:none;filter:none}
.hero h1{font-size:calc(44 * var(--u));line-height:1.02}
.feature-hero h1{font-size:calc(40 * var(--u));line-height:1.02}
.quartilespan .feature-hero h1{font-size:calc(34 * var(--u));max-width:57%}
.quartilespan .feature-hero h3{max-width:56%}
.tool,.quartilespan.feature-page .tool,.how,.share,.tips,.faq{min-height:0}
.share,.quartilespan .share{padding:calc(16 * var(--u));min-height:0}
.share h2,.share>p,.tips h2,.faq h2,.how h2{text-align:left}
.share-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:calc(24 * var(--u))}
.guide,.quartilespan .guide{height:auto;min-height:calc(225 * var(--u));grid-template-columns:minmax(0,.8fr) minmax(0,1.15fr) minmax(0,1.15fr);gap:calc(18 * var(--u));padding:calc(14 * var(--u))}
.guide figure img,.quartilespan .guide figure img{width:100%;height:calc(200 * var(--u));object-fit:contain}
.guide-copy,.guide-form,.quartilespan .guide-copy,.quartilespan .guide-form{height:auto;margin-top:0}
.guide-form label{font-size:12px}
.guide-form input{font-size:13px;min-height:32px}
.guide-form p{font-size:11px;line-height:1.4}
.guide-form button{min-height:36px}
.teaser,.quartilespan .teaser{min-height:calc(210 * var(--u));height:auto}
.teaser-copy{position:relative;min-height:calc(210 * var(--u))}
.site-foot{height:auto;min-height:calc(80 * var(--u));padding-block:14px}
.footer-inner{flex-wrap:wrap;gap:20px}
.site-foot nav{margin:0}
.support{font-size:11px;white-space:nowrap}
.support-heart{display:block;flex:0 0 20px;width:20px;height:20px;mask:none;background:none;fill:var(--accent);margin:0}
.loading-status{padding-block:8px;font-family:Nunito,Arial,sans-serif}
.sizes label:focus-within{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:767px){
 body{--u:1px}
 .frame,.header-inner,.footer-inner{width:92%;max-width:1100px}
 .site-head,.quartilespan .site-head{height:auto;min-height:60px}
 .header-inner{min-height:60px;flex-wrap:wrap;padding-block:8px}
 .nav-toggle{display:block}
 .site-head nav{display:none;position:absolute;top:58px;right:4%;z-index:20;background:var(--button);padding:16px;flex-direction:column;gap:18px;color:white}
 .site-head nav.open{display:flex}
 .hero,.feature-hero,.quartilespan .hero,.quartilespan .feature-hero{min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow:visible}
 .hero-copy,.quartilespan .hero-copy{order:0;width:92%;max-width:1100px;padding:22px 0 18px}
 .hero h1,.feature-hero h1,.quartilespan .hero h1{font-size:34px;line-height:1.05;max-width:100%}
 .quartilespan .hero h1,.quartilespan .feature-hero h1{font-size:34px;line-height:1.05;max-width:100%}
 .quartilespan .hero h3,.quartilespan .hero p{max-width:100%;margin-left:0}
 .quartilespan .hero p{font-size:15px;line-height:1.4}
 .hero h3,.hero p{max-width:100%;font-size:18px}
 .hero p{font-size:15px}
 .hero-art,.quartilespan .feature-hero .hero-art{position:relative;order:1;width:100%;height:auto;max-height:260px;object-fit:cover;opacity:1}
 .quartilespan .hero,.quartilespan .hero.feature-hero{background:#fff7e9}
 .quartilespan .hero,.quartilespan .hero.feature-hero{height:auto;min-height:0}
 .quartilespan.home-page .hero,.quartilespan.feature-page .hero{height:auto;min-height:0}
 .quartilespan.feature-page .hero-copy{width:92%;max-width:1100px;margin-inline:auto}
 .quartilespan .hero .hero-art{visibility:visible}
 .sector-main,.pattern-grid,.share-grid,.challenge-grid,.three.steps,.tips .three{grid-template-columns:minmax(0,1fr);gap:18px}
 .pattern-grid>*,.share-grid>*{min-width:0}
 .pattern-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .pattern-top label:last-child{grid-column:1/-1}
 .sizes{grid-template-columns:repeat(2,minmax(0,1fr))}
 .share,.quartilespan .share{min-height:0;padding:14px}
 .guide,.quartilespan .guide{grid-template-columns:minmax(0,1fr);height:auto;padding:20px}
 .guide figure img,.quartilespan .guide figure img{height:240px;width:100%;object-fit:contain}
 .guide-copy,.guide-form{border-left:0;height:auto;padding-left:0}
 .guide-form{grid-column:auto;border-top:1px solid #ffffff55;padding-top:16px}
 .guide-form input{font-size:15px;min-height:38px}
 .guide-form label{font-size:14px}
 .guide-form button{font-size:16px;min-height:42px}
 .guide-form p{font-size:12px}
 .teaser,.quartilespan .teaser{min-height:0}
 .teaser-copy,.quartilespan .teaser-copy{width:100%;padding:20px;min-height:0}
 .teaser>img,.quartilespan .teaser>img,.quartilespan .teaser>img{position:relative;width:100%;height:220px;object-fit:cover;right:auto}
 .footer-inner{align-items:flex-start;flex-direction:column}
 .site-foot nav{display:flex;position:static;flex-direction:row;flex-wrap:wrap;gap:20px;font-size:14px}
 .support{font-size:13px;min-height:36px}
 .tips .three>div{border-left:0;padding-left:0}
}

/* QuartileSpan's approved plum, ivory and copper desk composition. */
.quartilespan.home-page .hero{background:url('/assets/hero-home-panorama.webp?v=mini-20261103-q16a') center bottom/cover no-repeat}
.quartilespan.feature-page .hero{background:none}
.quartilespan.feature-page .hero-art{visibility:visible;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right 48%}
.quartilespan .hero-copy{position:relative;z-index:2;width:92%;max-width:1100px;margin-inline:auto}
.quartilespan .hero h1{font-size:calc(47 * var(--u));max-width:51%;line-height:1.02}
.quartilespan .hero h3{font-size:calc(28 * var(--u));max-width:50%}
.quartilespan .hero p{font-size:calc(14 * var(--u));max-width:47%}
.quartilespan .feature-hero h1{font-size:calc(36 * var(--u));max-width:48%;line-height:1.03}
.quartilespan .feature-hero h3{max-width:48%;font-size:calc(25 * var(--u))}
.quartilespan .hero-live-chart{right:6.5%;top:17%;width:34%;height:67%;z-index:1}
.quartilespan .tool,.quartilespan .how,.quartilespan .share,.quartilespan .tips,.quartilespan .faq{min-height:0}
.quartilespan .teaser>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.quartilespan .teaser-copy{width:44%;min-height:calc(210 * var(--u))}
.quartilespan .teaser-live-chart{right:3%;width:42%}
.sorted,.halves{overflow-wrap:anywhere}
@media(max-width:767px){
 .quartilespan.home-page .hero,.quartilespan.feature-page .hero{height:auto;min-height:0;background:#fffcf7}
 .quartilespan .hero h1,.quartilespan .feature-hero h1{max-width:100%;font-size:34px}
 .quartilespan .hero h3,.quartilespan .hero p{max-width:100%}
 .quartilespan .hero .hero-art,.quartilespan.feature-page .hero-art{visibility:visible;position:relative;inset:auto;width:100%;height:210px;max-height:none;object-fit:cover;object-position:right center}
 .quartilespan .hero-live-chart{position:relative;inset:auto;order:2;width:92%;height:auto;margin:0 auto}
 .quartilespan .challenge-grid,.quartilespan .iqr-grid{grid-template-columns:minmax(0,1fr)}
 .quartilespan .stats.five{grid-template-columns:repeat(2,minmax(0,1fr))}.quartilespan .stats.five>div:last-child{grid-column:1/-1}
 .quartilespan .teaser-copy{width:100%;min-height:0}
 .quartilespan .teaser>img{position:relative;height:200px}
 .quartilespan .teaser-live-chart{position:relative;inset:auto;width:100%;height:auto}
}
@media(min-width:768px){
 .quartilespan.home-page .hero,.quartilespan.feature-page .hero{height:clamp(200px,24.63vw,294.5px);min-height:clamp(200px,24.63vw,294.5px)}
 .quartilespan.home-page .hero h1{max-width:60%;font-size:calc(44 * var(--u));letter-spacing:-.035em;line-height:.99}
 .quartilespan.home-page .hero h3{max-width:60%;font-size:calc(26 * var(--u));margin-top:8px}
 .quartilespan.home-page .hero p{max-width:54%}
 .quartilespan .guide{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1.15fr)}
}
.quartilespan .plot-box svg{width:100%;display:block}
.quartilespan .feature-hero h1{letter-spacing:-.025em}
.quartilespan .teaser:after{display:none}
@media(max-width:767px){
 .quartilespan.feature-page .hero .hero-art{position:relative;inset:auto;display:block;width:100%;height:210px;max-height:none;object-fit:cover;object-position:right center}
 .quartilespan .hero-live-chart{display:block;position:relative;inset:auto;order:2;width:92%;height:auto;margin:12px auto}
 .quartilespan .hero-live-chart svg{display:block;width:100%;height:auto}
 .quartilespan .teaser{background:#fffaf3}
 .quartilespan .teaser>img{display:block;position:relative;inset:auto;width:100%;height:210px;object-fit:cover;object-position:right center}
 .quartilespan .teaser-live-chart{display:block;position:relative;inset:auto;width:92%;height:auto;margin:12px auto;opacity:1;z-index:1}
 .quartilespan .teaser-live-chart svg{display:block;width:100%;height:auto}
 .quartilespan .tool label,.quartilespan .tool input,.quartilespan .tool select,.quartilespan .tool textarea,.quartilespan .share input{font-size:15px}
 .quartilespan .tool input,.quartilespan .tool select,.quartilespan .tool textarea{min-height:42px}
 .quartilespan .quartile-tool .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quartilespan .quartile-tool .actions button{font-size:14px;min-height:42px}
 .quartilespan .stats.five strong{font-size:28px}
 .quartilespan .halves{grid-template-columns:1fr}.quartilespan .halves>div{font-size:14px}.quartilespan .halves strong{font-size:18px}.quartilespan .halves small{font-size:12px}
 .quartilespan .plot-box svg{height:110px}
 .quartilespan .guide h2{font-size:26px}.quartilespan .guide ul{font-size:14px}.quartilespan .guide .eyebrow{font-size:11px}
}

.quartilespan .quartile-results .plot-box svg{height:100px}
