/*
Theme Name: Shirt Factory Thailand
Description: Custom shirt designer draft for Shirt Factory Thailand.
Version: 0.1.0
Text Domain: shirt-factory
*/
:root{--ink:#202122;--muted:#777873;--paper:#fbfaf8;--line:#d9d7d1;--accent:#b49e82}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#1d1e20;color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.topbar{height:76px;position:relative;display:flex;align-items:center;justify-content:center;color:#fff;padding:0 5%;z-index:5}.brand{position:absolute;left:5%;display:flex;flex-direction:column;font-weight:700;font-size:17px;letter-spacing:.06em;line-height:1}.brand small{font-size:8px;letter-spacing:.39em;margin-top:6px}.nav{display:flex;gap:35px}.nav a,.top-cta{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.nav a{color:#b7b7b5}.nav a:hover{color:white}.top-cta{position:absolute;right:5%;border-bottom:1px solid #888;padding-bottom:8px}.top-cta span{margin-left:12px}.menu-toggle{display:none}.rail{position:fixed;top:76px;bottom:0;width:43px;display:flex;align-items:center;justify-content:space-between;writing-mode:vertical-rl;font-size:8px;letter-spacing:.24em;font-weight:700;color:#b1b2b0;padding:27px 0;z-index:3}.rail-left{left:0;transform:rotate(180deg)}.rail-right{right:0}main{margin:0 43px;background:var(--paper);overflow:hidden}.hero{height:min(710px,75vw);min-height:540px;background:#e9e9e6 url('assets/hero.webp') center 43%/cover no-repeat;position:relative;display:flex;align-items:center}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,246,243,.82),rgba(246,246,243,.22) 48%,transparent 68%)}.hero-copy{position:relative;margin-left:9%;max-width:550px;margin-top:-25px}.eyebrow,.index{font-size:10px;letter-spacing:.25em;font-weight:700;text-transform:uppercase}.eyebrow{color:#89867f;margin:0 0 24px}h1,h2,h3,p{margin-top:0}h1,h2,.detail-copy h3{font-family:'Playfair Display',Georgia,serif;font-weight:400}h1{font-size:clamp(50px,6.2vw,91px);line-height:1.08;letter-spacing:-.04em;margin:0 0 23px}h1 em,h2 em{font-weight:400}.hero-sub{font-family:Georgia,serif;font-size:18px;color:#575956;margin-bottom:36px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;padding:18px 21px;font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:700}.button-dark{background:#222;color:white}.button span{font-size:16px}.button:hover{opacity:.75}.hero-number{position:absolute;bottom:35px;left:9%;display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:.1em}.hero-number i{width:40px;height:1px;background:#555}.hero-caption{position:absolute;bottom:35px;right:5%;font-size:8px;letter-spacing:.2em;font-weight:700}.hero-caption span{margin:0 10px}.section{padding:115px 9%}.section-heading{text-align:center;max-width:630px;margin:0 auto 105px}.section-heading h2,.collection h2,.visit h2{font-size:clamp(38px,4vw,62px);letter-spacing:-.035em;line-height:1.2;margin-bottom:25px}.section-heading>p:last-child,.detail-copy p,.visit p{font-size:14px;color:#777;line-height:1.9}.details{max-width:1050px;margin:auto}.detail{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:10%;margin:0 0 90px}.detail:last-child{margin-bottom:0}.detail-reverse .detail-image{grid-column:2;grid-row:1}.detail-reverse .detail-copy{grid-column:1;grid-row:1;padding-left:10%}.detail-image{height:300px;background:#f0efed;overflow:hidden;display:flex;align-items:center;justify-content:center}.detail-image img{width:100%;height:100%;object-fit:cover;filter:saturate(.65)}.index{color:#999}.detail-copy h3{font-size:42px;line-height:1.18;margin:22px 0}.detail-copy p{max-width:330px}.text-link{display:inline-block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;border-bottom:1px solid #222;padding:10px 0}.text-link span{margin-left:30px}.editorial{height:590px;position:relative;background:linear-gradient(90deg,rgba(20,22,23,.74),rgba(20,22,23,.1)),url('assets/hero.webp') center 52%/cover;color:white;display:flex;align-items:center}.editorial-overlay{margin-left:9%;position:relative}.editorial .eyebrow{color:#ddd}.editorial h2{font-size:clamp(42px,5vw,70px);line-height:1.15}.button-light{color:white;border:1px solid #fff}.editorial-label{position:absolute;bottom:27px;left:4%;right:4%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.2em}.collection{padding-top:120px}.collection-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:42px}.collection-heading h2{margin:0}.collection-heading>p{font-size:13px;color:#85827d;margin:0 0 8px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:55px 25px}.product>a{height:260px;display:flex;align-items:center;justify-content:center;background:#f1f0ed;position:relative;overflow:hidden}.product img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s}.product a:hover img{transform:scale(1.05)}.product-arrow{position:absolute;right:14px;top:12px;font-size:18px}.product>div{display:flex;justify-content:space-between;border-bottom:1px solid #aaa;padding:16px 0 12px}.product h3,.product>div span{font-size:10px;letter-spacing:.17em;font-weight:700;margin:0}.product p{font-family:Georgia,serif;font-style:italic;font-size:13px;color:#888;margin:12px 0 0}.draft-note{font-size:11px;color:#999;margin:38px 0 0}.visit{background:#eeede9;display:flex;justify-content:space-between;gap:30px;padding:105px 9%;align-items:end}.visit p:not(.eyebrow){max-width:410px}.visit-side{min-width:250px;border-left:1px solid #c9c6bf;padding-left:36px}.visit-side>span{font-weight:700;font-size:13px;letter-spacing:.12em;line-height:1.5}.visit-side p{font-size:13px;margin:22px 0}.visit-side a{font-size:12px;border-bottom:1px solid #777;padding-bottom:5px}footer{background:#f9f8f6;padding:35px 9%;display:flex;align-items:center;gap:30px}footer .footer-brand{font-size:12px;font-weight:700;letter-spacing:.08em}footer .footer-brand span{display:block;font-size:8px;letter-spacing:.2em}footer p{margin:0;color:#999;font-size:12px}footer>a{margin-left:auto;font-size:9px;letter-spacing:.16em;font-weight:700}footer small{font-size:10px;color:#999}
@media(max-width:900px){.rail{width:24px}.rail span{font-size:7px}main{margin:0 24px}.topbar{height:70px}.brand{left:4%}.nav{gap:18px}.top-cta{display:none}.section{padding:90px 7%}.product-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:500px}.editorial{height:500px}}@media(max-width:650px){.topbar{justify-content:flex-end;padding:0 25px}.brand{left:25px}.menu-toggle{display:flex;flex-direction:column;gap:6px;border:0;background:none;padding:12px;color:white}.menu-toggle span:not(.sr-only){width:25px;height:1px;background:white}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:#1d1e20;flex-direction:column;gap:0;padding:10px 25px 20px}.nav.open{display:flex}.nav a{padding:14px 0}.rail{display:none}main{margin:0}.hero{min-height:620px;height:75vh;background-position:62% center;align-items:flex-start}.hero:before{background:linear-gradient(180deg,rgba(245,245,241,.85),rgba(245,245,241,.35) 45%,transparent 75%)}.hero-copy{margin:70px 7% 0}.hero-caption{display:none}.hero-number{left:7%}.section{padding:75px 7%}.section-heading{margin-bottom:60px}.detail{display:flex;flex-direction:column;gap:25px;align-items:stretch;margin-bottom:60px}.detail-reverse .detail-copy{padding-left:0}.detail-image{height:270px}.detail-copy h3{font-size:36px}.editorial{height:500px;background-position:65% center}.editorial-overlay{margin:0 7%}.collection-heading{display:block}.collection-heading>p{margin-top:15px}.product-grid{gap:35px 14px}.product>a{height:190px}.product h3{font-size:9px}.visit{display:block;padding:75px 7%}.visit-side{border-left:0;border-top:1px solid #c9c6bf;padding:30px 0 0;margin-top:45px}footer{padding:30px 7%;flex-wrap:wrap;gap:20px}footer p{display:none}footer small{width:100%}}
