/*
Theme Name: DCZ Prints
Theme URI: https://dczprints.co.uk
Author: DCZ Prints
Description: Custom theme for DCZ Prints, a family-run UK print studio. Enquiry-based (no cart/checkout).
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dcz-prints
*/

:root{
  --ox:#601a08;
  --ox-dark:#3d1004;
  --ox-soft:#8a3016;
  --paper:#ffffff;
  --paper-warm:#fbf5ef;
  --ink:#2b201b;
  --ink-soft:#6b5347;
  --gold:#c98a3e;
  --line:#e9ddd2;
  --shadow:0 24px 48px -24px rgba(96,26,8,0.28);
  --radius:2px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Work Sans',sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
section{scroll-margin-top:110px;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
h1,h2,h3{font-family:'Archivo Black',sans-serif;font-weight:400;letter-spacing:-0.01em;color:var(--ox);}
.eyebrow{
  display:flex;align-items:center;gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.eyebrow .regmark{width:16px;height:16px;color:var(--gold);flex-shrink:0;}
.regmark{color:var(--ox);}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:'Work Sans',sans-serif;font-weight:600;font-size:15px;
  padding:14px 26px;border-radius:var(--radius);cursor:pointer;
  border:1.5px solid transparent;transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--ox);color:var(--paper);}
.btn-primary:hover{background:var(--ox-dark);}
.btn-outline{background:transparent;color:var(--ox);border-color:var(--ox);}
.btn-outline:hover{background:var(--ox);color:var(--paper);}

/* Topbar */
.topbar{background:var(--ox);color:var(--paper);text-align:center;padding:9px 16px;
  font-family:'IBM Plex Mono',monospace;font-size:12.5px;letter-spacing:0.03em;}
.topbar strong{color:var(--gold);}

/* Nav */
.nav{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line);}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;max-width:1180px;margin:0 auto;}
.logo{font-family:'Archivo Black',sans-serif;font-size:22px;color:var(--ox);letter-spacing:-0.02em;display:flex;align-items:center;gap:10px;}
.logo img{max-height:36px;}
.logo .dot{width:9px;height:9px;border-radius:50%;background:var(--gold);}
.nav-links{display:flex;gap:34px;align-items:center;}
.nav-links a{font-size:14.5px;font-weight:600;color:var(--ink);position:relative;padding:4px 0;}
.nav-links a:hover{color:var(--ox);}
.nav-cta{display:flex;align-items:center;gap:18px;}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ox);margin:5px 0;}

/* Hero */
.hero{background:var(--paper-warm);padding:80px 0 90px;overflow:hidden;}
.hero-grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;}
.hero h1{font-size:clamp(34px,4.6vw,56px);line-height:1.06;margin-bottom:22px;}
.hero p.lede{font-size:18px;color:var(--ink-soft);max-width:480px;margin-bottom:32px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px;}
.hero-trust{display:flex;gap:28px;flex-wrap:wrap;}
.hero-trust div{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--ink-soft);letter-spacing:.02em;}
.hero-trust strong{display:block;font-family:'Archivo Black',sans-serif;font-size:22px;color:var(--ox);font-weight:400;}
.proofsheet{position:relative;}
.proofsheet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.proof-tile{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:6px solid var(--paper);}
.proof-tile:nth-child(1){transform:rotate(-2.5deg);margin-top:26px;}
.proof-tile:nth-child(2){transform:rotate(2deg);}
.proof-tile:nth-child(3){transform:rotate(1.5deg);}
.proof-tile:nth-child(4){transform:rotate(-1.5deg);margin-top:-10px;}
.proof-tile img{aspect-ratio:1/1;object-fit:cover;width:100%;}
.stamp{position:absolute;top:-18px;right:-6px;width:118px;height:118px;border-radius:50%;
  border:2px dashed var(--gold);display:flex;align-items:center;justify-content:center;text-align:center;
  transform:rotate(-10deg);background:var(--paper-warm);}
.stamp span{font-family:'IBM Plex Mono',monospace;font-size:10.5px;font-weight:600;letter-spacing:.08em;color:var(--ox);line-height:1.35;text-transform:uppercase;}

/* Category strip */
.categories{padding:64px 0 8px;}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.cat-card{border:1.5px solid var(--line);border-radius:var(--radius);padding:26px 22px;
  display:flex;flex-direction:column;gap:14px;transition:border-color .15s ease, background .15s ease;cursor:pointer;}
.cat-card:hover{border-color:var(--ox);background:var(--paper-warm);}
.cat-card svg{width:30px;height:30px;color:var(--ox);}
.cat-card h3{font-family:'Work Sans',sans-serif;font-weight:700;font-size:17px;color:var(--ink);}
.cat-card p{font-size:13.5px;color:var(--ink-soft);}

/* Products */
.products{padding:80px 0;}
.products-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:36px;}
.products-head h2{font-size:clamp(26px,3vw,36px);}
.filters{display:flex;gap:10px;flex-wrap:wrap;}
.filter-pill{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  padding:9px 16px;border:1.5px solid var(--line);border-radius:99px;cursor:pointer;background:var(--paper);color:var(--ink-soft);
  transition:all .15s ease;}
.filter-pill.active,.filter-pill:hover{border-color:var(--ox);color:var(--ox);background:var(--paper-warm);}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.product-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--paper);transition:box-shadow .2s ease, transform .2s ease;}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.product-media{display:block;aspect-ratio:1/1;overflow:hidden;background:var(--paper-warm);}
.product-body h3 a:hover{color:var(--ox);}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.product-card:hover .product-media img{transform:scale(1.05);}
.product-body{padding:18px 18px 20px;}
.product-tag{font-family:'IBM Plex Mono',monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:8px;display:block;}
.product-body h3{font-family:'Work Sans',sans-serif;font-weight:700;font-size:16.5px;color:var(--ink);margin-bottom:6px;}
.product-price{font-size:14px;color:var(--ink-soft);margin-bottom:14px;}
.product-enquire{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;
  font-size:13.5px;font-weight:700;padding:11px;border-radius:var(--radius);
  border:1.5px solid var(--ox);color:var(--ox);background:transparent;cursor:pointer;transition:all .15s ease;}
.product-enquire:hover{background:var(--ox);color:var(--paper);}

/* Why us */
.why{background:var(--ox);color:var(--paper);padding:88px 0;}
.why .eyebrow{color:var(--gold);}
.why h2{color:var(--paper);font-size:clamp(26px,3vw,36px);max-width:640px;margin-bottom:52px;}
.why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px;}
.why-card svg{width:28px;height:28px;color:var(--gold);margin-bottom:16px;}
.why-card h3{font-family:'Work Sans',sans-serif;color:var(--paper);font-size:16px;font-weight:700;margin-bottom:8px;}
.why-card p{font-size:13.5px;color:rgba(255,255,255,0.72);line-height:1.55;}

/* Bulk quote */
.bulk{padding:90px 0;}
.bulk-inner{display:grid;grid-template-columns:0.9fr 1.1fr;gap:60px;align-items:center;background:var(--paper-warm);border-radius:var(--radius);padding:56px;}
.bulk h2{font-size:clamp(24px,2.8vw,32px);margin-bottom:16px;}
.bulk p{color:var(--ink-soft);margin-bottom:26px;max-width:420px;}
.steps{display:flex;flex-direction:column;gap:22px;}
.step{display:flex;gap:16px;align-items:flex-start;}
.step-num{font-family:'Archivo Black',sans-serif;font-size:14px;color:var(--paper);background:var(--ox);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.step h4{font-size:15px;font-weight:700;margin-bottom:4px;color:var(--ink);}
.step p{font-size:13.5px;color:var(--ink-soft);margin:0;}

/* Testimonial */
.testimonial{padding:90px 0;text-align:center;}
.testimonial .wrap{max-width:760px;}
.stars{color:var(--gold);font-size:20px;letter-spacing:4px;margin-bottom:26px;}
.testimonial blockquote{font-family:'Archivo Black',sans-serif;font-weight:400;font-size:clamp(20px,2.6vw,28px);line-height:1.4;color:var(--ox);margin-bottom:24px;}
.testimonial cite{font-style:normal;font-size:14px;color:var(--ink-soft);font-weight:600;}

/* Contact */
.contact{background:var(--paper-warm);padding:90px 0;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
.contact h2{font-size:clamp(26px,3vw,34px);margin-bottom:16px;}
.contact-lede{color:var(--ink-soft);margin-bottom:30px;max-width:420px;}
.contact-methods{display:flex;flex-direction:column;gap:18px;}
.contact-method{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-top:1px solid var(--line);}
.contact-method:first-child{border-top:none;}
.contact-method svg{width:22px;height:22px;color:var(--ox);flex-shrink:0;margin-top:2px;}
.contact-method h4{font-size:14.5px;font-weight:700;margin-bottom:3px;}
.contact-method p,.contact-method a{font-size:13.5px;color:var(--ink-soft);}
.contact-method a:hover{color:var(--ox);}
.form-card{background:var(--paper);border-radius:var(--radius);padding:34px;box-shadow:var(--shadow);}
.form-row{margin-bottom:18px;}
.form-row label{display:block;font-size:12.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:7px;}
.form-row input,.form-row select,.form-row textarea{
  width:100%;border:1.5px solid var(--line);border-radius:var(--radius);padding:12px 14px;
  font-family:'Work Sans',sans-serif;font-size:14.5px;color:var(--ink);background:var(--paper);}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus{outline:2px solid var(--ox);outline-offset:1px;border-color:var(--ox);}
.form-row textarea{resize:vertical;min-height:100px;}
.form-note{font-size:12px;color:var(--ink-soft);margin-top:12px;text-align:center;}
.form-success{background:var(--ox);color:var(--paper);padding:16px;border-radius:var(--radius);font-size:14px;text-align:center;margin-top:14px;}

/* Newsletter */
.newsletter{padding:70px 0;text-align:center;border-top:1px solid var(--line);}
.newsletter h3{font-size:clamp(20px,2.4vw,26px);margin-bottom:12px;}
.newsletter p{color:var(--ink-soft);margin-bottom:24px;}
.newsletter-form{display:flex;justify-content:center;gap:10px;max-width:420px;margin:0 auto;}
.newsletter-form input{flex:1;border:1.5px solid var(--line);border-radius:var(--radius);padding:13px 16px;font-size:14px;}

/* Footer */
footer{background:var(--ox);color:rgba(255,255,255,0.82);padding:64px 0 28px;}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px;margin-bottom:48px;}
.footer-logo{font-family:'Archivo Black',sans-serif;color:var(--paper);font-size:20px;margin-bottom:14px;}
.footer-grid p{font-size:13.5px;line-height:1.6;max-width:280px;color:rgba(255,255,255,0.66);}
.footer-col h4{font-family:'IBM Plex Mono',monospace;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:16px;}
.footer-col ul li{margin-bottom:10px;font-size:13.5px;}
.footer-col ul li a:hover{color:var(--paper);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:26px;border-top:1px solid rgba(255,255,255,0.16);font-size:12.5px;color:rgba(255,255,255,0.55);flex-wrap:wrap;gap:12px;}

/* Floating message button */
.fab{position:fixed;bottom:26px;right:26px;z-index:60;background:var(--ox);color:var(--paper);
  display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:99px;box-shadow:var(--shadow);
  font-weight:700;font-size:14px;transition:transform .15s ease, background .15s ease;}
.fab:hover{background:var(--ox-dark);transform:translateY(-2px);}
.fab svg{width:18px;height:18px;}

/* Simple inner pages (page.php) */
.simple-page{padding:80px 0;min-height:40vh;}
.simple-page h1{font-size:clamp(28px,3.4vw,40px);margin-bottom:24px;}
.simple-page .entry-content{font-size:16px;color:var(--ink-soft);line-height:1.7;max-width:760px;}
.simple-page .entry-content p{margin-bottom:16px;}

/* Single product page (single-dcz_product.php) — layout comes from the block editor */
.single-product{padding:48px 0 88px;}
.single-product-back{display:inline-block;margin-bottom:28px;font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);}
.single-product-back:hover{color:var(--ox);}
.single-product .entry-content{font-size:16px;color:var(--ink-soft);line-height:1.7;}
.single-product .entry-content > * + *{margin-top:28px;}
.single-product .entry-content p{margin-bottom:16px;}
.single-product .entry-content ul{list-style:disc;padding-left:22px;}
.single-product .entry-content h2,.single-product .entry-content h3{margin-bottom:12px;}
.single-product .wp-block-post-title{font-size:clamp(28px,3.4vw,42px);line-height:1.1;margin:6px 0 14px;}
.single-product .product-layout{gap:56px;align-items:flex-start;}
.single-product .product-photo img{border:1px solid var(--line);border-radius:var(--radius);}
.single-product .product-tag{margin-bottom:0;}
.single-product .product-tag a:hover{color:var(--ox);}
.single-product .product-price{font-size:20px;font-weight:600;color:var(--ox);margin-bottom:18px;}
.single-product .product-details{max-width:760px;margin-top:32px;}
.single-product .wp-block-button__link{display:inline-flex;align-items:center;padding:15px 28px;border-radius:var(--radius);
  background:var(--ox);color:var(--paper);font-weight:700;font-size:15px;transition:background .15s ease;}
.single-product .wp-block-button__link:hover{background:var(--ox-dark);}

/* Mobile */
@media(max-width:940px){
  .hero-grid{grid-template-columns:1fr;}
  .proofsheet{margin-top:20px;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .bulk-inner{grid-template-columns:1fr;padding:36px;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:720px){
  .nav-links{position:absolute;top:100%;left:0;right:0;background:var(--paper);
    flex-direction:column;align-items:flex-start;gap:0;padding:8px 32px 20px;
    border-bottom:1px solid var(--line);display:none;}
  .nav-links.open{display:flex;}
  .nav-links a{padding:12px 0;width:100%;border-top:1px solid var(--line);}
  .nav-links a:first-child{border-top:none;}
  .nav-toggle{display:block;}
  .nav-cta .btn-outline{display:none;}
  .hero{padding:52px 0 60px;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-trust{gap:20px;}
  .cat-grid{grid-template-columns:1fr 1fr;}
  .product-grid{grid-template-columns:1fr 1fr;}
  .why-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr;gap:32px;}
  .single-product{padding:32px 0 64px;}
  .single-product .product-layout{gap:28px;}
  .stamp{width:92px;height:92px;top:-14px;right:6px;}
  .newsletter-form{flex-direction:column;}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;}
}
