/* A fitted three-photo bento: portrait sock plus two equal square tiles. */
body.hero-comparison-page #design.sample-showcase{--project-stage:min(660px,calc(100svh - 233px),calc((100vw - 40px) * 6 / 7));height:auto;min-height:0;max-height:100svh;padding-block:16px;scroll-margin-top:8px;background:var(--mg-color-black);color:#fff;overflow:hidden}
#design>.wrap{width:min(calc(100% - 40px),calc(var(--project-stage) * 7 / 6 + 4px));max-width:none;height:auto;min-height:0;display:grid;grid-template-rows:auto auto auto;gap:10px;margin-inline:auto}
#design .sample-heading{display:block;margin:0}
#design .sample-heading h2{font-size:clamp(27px,3vw,34px);line-height:1.06;letter-spacing:-.035em;max-width:none;margin:0;color:#fff}
#design #brand-example{display:grid;grid-template-rows:auto auto;min-height:0;touch-action:pan-y;outline-offset:4px}
#design #brand-example:focus-visible{outline:3px solid var(--mg-color-orange)}
#design #brand-example .sample-grid{display:grid;grid-template-columns:4fr 3fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;width:100%;height:var(--project-stage);min-height:0}
#design #brand-example .sample-grid figure{display:block;position:relative;margin:0;width:100%;height:100%;min-width:0;min-height:0;max-width:none;aspect-ratio:auto;background:#eeeae4;overflow:hidden;border-radius:0}
#design .project-sock{grid-column:1;grid-row:1/3}
#design .project-detail{grid-column:2;grid-row:1}
#design .project-package{grid-column:2;grid-row:2}
#design #brand-example .sample-grid img{display:block;width:100%;height:100%;min-height:0;max-width:none;object-fit:cover;object-position:center;background:transparent;transform:none;user-select:none;-webkit-user-drag:none}
#design #brand-example .sample-grid figcaption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#design .sample-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 0;min-height:32px}
#design .sample-caption h3{font-size:20px;line-height:1.15;margin:0;letter-spacing:-.02em;color:#fff}
#design .sample-caption .underlink{font-size:12px;min-height:30px;display:inline-flex;align-items:center;color:var(--mg-color-orange)}
#design .sample-picker{border:0;padding:0;min-width:0}
#design .sample-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;margin:0;padding:4px 0;overflow:visible}
#design .sample-choice{display:flex;align-items:center;flex-direction:column;min-width:0;gap:4px;padding:0;border:0;background:none;text-align:center;color:#aaa;cursor:pointer}
#design .sample-choice-image{display:block;position:relative;width:56px;height:56px;aspect-ratio:1;border-radius:50%;border:2px solid transparent;padding:2px;overflow:hidden;background:transparent;container-type:normal}
#design .sample-choice img{display:block;position:static;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:50%;filter:none;outline:0;transform:none}
#design .sample-choice>span:last-child{margin:0;max-width:100%;font:400 11px/1.15 var(--mg-font-family)}
#design .sample-choice[aria-pressed=true] .sample-choice-image{border-color:var(--mg-color-orange)}
#design .sample-choice[aria-pressed=true]>span:last-child{font-weight:700;color:#fff}
#design .sample-choice:focus-visible{outline:2px solid var(--mg-color-orange);outline-offset:2px;border-radius:0}
@media(max-width:760px){
 body.hero-comparison-page #design.sample-showcase{--project-stage:min(420px,calc(100svh - 235px),calc((100vw - 24px) * 6 / 7));padding-block:14px}
 #design>.wrap{width:min(calc(100% - 24px),calc(var(--project-stage) * 7 / 6 + 4px));gap:8px}
 #design .sample-heading h2{font-size:25px}
 #design #brand-example .sample-grid{gap:6px}
 #design .sample-caption h3{font-size:18px}
 #design .sample-caption .underlink{font-size:11px}
 #design .sample-track{gap:4px;padding:3px 0}
 #design .sample-choice-image{width:clamp(40px,11vw,52px);height:clamp(40px,11vw,52px);padding:1px}
 #design .sample-choice>span:last-child{font-size:9px;line-height:1.15;overflow-wrap:normal}
}
@media(max-height:540px){
 body.hero-comparison-page #design.sample-showcase{--project-stage:min(calc(100svh - 175px),calc((100vw - 24px) * 6 / 7));padding-block:10px}
 #design .sample-heading h2{font-size:22px}
 #design>.wrap{gap:6px}
 #design .sample-choice-image{width:40px;height:40px}
 #design .sample-caption{min-height:28px}
 #design .sample-caption h3{font-size:17px}
 #design .sample-choice>span:last-child{font-size:9px}
}
@media(prefers-reduced-motion:reduce){#design *{transition:none!important;scroll-behavior:auto!important}}
