:root{--paper:#fff9ed;--ink:#22251f;--orange:#f86f46;--green:#c6d69f;--line:#292c24;--gray:#595d4f;--gutter:clamp(1.2rem,4vw,4.5rem)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}
a{color:inherit}
button{font:inherit}
:focus-visible{outline:3px solid currentColor;outline-offset:5px}
[hidden]{display:none!important}
.wrap{width:min(100% - 2 * var(--gutter),78rem);margin-inline:auto}
.skip{position:fixed;z-index:5;top:1rem;left:1rem;padding:.65rem 1rem;background:var(--paper);transform:translateY(-200%)}
.skip:focus{transform:none}
.masthead{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:1.2rem;border-bottom:2px solid var(--line)}
.wordmark{display:flex;align-items:center;gap:.6rem;text-decoration:none;font-weight:950;font-size:.94rem;line-height:1.04;letter-spacing:-.035em}
nav{display:flex;gap:clamp(.9rem,3.1vw,2.5rem);font-weight:720}
nav a{text-decoration:none}nav a:hover,.footer a:hover{text-decoration:underline;text-underline-offset:.23em}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding-block:clamp(1.7rem,4.7vw,4rem) clamp(3rem,7vw,6.25rem);gap:clamp(1.8rem,5vw,5rem)}
.intro{align-self:center;padding-block:1rem}
.label{font:700 .875rem/1.3 ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;margin:0 0 .8rem}
.hero-label::before{content:"";display:inline-block;width:.64rem;height:.64rem;border-radius:50%;background:var(--orange);margin-right:.55rem;border:1px solid var(--ink)}
h1,h2,h3{margin:0;font-weight:950;line-height:.96;letter-spacing:-.065em}
h1{font-size:clamp(3.5rem,7.75vw,7.4rem)}
h1 span{color:#9b351d}
.desc{max-width:30ch;font-size:clamp(1.05rem,1.55vw,1.28rem);margin:1.35rem 0 1.4rem}
.action{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:.65rem 1.12rem;background:var(--ink);color:var(--paper);border:2px solid var(--ink);text-decoration:none;font-weight:800}
.action:hover{background:var(--orange);color:var(--ink)}
.art{position:relative;display:grid;place-items:center;min-width:0;align-content:center;min-height:28rem;border:2px solid var(--ink);background:var(--green);overflow:hidden}
.artwork{display:block;width:100%;max-width:35rem;height:auto}
.art-caption,.art-footer{position:absolute;left:1rem;z-index:1;font:700 .875rem ui-monospace,monospace;letter-spacing:.08em}
.art-caption{top:1rem}.art-footer{bottom:1rem}
.catalog{border-top:2px solid var(--ink);padding-block:clamp(1.5rem,4vw,3.2rem) clamp(3rem,7vw,6rem)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.45rem}
h2{font-size:clamp(2.65rem,5.8vw,5.15rem)}
.descriptor{margin:0;color:var(--gray)}
.empty{display:flex;align-items:center;gap:clamp(1rem,3vw,2rem);padding:clamp(1rem,4vw,2.5rem);border:1.5px dashed var(--ink)}
.empty-icon{display:grid;place-items:center;flex:0 0 4rem;width:4rem;height:4rem;background:#f9e2cd;border:1px solid var(--ink);border-radius:50%}
h3{font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.06}
.empty p{margin:.35rem 0 0;color:var(--gray)}
.about{background:var(--orange);border-block:2px solid var(--ink);padding-block:clamp(2rem,6vw,5rem)}
.about-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.4rem,5vw,5rem);align-items:end}
.about p:not(.label){font-size:clamp(1.05rem,1.55vw,1.25rem);max-width:43ch;margin:.7rem 0}
.footer{display:flex;justify-content:space-between;align-items:center;gap:1.2rem;padding-block:1.4rem}
.footer strong{font-size:.93rem}.footer a{font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.product{display:block;color:inherit;text-decoration:none;border:1px solid var(--ink)}
.product:hover{box-shadow:4px 4px var(--ink)}.product img,.detail img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--green)}
.product section{padding:1rem}.product p{margin:.4rem 0 0}
dialog{background:var(--paper);color:var(--ink);width:min(40rem,calc(100% - 2rem));max-height:calc(100% - 2rem);padding:1.2rem;border:2px solid var(--ink)}
dialog::backdrop{background:#20241fbb}.close{float:right;margin-bottom:.6rem;background:transparent;border:1px solid var(--ink);min-width:2.75rem;min-height:2.75rem;cursor:pointer}.detail{clear:both}.detail img{aspect-ratio:4/3;object-fit:contain;margin-bottom:1rem}
@media(max-width:760px){.hero,.about-inner{grid-template-columns:1fr}.hero{padding-top:1.3rem}.intro{padding-top:.3rem}.art{min-height:0}.artwork{max-width:27rem}.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:390px){.section-head{display:block}.descriptor{margin-top:.65rem}.product-grid{grid-template-columns:1fr}.art-caption,.art-footer{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* The first item is a spotlight; it becomes a regular grid as the catalog grows. */
.product:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;background:#fff9ed}
.product:only-child img{aspect-ratio:1.22;object-fit:contain;background:#e4dbc9}
.product:only-child section{padding:clamp(1rem,4vw,3rem)}
.product:only-child h3{font-size:clamp(2.1rem,4.3vw,4.4rem)}
.preview-button{display:inline-flex;margin-top:1rem;padding:.55rem .9rem;border:1px solid var(--ink);font-weight:800}
.product:hover .preview-button{background:var(--ink);color:var(--paper)}
dialog{width:min(58rem,calc(100% - 2rem))}
.detail{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,3vw,2rem);align-items:center}
.detail img{aspect-ratio:1;object-fit:cover;margin:0}
.product-copy h3{font-size:clamp(2rem,4vw,3.3rem)}
.color-options{border:0;padding:0;margin:1.2rem 0 1rem;min-width:0}
.color-options legend{font-weight:800;padding:0 0 .45rem}
.swatches{display:flex;gap:.45rem;flex-wrap:wrap}
.swatches input,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.swatches label{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .6rem;min-height:2.75rem;border:1px solid #77796f;border-radius:2px;cursor:pointer;font-size:.9rem}
.swatches input:checked+label{box-shadow:inset 0 0 0 1.5px var(--ink);border-color:var(--ink);background:#f4ecd9;font-weight:750}
.swatches input:focus-visible+label{outline:3px solid var(--ink);outline-offset:3px}
.swatch-dot{display:inline-block;width:1.13rem;height:1.13rem;flex:none;border:1px solid #6b6b5e;border-radius:50%}
.sample-note{color:var(--gray);font-size:.95rem}
@media(max-width:620px){.product:only-child,.detail{grid-template-columns:1fr}.detail img{max-height:48dvh;object-fit:contain;background:#e4dbc9}.product:only-child img{aspect-ratio:1.25}}
@media(min-width:761px){.product-grid:has(> .product:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The shop title's little greeting. */
.brand-title{position:relative}
.brand-tooltip{display:none;position:absolute;z-index:3;left:0;top:100%;white-space:nowrap;background:var(--ink);color:var(--paper);padding:.38rem .7rem;outline:1px solid var(--paper);font-size:.9rem;font-weight:700}
.brand-title:focus-within:not([data-dismissed]) .brand-tooltip{display:block}
@media(hover:hover){.brand-title:hover:not([data-dismissed]) .brand-tooltip{display:block}}

/* Phone gallery: let the shirt art fill one comfortable browsing column. */
@media (max-width:620px) {
  .catalog .product-grid { grid-template-columns:minmax(0,1fr); gap:1.2rem }
  .catalog .product { min-width:0 }
  .catalog .product section { padding:1rem 1.1rem 1.15rem }
  .catalog .product .preview-button { min-height:2.75rem; align-items:center }
}

.fit-previews{margin-top:clamp(2.5rem,6vw,5rem);padding-top:clamp(1.5rem,4vw,3rem);border-top:2px solid var(--ink)}

/* One design preview, with complete purchase options for each cut. */
#product-dialog{width:min(58rem,calc(100% - 1rem));max-height:calc(100dvh - 1rem);padding:clamp(.65rem,2vw,1.25rem)}
#product-detail{display:block;clear:both}
.comparison-heading{margin:0 0 1rem}
.comparison-heading h2{font-size:clamp(1.55rem,4.3vw,3rem);line-height:1.08;letter-spacing:-.045em;overflow-wrap:anywhere}
.comparison-heading p{margin:.35rem 0 0;color:var(--gray);font-size:clamp(.875rem,2.2vw,1rem)}
.cut-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.4rem,1.8vw,1rem);align-items:stretch}
.cut-comparison.single-cut{grid-template-columns:minmax(0,1fr);max-width:30rem}
.cut-panel{display:flex;flex-direction:column;align-items:stretch;min-width:0;border:1px solid var(--line);padding:clamp(.42rem,1.5vw,.85rem);background:#fffdf6}
.cut-panel h3{font-size:clamp(.95rem,2.45vw,1.4rem);letter-spacing:-.025em;line-height:1.16;margin:0 0 .5rem;min-height:2.32em;display:flex;align-items:center}
.cut-panel .product-visual{background:white;min-width:0}
.cut-panel .product-visual img{width:100%;height:auto;aspect-ratio:1;max-height:min(42dvh,24rem);object-fit:contain;background:white;margin:0}
.cut-panel .cut-price{font-weight:800;margin:.55rem 0 0}
.cut-panel .cut-single-color{margin:.5rem 0;color:var(--gray);font-size:.9rem}
.cut-panel .color-options{margin:.55rem 0 .65rem}
.cut-panel .color-options legend{font-size:.85rem;padding-bottom:.3rem}
.cut-panel .purchase{margin-top:auto;padding-top:.55rem}
.cut-panel .action{width:100%;text-align:center;padding:.4rem .3rem;line-height:1.2;font-size:clamp(.83rem,2.5vw,.98rem);min-height:2.75rem}
@media(max-width:620px){
  .cut-panel .swatches{gap:.3rem}
  .cut-panel .swatches label{max-width:100%;overflow-wrap:anywhere;font-size:.8rem;gap:.35rem;padding:.3rem;min-height:2.75rem}
  .cut-panel .swatch-dot{width:.82rem;height:.82rem}
}
