/*
Theme Name: Humanity Labs Reference
Description: Emerald and gold homepage with cinematic vial hero, automatic product slider, and nine individual product cards.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: humanity-labs-reference
*/
:root{--green:#073b29;--deep:#021b12;--gold:#f6b900;--ink:#0b3021;--muted:#66776d;--cream:#f7f7f2;--line:#e3e8e1}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.container{width:min(1320px,calc(100% - 52px));margin:auto}
.site-header{height:78px;background:#fff;display:flex;align-items:center;border-bottom:1px solid #edf0eb;position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{font:900 48px/.9 Georgia,serif;color:var(--green);position:relative}.brand-mark:after{content:"";position:absolute;width:25px;height:4px;background:var(--gold);left:4px;top:23px;transform:rotate(-30deg)}.brand-copy strong{display:block;font-size:22px;letter-spacing:2px;line-height:1.1;color:var(--green)}.brand-copy span{display:block;font-size:9px;letter-spacing:1.5px;color:#53695d}.main-nav{display:flex;align-items:center;gap:27px;font-size:12px;font-weight:750}.main-nav a{position:relative;padding:9px 0}.main-nav a:hover{color:#9a7200}.main-nav a:first-child:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--gold)}.nav-toggle{display:none}
.hero{color:#fff;background:#031e15 url("assets/hero-vial.jpg") 78% 48%/auto 100% no-repeat;position:relative;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,34,23,.98) 0%,rgba(3,48,32,.92) 38%,rgba(2,30,21,.2) 72%,rgba(2,30,21,.08) 100%);z-index:-1}.hero-grid{min-height:440px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.hero-content{padding:43px 0 42px;max-width:640px}.eyebrow,.section-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:16px}.eyebrow:before,.section-kicker:before{content:"";display:inline-block;width:27px;height:2px;background:var(--gold);vertical-align:middle;margin-right:12px}.hero h1{font:700 clamp(36px,4vw,57px)/.99 Georgia,'Times New Roman',serif;letter-spacing:-1.2px;color:#fff;margin:0 0 18px;max-width:650px}.hero h1 em{font-style:normal;color:var(--gold)}.hero-copy{font-size:15px;color:#e1e9e3;max-width:540px;margin:0 0 23px}.actions{display:flex;flex-wrap:wrap;gap:12px}.btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border-radius:8px;font-size:12px;font-weight:800;transition:transform .2s}.btn:hover{transform:translateY(-2px)}.btn-gold{background:var(--gold);color:#082719}.btn-outline{border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(1,25,17,.25)}
.hero-visual{min-height:410px;position:relative;display:flex;align-items:center;justify-content:center}.hero-slider{position:relative;width:100%;height:410px}.hero-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .55s,visibility .55s}.hero-slide.is-active{opacity:1;visibility:visible;z-index:2}.hero-slide img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 15px 25px rgba(0,0,0,.25))}.hero-slide-caption{position:absolute;right:1%;bottom:13%;width:250px;padding:17px 18px;background:rgba(2,23,16,.94);border:1px solid rgba(246,185,0,.12);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.2)}.hero-slide-caption strong{display:block;color:#fff;font-size:16px;line-height:1.3;margin-bottom:8px}.hero-slide-caption span{display:block;color:#d6e1d9;font-size:12px;margin-bottom:8px}.hero-slide-caption a{color:var(--gold);font-size:12px;font-weight:800}.slider-arrow{position:absolute;z-index:4;top:44%;width:38px;height:38px;border:1px solid rgba(255,255,255,.75);border-radius:50%;color:white;background:rgba(1,20,13,.38);font-size:23px;cursor:pointer}.slider-prev{left:0}.slider-next{right:0}.hero-dots{position:absolute;z-index:5;bottom:7px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.hero-dot{width:10px;height:10px;border:0;border-radius:50%;background:#fff;padding:0;cursor:pointer}.hero-dot.is-active{background:var(--gold)}
.section{padding:36px 0 52px}.section-soft{background:#f8f8f3}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.section-kicker{color:#a77800;margin-bottom:6px}.section-head h2,.about-copy h2,.cta-band h2{font:700 clamp(30px,3vw,42px)/1.1 Georgia,'Times New Roman',serif;color:var(--green);margin:0}.catalog-link{border:1px solid #b9c8be;border-radius:8px;padding:11px 17px;font-size:12px;font-weight:800;white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.product-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;transition:transform .22s,box-shadow .22s}.product-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(0,30,18,.12)}.product-image-wrap{height:205px;background:#e8e5db;overflow:hidden}.product-image-wrap img{width:100%;height:100%;object-fit:contain;padding:8px;background:#061d15;transition:transform .35s}.product-card:hover .product-image-wrap img{transform:scale(1.04)}.product-content{padding:13px 15px 17px}.product-content small{font-size:9px;font-weight:850;letter-spacing:1.2px;color:#a77800;text-transform:uppercase}.product-content h3{font-size:15px;line-height:1.35;color:var(--green);margin:6px 0}.product-content p{font-size:12px;color:var(--muted);margin:0 0 14px}.card-link{font-size:12px;font-weight:850;color:var(--green)}.card-link:hover{color:#9a7200}
.trust-strip{background:#fff;border-bottom:1px solid var(--line)}.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:18px 0}.trust-item{display:flex;align-items:center;gap:11px}.trust-icon{width:37px;height:37px;border-radius:12px;background:#edf4ee;color:var(--green);font-weight:900;display:grid;place-items:center}.trust-item strong,.trust-item span{display:block}.trust-item strong{font-size:12px}.trust-item span{font-size:11px;color:var(--muted)}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center}.about-mark{min-height:245px;background:linear-gradient(140deg,#042b1d,#0e5037);border-radius:16px;padding:30px;color:white;display:flex;flex-direction:column;justify-content:space-between}.about-mark span{font-size:10px;color:var(--gold);font-weight:800;letter-spacing:2px}.about-mark strong{font:700 36px/1.1 Georgia,serif}.about-copy h2{margin-bottom:14px}.about-copy>p{color:var(--muted)}.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:22px}.feature{border-left:3px solid var(--gold);padding-left:12px}.feature strong,.feature span{display:block}.feature strong{font-size:12px}.feature span{font-size:11px;color:var(--muted)}.cta-band{background:#042d1f;color:white;padding:38px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{color:white;margin-bottom:7px}.cta-band p{color:#d6e0d9;margin:0}.site-footer{background:#021a11;color:#d3dfd7;padding:24px 0;font-size:11px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{font-weight:850;letter-spacing:1.5px;color:#fff}.page-content{background:#fff;min-height:320px;padding:42px 0 65px}.page-content h1{font:700 40px Georgia,serif;color:var(--green)}.page-content img{max-width:100%;height:auto}
@media(max-width:1080px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero h1{font-size:45px}.main-nav{gap:16px}}
@media(max-width:760px){.container{width:calc(100% - 30px)}.site-header{height:70px}.brand-mark{font-size:38px}.brand-copy strong{font-size:16px;letter-spacing:1px}.brand-copy span{font-size:7px;letter-spacing:.6px}.nav-toggle{display:block;background:#fff;border:1px solid var(--line);border-radius:7px;padding:8px 10px}.main-nav{display:none;position:absolute;top:70px;left:0;right:0;padding:15px 20px;background:white;box-shadow:0 12px 20px #001d1120;flex-direction:column;align-items:flex-start;gap:6px}.main-nav.is-open{display:flex}.hero{background-position:70% center;background-size:auto 62%}.hero:before{background:linear-gradient(180deg,rgba(2,31,21,.96) 0%,rgba(3,43,29,.87) 55%,rgba(2,30,21,.32) 100%)}.hero-grid{display:flex;flex-direction:column;gap:0}.hero-content{padding:34px 0 0}.hero h1{font-size:40px}.hero-copy{font-size:13px}.hero-visual{width:100%;min-height:300px}.hero-slider{height:300px}.hero-slide-caption{width:44%;right:1%;bottom:11%;padding:10px}.hero-slide-caption strong{font-size:12px}.hero-slide-caption span,.hero-slide-caption a{font-size:10px}.slider-arrow{width:32px;height:32px}.section{padding:30px 0 40px}.section-head{align-items:flex-start;flex-direction:column}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image-wrap{height:165px}.product-content{padding:11px}.product-content h3{font-size:13px}.trust-inner{grid-template-columns:1fr;gap:12px}.about-grid{grid-template-columns:1fr;gap:25px}.about-mark{min-height:190px}.about-mark strong{font-size:32px}.feature-list{grid-template-columns:1fr}.cta-inner,.footer-inner{align-items:flex-start;flex-direction:column}}
