/*
Theme Name: Guyang Coatings
Template: twentytwentyfive
Version: 1.0.0
Text Domain: guyang-coatings
*/

:root{--ink:#171717;--muted:#6f6f6a;--paper:#f7f7f4;--line:#deded8;--accent:#d86b3d;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.site-header{height:84px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:700;font-size:18px;letter-spacing:-.02em}.nav{display:flex;gap:34px;font-size:15px}.nav a{position:relative}.nav a:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:1px;background:var(--ink);transition:.25s}.nav a:hover:after{width:100%}.hero{padding:92px 0 48px;text-align:center}.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:24px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,6vw,82px);line-height:1.02;letter-spacing:-.04em;max-width:900px;margin:0 auto 28px;font-weight:500}.hero p{max-width:580px;margin:0 auto 30px;color:var(--muted);font-size:17px}.button{display:inline-flex;align-items:center;gap:10px;background:var(--ink);color:#fff;padding:13px 20px;border-radius:3px;font-size:14px;transition:.2s}.button:hover{background:var(--accent);transform:translateY(-2px)}.hero-media{margin-top:55px;height:480px;border-radius:28px;overflow:hidden;background:linear-gradient(90deg,rgba(0,0,0,.1),rgba(0,0,0,.05)),url('https://images.unsplash.com/photo-1586864387967-d02ef85d93e8?auto=format&fit=crop&w=1800&q=85') center/cover}.section{padding:105px 0}.section-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:36px}.section-kicker{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,56px);line-height:1.05;font-weight:500;letter-spacing:-.04em;margin:8px 0 0}.intro{max-width:640px;color:var(--muted);font-size:16px}.adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.adv{background:var(--paper);padding:30px;min-height:190px}.adv-no{font-size:12px;color:var(--accent);margin-bottom:38px}.adv h3{font-size:20px;margin:0 0 10px}.adv p{color:var(--muted);margin:0;font-size:14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:62px;align-items:center;margin-bottom:110px}.split:last-child{margin-bottom:0}.split.reverse .split-copy{order:2}.split-image{height:420px;border-radius:4px;overflow:hidden}.split-image img{width:100%;height:100%;object-fit:cover}.split-copy h3{font-family:Georgia,serif;font-size:40px;line-height:1.1;font-weight:500;margin:12px 0 18px}.split-copy p{color:var(--muted);max-width:470px}.band{background:var(--ink);color:#fff;padding:88px 0}.band-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.band h2{max-width:720px}.band .button{background:#fff;color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border-top:1px solid var(--line);padding-top:18px}.card-media{aspect-ratio:1.45;border-radius:3px;overflow:hidden;background:#e8e8e3;margin-bottom:18px}.card-media img{width:100%;height:100%;object-fit:cover}.card-meta{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}.card h3{font-size:21px;margin:8px 0}.card p{color:var(--muted);font-size:14px;margin:0}.archive-hero{padding:80px 0 50px;border-bottom:1px solid var(--line)}.archive-hero h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,90px);font-weight:500;letter-spacing:-.05em;line-height:1;margin:12px 0 20px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 22px;padding:58px 0}.article{max-width:780px;padding:100px 0}.article h1{font-family:Georgia,serif;font-size:clamp(44px,6vw,76px);font-weight:500;line-height:1.04;letter-spacing:-.045em;margin:14px 0 26px}.article-content{font-family:Georgia,serif;font-size:20px;line-height:1.8}.article-content img{max-width:100%;height:auto}.site-footer{border-top:1px solid var(--line);padding:38px 0;color:var(--muted);font-size:13px}.footer-row{display:flex;justify-content:space-between;gap:20px}.pagination{padding:25px 0 90px}.pagination .page-numbers{display:inline-flex;margin-right:8px;padding:8px 12px;border:1px solid var(--line);font-size:13px}.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}.contact-form{max-width:620px}.contact-form input,.contact-form textarea{width:100%;padding:13px;border:1px solid var(--line);background:transparent;margin:6px 0 16px;font:inherit}.contact-form textarea{min-height:150px}.mobile-toggle{display:none}
@media (max-width:800px){.wrap{width:min(var(--max),calc(100% - 32px))}.site-header{height:72px}.nav{gap:16px;font-size:13px}.hero{padding:68px 0 32px}.hero-media{height:300px;margin-top:36px;border-radius:18px}.section{padding:72px 0}.adv-grid,.cards,.archive-grid{grid-template-columns:1fr}.adv{min-height:0;padding:24px}.split{grid-template-columns:1fr;gap:26px;margin-bottom:70px}.split.reverse .split-copy{order:0}.split-image{height:280px}.band-inner,.footer-row{display:block}.band .button{margin-top:22px}.archive-hero{padding:58px 0 38px}.article{padding:70px 0}.article-content{font-size:18px}}

.site-footer{padding:72px 0 26px}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:70px;padding-bottom:65px}.footer-brand p{max-width:280px;margin:18px 0 0;line-height:1.8}.footer-contact,.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.footer-contact a:hover,.footer-links a:hover{color:var(--ink)}.footer-label{font-size:11px;letter-spacing:.16em;color:var(--ink);margin-bottom:12px}.footer-bottom{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;gap:20px}
@media (max-width:800px){.footer-main{grid-template-columns:1fr;gap:34px;padding-bottom:42px}.footer-bottom{display:block;line-height:2}}

/* Homepage photography */
.hero-home{position:relative;min-height:680px;padding:0;display:flex;align-items:center;text-align:left;color:#fff;overflow:hidden}
.hero-home .hero-media{position:absolute;inset:0;height:100%;margin:0;border-radius:0;background:none}
.hero-home .hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,18,22,.82) 0%,rgba(10,18,22,.55) 42%,rgba(10,18,22,.12) 100%)}
.hero-content{position:relative;z-index:1;padding:170px 0 120px}.hero-content h1{max-width:700px;margin:0 0 26px;font-size:clamp(46px,6vw,82px)}.hero-content p{max-width:560px;margin:0 0 30px;color:rgba(255,255,255,.82)}.hero-content .eyebrow{color:rgba(255,255,255,.72)}
.about-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:76px;align-items:center}.about-feature-image{height:470px;overflow:hidden;border-radius:4px}.about-feature-image img{width:100%;height:100%;object-fit:cover;object-position:center 34%;display:block}.about-feature-copy h2{max-width:500px}.about-feature-copy p{max-width:480px;color:var(--muted);font-size:17px;margin:24px 0}.text-link{font-size:14px;border-bottom:1px solid var(--ink);padding-bottom:4px}.text-link span{margin-left:6px}.gallery-section{background:#ecece8}.gallery-count{font-size:12px;color:var(--muted);letter-spacing:.1em;text-transform:uppercase}.factory-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.gallery-item{margin:0}.gallery-item img{display:block;width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:3px}.gallery-item figcaption{font-size:11px;color:var(--muted);letter-spacing:.08em;margin-top:8px}.stories{padding-top:105px}
@media (max-width:900px){.about-feature{grid-template-columns:1fr;gap:34px}.about-feature-image{height:360px}.factory-gallery{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.hero-home{min-height:600px}.hero-home .hero-media img{object-position:center}.hero-content{padding:130px 0 90px}.about-feature-image{height:280px}.factory-gallery{grid-template-columns:repeat(2,1fr);gap:14px}.gallery-item figcaption{font-size:10px}}
.hero-media{background:#e8e8e3!important}
@media (max-width:600px){.section-head{display:block}.section-head .intro{margin-top:20px}.gallery-count{display:block;margin-top:16px}}
.about-feature-image,.split-image{height:auto;aspect-ratio:4 / 3}
.about-feature-image img,.split-image img{height:100%;object-fit:cover}
.gallery-item img{width:100%;height:auto!important;aspect-ratio:4 / 3;object-fit:cover;display:block}
.factory-gallery{display:flex;flex-direction:column;gap:20px}
.gallery-row{display:flex;gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.gallery-row:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.gallery-item{flex:0 0 clamp(260px,24vw,360px);scroll-snap-align:start}
.gallery-row::-webkit-scrollbar{height:6px}.gallery-row::-webkit-scrollbar-track{background:transparent}.gallery-row::-webkit-scrollbar-thumb{background:var(--line);border-radius:99px}

/* Products archive */
.product-hero{background:#e9e9e4;padding:72px 0}.product-hero-inner{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:72px}.product-hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.5vw,76px);font-weight:500;letter-spacing:-.045em;line-height:1.02;margin:12px 0 24px}.product-hero-copy p{max-width:540px;color:var(--muted);font-size:17px;margin:0 0 30px}.product-hero-image{aspect-ratio:4 / 3;overflow:hidden;border-radius:4px}.product-hero-image img{display:block;width:100%;height:100%;object-fit:cover}.product-listing{min-height:540px}.product-filters{display:flex;gap:22px;flex-wrap:wrap;font-size:14px}.product-filters a{color:var(--muted);padding-bottom:4px}.product-filters a:hover,.product-filters .active{color:var(--ink);border-bottom:1px solid var(--ink)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:52px 24px}.product-card-media{display:block;aspect-ratio:4 / 3;overflow:hidden;border-radius:3px;background:#e7e7e2}.product-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.product-card:hover .product-card-media img{transform:scale(1.025)}.product-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e4e4df,#d5d5ce);color:#888;font-size:12px;letter-spacing:.2em}.product-card-body{padding-top:18px}.product-category{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}.product-card h2{font-family:inherit;font-size:23px;letter-spacing:-.02em;line-height:1.25;margin:0 0 10px}.product-card p{color:var(--muted);font-size:14px;margin:0 0 18px}.product-empty{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#efefeb;padding:58px}.product-empty h2{font-size:clamp(32px,4vw,48px)}.product-empty p{max-width:490px;color:var(--muted);font-size:17px;margin:0 0 26px}
@media (max-width:900px){.product-hero-inner{grid-template-columns:1fr;gap:40px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-empty{grid-template-columns:1fr;gap:28px}}
@media (max-width:600px){.product-hero{padding:48px 0}.product-grid{grid-template-columns:1fr}.product-empty{padding:30px}.product-filters{margin-top:20px}.product-hero-inner{gap:28px}}
.product-detail{padding-top:72px}.product-detail-top{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:70px;align-items:center}.product-detail-media{aspect-ratio:4 / 3;overflow:hidden;background:#e7e7e2;border-radius:4px}.product-detail-media img{width:100%;height:100%;display:block;object-fit:cover}.product-detail-summary h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,68px);font-weight:500;line-height:1.04;letter-spacing:-.04em;margin:12px 0 24px}.product-detail-content{max-width:820px;margin:80px auto 0;border-top:1px solid var(--line);padding-top:50px}
@media (max-width:800px){.product-detail-top{grid-template-columns:1fr;gap:34px}.product-detail-content{margin-top:55px}}
