/*
Theme Name: InkVault
Theme URI: https://inkvault.org/
Author: InkVault
Description: A polished, responsive storefront-style WordPress theme for ebooks, digital guides and downloadable resources. Supports WooCommerce.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: inkvault
*/
:root{
  --iv-ink:#172033; --iv-muted:#657086; --iv-paper:#fbfaf7; --iv-white:#fff;
  --iv-accent:#e5a34b; --iv-accent-dark:#b87520; --iv-line:#e8e7e2;
  --iv-soft:#f2eee7; --iv-radius:18px; --iv-shadow:0 18px 55px rgba(23,32,51,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--iv-paper);color:var(--iv-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,250,247,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,231,226,.8)}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.7px;font-size:1.35rem}
.brand img{width:42px;height:42px}
.brand span em{font-style:normal;color:var(--iv-accent-dark)}
.main-nav{display:flex;align-items:center;gap:30px;color:#465066;font-size:.94rem;font-weight:600}
.main-nav a:hover,.footer-links a:hover{color:var(--iv-accent-dark)}
.header-actions{display:flex;align-items:center;gap:12px}
.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border-radius:999px;background:var(--iv-ink);color:white;font-weight:700;font-size:.92rem;transition:.2s ease;border:1px solid var(--iv-ink)}
.header-cta:hover,.button:hover{background:var(--iv-accent-dark);border-color:var(--iv-accent-dark);transform:translateY(-2px);color:#fff}
.menu-toggle{display:none;border:1px solid var(--iv-line);background:#fff;border-radius:12px;padding:9px 12px;color:var(--iv-ink);font-size:1.2rem}
.hero{padding:82px 0 74px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:64px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--iv-accent-dark);font-size:.78rem;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.eyebrow:before{content:"";width:25px;height:2px;background:var(--iv-accent)}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3.1rem,6vw,5.45rem);line-height:.99;letter-spacing:-2.8px;margin:20px 0 22px;max-width:650px}
.hero h1 span{color:var(--iv-accent-dark);font-style:italic}
.hero-copy{max-width:550px;color:var(--iv-muted);font-size:1.08rem;line-height:1.8;margin:0 0 30px}
.hero-buttons{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.button-light{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--iv-ink)}
.button-light:hover{color:var(--iv-accent-dark)}
.hero-note{display:flex;align-items:center;gap:11px;margin-top:28px;color:var(--iv-muted);font-size:.86rem}
.hero-note strong{color:var(--iv-ink)}
.hero-art{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center}
.art-glow{position:absolute;width:390px;height:390px;border-radius:50%;background:#f0e4d1;filter:blur(1px)}
.book-stack{position:relative;width:min(430px,100%);height:380px}
.book{position:absolute;border-radius:8px 18px 18px 8px;box-shadow:0 25px 50px rgba(30,35,45,.18);display:flex;flex-direction:column;justify-content:space-between;padding:28px;color:#fff;overflow:hidden}
.book:after{content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:rgba(255,255,255,.25)}
.book small{font-size:.65rem;letter-spacing:2px;text-transform:uppercase;opacity:.8}
.book strong{font-family:Georgia,serif;font-size:2rem;line-height:1.05;max-width:190px}
.book-one{width:220px;height:300px;left:28px;top:38px;background:linear-gradient(145deg,#20304b,#101a2c);transform:rotate(-9deg)}
.book-two{width:220px;height:300px;right:18px;top:55px;background:linear-gradient(145deg,#c58b45,#8f5727);transform:rotate(8deg)}
.book-three{width:205px;height:275px;left:112px;top:95px;background:linear-gradient(145deg,#6c7b73,#344c45);transform:rotate(-1deg)}
.book-stamp{width:64px;height:64px;border:1px solid rgba(255,255,255,.55);border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:1.3rem}
.floating-card{position:absolute;right:-4px;bottom:16px;background:#fff;border:1px solid var(--iv-line);border-radius:15px;padding:15px 18px;box-shadow:var(--iv-shadow);font-size:.83rem}
.floating-card strong{display:block;font-size:1rem}
.trust-strip{border-block:1px solid var(--iv-line);background:#fff}
.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px 0}
.trust-item{display:flex;justify-content:center;align-items:center;gap:12px;color:#505a6e;font-size:.9rem;font-weight:650}
.trust-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--iv-soft);color:var(--iv-accent-dark);font-weight:800}
.section{padding:82px 0}
.section-heading{text-align:center;max-width:650px;margin:0 auto 42px}
.section-heading .eyebrow{justify-content:center}
.section-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.2rem,4vw,3.25rem);line-height:1.1;letter-spacing:-1.2px;margin:14px 0}
.section-heading p{color:var(--iv-muted);margin:0}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.category-card{background:#fff;border:1px solid var(--iv-line);border-radius:var(--iv-radius);padding:26px;transition:.25s;min-height:190px}
.category-card:hover{transform:translateY(-5px);box-shadow:var(--iv-shadow);border-color:#dec9aa}
.category-icon{width:48px;height:48px;border-radius:14px;background:var(--iv-soft);display:grid;place-items:center;font-size:1.35rem;margin-bottom:20px}
.category-card h3{font-family:Georgia,serif;font-size:1.35rem;margin:0 0 7px}
.category-card p{color:var(--iv-muted);font-size:.92rem;margin:0}
.products-section{background:#f3f0ea}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product-card{background:#fff;border:1px solid var(--iv-line);border-radius:var(--iv-radius);overflow:hidden;transition:.25s}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--iv-shadow)}
.product-cover{height:230px;background:linear-gradient(140deg,#25334c,#111a2b);display:flex;align-items:center;justify-content:center;padding:28px;position:relative;overflow:hidden}
.product-cover:before{content:"";position:absolute;width:190px;height:190px;border:1px solid rgba(255,255,255,.15);border-radius:50%}
.cover-sheet{position:relative;width:145px;height:180px;background:#f5ead7;color:#26324a;box-shadow:10px 12px 25px rgba(0,0,0,.22);padding:19px 15px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-4deg)}
.cover-sheet small{font-size:.48rem;letter-spacing:1.5px}
.cover-sheet strong{font-family:Georgia,serif;font-size:1.2rem;line-height:1.1}
.cover-sheet span{font-size:.52rem;color:#80603c}
.product-info{padding:21px}
.product-info h3{font-family:Georgia,serif;font-size:1.3rem;margin:0 0 7px}
.product-info p{color:var(--iv-muted);font-size:.9rem;margin:0 0 17px}
.product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.product-price{font-weight:800}
.text-link{font-weight:750;color:var(--iv-accent-dark);font-size:.9rem}
.text-link:hover{text-decoration:underline}
.why-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}
.why-panel{background:#1b2940;color:#fff;border-radius:26px;padding:38px;min-height:330px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.why-panel:after{content:"IV";position:absolute;right:-8px;bottom:-75px;font-family:Georgia,serif;font-size:17rem;color:rgba(255,255,255,.045);font-weight:bold}
.why-panel h3{font-family:Georgia,serif;font-size:2.2rem;line-height:1.12;max-width:340px;margin:20px 0}
.why-panel p{color:#c6cfdd;max-width:350px}
.why-list{display:grid;gap:24px}
.why-item{display:flex;gap:17px}
.why-check{flex:0 0 40px;height:40px;border-radius:50%;background:#f4eadb;color:#94601e;display:grid;place-items:center;font-weight:900}
.why-item h3{margin:0 0 4px;font-size:1.05rem}
.why-item p{margin:0;color:var(--iv-muted);font-size:.92rem}
.cta-band{background:#eae0d1;border-radius:24px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta-band h2{font-family:Georgia,serif;font-size:2.3rem;line-height:1.1;margin:0 0 9px}
.cta-band p{margin:0;color:#606879}
.site-footer{background:#172033;color:#fff;padding:60px 0 25px}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px;padding-bottom:42px}
.footer-brand p{max-width:340px;color:#b6c0d0;font-size:.92rem}
.footer-title{font-size:.82rem;text-transform:uppercase;letter-spacing:1.3px;color:#e4b16d;margin:0 0 17px}
.footer-links{display:grid;gap:10px;color:#c4ccda;font-size:.9rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding-top:20px;display:flex;justify-content:space-between;gap:20px;color:#9eabba;font-size:.82rem}
.mobile-nav{display:none}
.page-content{padding:60px 0 90px;min-height:45vh}
.page-content h1,.entry-title{font-family:Georgia,serif;line-height:1.1}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,1fr);gap:22px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--iv-line);border-radius:18px;padding:16px;overflow:hidden}
.woocommerce ul.products li.product img{border-radius:12px}
.woocommerce ul.products li.product .button{border-radius:99px;background:var(--iv-ink);color:#fff}
@media(max-width:900px){
 .hero-grid,.why-grid{grid-template-columns:1fr;gap:35px}.hero{padding-top:55px}.hero-art{min-height:400px}
 .main-nav{display:none}.menu-toggle{display:block}.header-cta{display:none}
 .mobile-nav.open{display:flex;flex-direction:column;gap:15px;padding:0 0 22px;color:#465066;font-weight:650}
 .category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}
 .footer-top{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}
}
@media(max-width:600px){
 .container{width:min(100% - 32px,1160px)}.header-inner{min-height:70px}
 .hero{padding:45px 0 48px}.hero h1{font-size:3.25rem;letter-spacing:-1.8px}.hero-copy{font-size:1rem}
 .hero-art{min-height:340px}.book-stack{transform:scale(.82);transform-origin:center}
 .floating-card{right:0;bottom:-2px}.trust-inner{grid-template-columns:1fr;gap:12px;padding:18px 0}.trust-item{justify-content:flex-start}
 .section{padding:60px 0}.category-grid,.product-grid{grid-template-columns:1fr}
 .category-card{min-height:unset}.why-panel{padding:28px;min-height:300px}
 .cta-band{padding:30px;display:block}.cta-band .button{margin-top:22px}.cta-band h2{font-size:1.9rem}
 .footer-top{grid-template-columns:1fr;gap:30px}.footer-brand{grid-column:auto}
 .footer-bottom{display:block}.footer-bottom span{display:block;margin-top:7px}
 .woocommerce ul.products{grid-template-columns:1fr}
}


/* InkVault 1.1 refinements */
:focus-visible{outline:3px solid #c58b45;outline-offset:3px}
.button:focus-visible,.header-cta:focus-visible{outline-color:#e5a34b}
.site-footer a:focus-visible{outline-color:#e5a34b}
.product-card .product-info{display:flex;flex-direction:column;height:100%}
.product-card .product-meta{margin-top:auto;padding-top:8px}
.product-cover{isolation:isolate}
.product-cover:after{content:"INKVAULT";position:absolute;bottom:14px;right:18px;color:rgba(255,255,255,.45);font-size:.58rem;letter-spacing:2px;font-weight:800}
.trust-strip .trust-item{line-height:1.35}
.policy-note{font-size:.82rem;color:var(--iv-muted);margin-top:14px}
.contact-panel{background:#fff;border:1px solid var(--iv-line);border-radius:18px;padding:28px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
