/* EMPIRE STORE V20 — SITE-WIDE REAL FACTORY PHOTO PASS
   Adds real Empire production photography to category/product pages and
   gives printed customer work a prominent, clearly-labeled manufacturing showcase. */

:root{--em20-orange:#f26700;--em20-bg:#08090a;--em20-panel:#0d0f10;--em20-line:#2c2f31;--em20-soft:#a9aca9}

/* Use Jason's real veneer/deck photography in existing V16 category heroes. */
.em15-veneer-hero-photo{background-image:url('/store/image/catalog/empire/factory/v20/veneer_inventory.webp')!important;background-position:center 46%!important}
.em20-decks-hero .em15-decks-hero-photo{background-image:url('/store/image/catalog/empire/factory/v20/printed_rack.webp')!important;background-position:center 44%!important}
.em20-decks-hero .em15-decks-hero-photo:after{background:linear-gradient(90deg,#0c0d0e 0%,rgba(12,13,14,.16) 52%,rgba(12,13,14,.02) 100%)!important}

/* Generic hero for molds, glue and graphics categories. */
.em20-category-hero{height:390px;position:relative;overflow:hidden;border:1px solid #292b2d;background:#0c0d0e;margin-bottom:34px}
.em20-category-hero-photo,.em20-category-hero-shade{position:absolute;inset:0}
.em20-category-hero-photo{background-size:cover;background-repeat:no-repeat}
.em20-category-hero-shade{background:linear-gradient(90deg,#090a0b 0%,rgba(9,10,11,.97) 34%,rgba(9,10,11,.72) 55%,rgba(9,10,11,.08) 86%)}
.em20-category-hero-copy{position:absolute;z-index:2;left:38px;top:58px;max-width:560px}
.em20-category-hero-copy h1{margin:8px 0 17px!important;color:#fff!important;font-size:49px!important;line-height:.94!important;letter-spacing:-.045em!important;font-weight:950!important}
.em20-category-hero-copy p{max-width:490px;margin:0;color:#d0d2cf;font-size:13px;line-height:1.65}
.em20-molds-hero .em20-category-hero-photo{background-image:url('/store/image/catalog/empire/factory/v20/press_loaded.webp');background-position:center 51%}
.em20-glue-hero .em20-category-hero-photo{background-image:url('/store/image/catalog/empire/factory/v20/glue_pink.webp');background-position:center 52%}
.em20-transfer-hero .em20-category-hero-photo{background-image:url('/store/image/catalog/empire/factory/v20/printed_graphic_rack.webp');background-position:center 48%}

/* Photo proof section on category pages. */
.em20-category-proof{margin:0 0 42px;padding:28px;border:1px solid var(--em20-line);background:linear-gradient(145deg,#101214,#0a0c0d);box-shadow:0 16px 42px rgba(0,0,0,.15)}
.em20-proof-head{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:20px}
.em20-proof-head h2{margin:7px 0 7px!important;color:#fff!important;font-size:31px!important;line-height:.98!important;letter-spacing:-.035em!important;font-weight:950!important}
.em20-proof-head p{margin:0;max-width:680px;color:#9da19e;font-size:11px;line-height:1.6}
.em20-proof-grid{display:grid;grid-template-columns:1.15fr .925fr .925fr;gap:12px}
.em20-proof-grid figure{margin:0;background:#0b0d0e;border:1px solid #2c2f31;overflow:hidden}
.em20-proof-grid img{display:block;width:100%;height:250px;object-fit:cover;filter:saturate(.94) contrast(1.03);transition:transform .25s ease}
.em20-proof-grid figure:hover img{transform:scale(1.018)}
.em20-proof-grid figcaption{display:flex;flex-direction:column;gap:5px;padding:14px 15px 15px;border-top:1px solid #292c2e}
.em20-proof-grid figcaption b{font-size:9px;letter-spacing:.075em;color:#fff}.em20-proof-grid figcaption span{font-size:9px;color:#858986;line-height:1.45}
.em20-customer-note{margin:14px 0 0!important;color:#737774!important;font-size:8px!important;line-height:1.55!important;letter-spacing:.015em}

/* Home page: print/finished-work showcase. */
.em20-printed-work{padding:64px 0 70px;background:linear-gradient(180deg,#070809,#0a0b0c);border-top:1px solid #202326;border-bottom:1px solid #202326}
.em20-printed-head{display:grid;grid-template-columns:1fr minmax(320px,430px);gap:50px;align-items:end;margin-bottom:25px}
.em20-printed-head h2{margin:8px 0 0!important;color:#fff!important;font-size:44px!important;line-height:.96!important;letter-spacing:-.04em!important;font-weight:950!important}
.em20-printed-head>p{margin:0;color:#a6aaa7;font-size:12px;line-height:1.7}
.em20-printed-grid{display:grid;grid-template-columns:1.35fr .825fr .825fr;gap:12px}
.em20-printed-grid figure{position:relative;margin:0;min-height:455px;background:#0d0f10;border:1px solid #2d3032;overflow:hidden}
.em20-printed-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.97) contrast(1.04);transition:transform .3s ease}
.em20-printed-grid figure:hover img{transform:scale(1.018)}
.em20-printed-grid figcaption{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:66px 18px 18px;background:linear-gradient(transparent,rgba(4,5,6,.96))}
.em20-printed-grid figcaption b,.em20-printed-grid figcaption span{display:block}.em20-printed-grid figcaption b{font-size:10px;letter-spacing:.075em;color:#fff}.em20-printed-grid figcaption span{margin-top:6px;font-size:9px;line-height:1.45;color:#b1b4b1}
.em20-printed-rack img{object-position:center 45%}
.em20-printed-grid figure:nth-child(2) img{object-position:center 48%}
.em20-printed-grid figure:nth-child(3) img{object-position:center 46%}

/* V20 closes the process story with actual finished graphics. */
.em19-process-finished{background-image:url('/store/image/catalog/empire/factory/v20/printed_graphic_rack.webp')!important;background-position:center 45%!important}

/* Product-page factory story. */
.em20-product-proof{margin-top:42px;padding:30px;border-top:1px solid #2c2f31;border-bottom:1px solid #2c2f31;background:linear-gradient(145deg,#101214,#090b0c)}
.em20-product-proof-copy{display:grid;grid-template-columns:minmax(290px,.72fr) minmax(0,1.28fr);gap:55px;align-items:end;margin-bottom:20px}
.em20-product-proof-copy h2{margin:7px 0 0!important;color:#fff!important;font-size:33px!important;line-height:.96!important;letter-spacing:-.038em!important;font-weight:950!important}
.em20-product-proof-copy>p{margin:0;color:#a1a5a2;font-size:11px;line-height:1.7;max-width:720px}
.em20-product-proof-photos{display:grid;grid-template-columns:1.3fr .85fr .85fr;gap:10px}
.em20-product-proof-photos figure{margin:0;position:relative;min-height:330px;overflow:hidden;border:1px solid #2c2f31;background:#0b0d0e}
.em20-product-proof-photos img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.95) contrast(1.03)}
.em20-product-proof-photos figcaption{position:absolute;left:0;right:0;bottom:0;padding:45px 13px 13px;background:linear-gradient(transparent,rgba(3,4,5,.92));font-size:8px;font-weight:900;letter-spacing:.065em;text-transform:uppercase;color:#fff}
.em20-product-proof-photos figure:nth-child(2) img,.em20-product-proof-photos figure:nth-child(3) img{object-position:center 47%}

/* Slight image-position tuning for the category proof cards. */
.em20-category-proof .em20-proof-grid figure:nth-child(2) img{object-position:center 46%}
.em20-category-proof .em20-proof-grid figure:nth-child(3) img{object-position:center 46%}

@media(max-width:991px){
  .em20-category-hero{height:430px}
  .em20-proof-grid,.em20-printed-grid,.em20-product-proof-photos{grid-template-columns:1fr 1fr}
  .em20-proof-grid figure:first-child,.em20-printed-grid figure:first-child,.em20-product-proof-photos figure:first-child{grid-column:1/-1}
  .em20-printed-head,.em20-product-proof-copy{grid-template-columns:1fr;gap:16px}
  .em20-printed-grid figure{min-height:390px}
}
@media(max-width:640px){
  .em20-category-hero{height:520px}
  .em20-category-hero-copy{left:22px;right:22px;top:34px}
  .em20-category-hero-copy h1{font-size:35px!important}
  .em20-category-hero-shade{background:linear-gradient(#090a0b 0%,rgba(9,10,11,.96) 46%,rgba(9,10,11,.28) 78%,rgba(9,10,11,.04) 100%)}
  .em20-category-proof,.em20-product-proof{padding:20px}
  .em20-proof-grid,.em20-printed-grid,.em20-product-proof-photos{grid-template-columns:1fr}
  .em20-proof-grid figure:first-child,.em20-printed-grid figure:first-child,.em20-product-proof-photos figure:first-child{grid-column:auto}
  .em20-proof-grid img{height:260px}
  .em20-printed-work{padding:44px 0 48px}.em20-printed-head h2{font-size:32px!important}
  .em20-printed-grid figure{min-height:360px}
  .em20-product-proof-copy h2{font-size:29px!important}
  .em20-product-proof-photos figure{min-height:320px}
}
