/*
Theme Name: Audit Shop Inventory
Description: A high-structure, brutalist-inspired shop aesthetic for professional auditing blogs.
Version: 1.0
*/

:root {
    --c-bg: #FDFDFD;
    --c-dark: #000000;
    --c-accent: #EAB308; /* Data Yellow */
    --c-soft: #F3F4F6;
    --c-border: #000000;
    --f-main: 'Outfit', sans-serif;
    --f-body: 'Hanken Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--c-bg);
    color: var(--c-dark);
    font-family: var(--f-body);
    line-height: 1.4;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

h1, h2, h3, h4 { font-family: var(--f-main); font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: -3px; }

a { text-decoration: none; color: inherit; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* Header - Floating Blueprint */
.site-header {
    height: 100px;
    border-bottom: 2px solid var(--c-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}
.header-wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 2.2rem; font-weight: 900; letter-spacing: -4px; border: 2px solid #000; padding: 5px 15px; }
.logo span { background: var(--c-accent); padding: 0 5px; }

.main-nav ul { display: flex; list-style: none; gap: 40px; }
.main-nav a { font-family: var(--f-main); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.main-nav a:hover { background: var(--c-accent); }

/* Hero - The Warehouse */
.hero-shop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--c-border);
}
.hero-text { padding: 120px 80px; border-right: 2px solid var(--c-border); }
.hero-text h1 { font-size: clamp(4rem, 10vw, 9rem); margin-bottom: 40px; }
.hero-text p { font-size: 1.4rem; font-weight: 600; max-width: 500px; margin-bottom: 60px; color: #444; }

.hero-visual { position: relative; background: #eee; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) grayscale(0.5); }
.hero-badge { position: absolute; top: 40px; right: 40px; background: #000; color: #fff; padding: 15px 25px; font-family: var(--f-main); font-weight: 900; font-size: 0.7rem; letter-spacing: 2px; }

/* The Shelf - Value Grid */
.shelf-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 2px solid var(--c-border);
}
.shelf-item {
    padding: 60px 40px;
    border-right: 2px solid var(--c-border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}
.shelf-item:last-child { border-right: none; }
.shelf-item:hover { background: var(--c-accent); }
.s-id { font-family: var(--f-main); font-weight: 900; font-size: 0.75rem; color: #888; }
.shelf-item:hover .s-id { color: #000; }
.s-title { font-size: 1.8rem; margin: 30px 0 15px; }
.s-desc { font-size: 0.9rem; font-weight: 600; line-height: 1.5; opacity: 0.7; }

/* Data Strip */
.data-strip {
    background: #000;
    color: #fff;
    padding: 30px 0;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #000;
}
.strip-content { display: flex; gap: 100px; animation: scroll 30s linear infinite; }
.strip-item { font-family: var(--f-main); font-weight: 900; font-size: 0.8rem; letter-spacing: 3px; display: flex; align-items: center; gap: 15px; }
.strip-item::before { content: ''; width: 8px; height: 8px; background: var(--c-accent); }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Inventory - Post Grid */
.inventory-section { padding: 150px 0; }
.section-header { margin-bottom: 100px; }
.section-header h2 { font-size: 6rem; margin-bottom: 20px; }

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #000;
    border: 2px solid #000;
}
.item-card {
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
}
.item-card:hover { background: var(--c-soft); }

.item-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 2px solid #000;
}
.item-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s transform;
}
.item-card:hover .item-card-img img {
    transform: scale(1.05);
}

.item-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-meta { font-family: var(--f-main); font-weight: 900; font-size: 0.65rem; color: var(--c-accent); margin-bottom: 25px; display: block; }
.item-card h3 { font-size: 2.2rem; margin-bottom: 30px; text-transform: none; letter-spacing: -1.5px; line-height: 1; }
.item-excerpt { font-size: 1rem; color: #666; margin-bottom: 40px; flex-grow: 1; }
.item-btn { font-family: var(--f-main); font-weight: 900; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 8px; text-transform: uppercase; }

/* Custom Block: Warehouse Manifesto */
.manifesto-block {
    padding: 150px 0;
    background: var(--c-accent);
    text-align: center;
    border-bottom: 2px solid #000;
}
.manifesto-wrap { max-width: 1000px; margin: 0 auto; }
.manifesto-wrap h2 { font-size: 5rem; margin-bottom: 40px; }
.manifesto-wrap p { font-size: 1.8rem; font-weight: 800; line-height: 1.3; }

/* Footer */
.site-footer { padding: 120px 0 60px; border-top: 2px solid #000; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 100px; margin-bottom: 100px; }
.f-label { font-family: var(--f-main); font-weight: 900; font-size: 0.7rem; color: #888; margin-bottom: 30px; display: block; }
.f-val { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; display: block; }

.f-bottom { border-top: 1px solid #ddd; padding-top: 40px; display: flex; justify-content: space-between; font-size: 0.7rem; font-family: var(--f-main); font-weight: 900; opacity: 0.5; }

/* Pagination */
.shop-pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.shop-pg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: 2px solid #000;
    font-family: var(--f-main);
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    background: #fff;
    transition: 0.2s;
}
.shop-pg-link:hover {
    background: var(--c-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 0 #000;
}
.shop-pg-link.current {
    background: #000;
    color: #fff;
}
.shop-pg-link.dots {
    border: none;
    background: transparent;
}

/* Responsive */
.burger { display: none; cursor: pointer; border: 2px solid #000; padding: 10px; font-weight: 900; font-size: 0.7rem; }

@media (max-width: 1200px) {
    .hero-shop { grid-template-columns: 1fr; }
    .hero-text { border-right: none; border-bottom: 2px solid #000; padding: 80px 40px; }
    .hero-visual { height: 500px; }
    .shelf-section { grid-template-columns: 1fr 1fr; }
    .shelf-item { border-bottom: 2px solid #000; }
    .inventory-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .burger { display: block; }
    .inventory-grid { grid-template-columns: 1fr; }
    .shelf-section { grid-template-columns: 1fr; }
    .f-grid { grid-template-columns: 1fr; gap: 60px; }
    .section-header h2 { font-size: 3.5rem; }
    .manifesto-wrap h2 { font-size: 3rem; }
    .manifesto-wrap p { font-size: 1.2rem; }
}

body.menu-open .main-nav {
    display: flex; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; align-items: center; justify-content: center; z-index: 2000;
}
body.menu-open .main-nav ul { flex-direction: column; text-align: center; }
body.menu-open .main-nav a { font-size: 2rem; }
