:root {
    --cast-iron: #141312;
    --canary-yellow: #FFC820;
    --soft-white: #FAFAFA;
    --card-bg: #FFFFFF;
    --border-gray: #EAEAEA;
    --text-muted: #666666;
    
    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

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

body {
    background-color: var(--soft-white);
    color: var(--cast-iron);
    font-family: var(--font-body);
    line-height: 1.5;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.font-mono { font-family: var(--font-mono); }
.color-yellow { color: var(--canary-yellow); font-weight: 600; }

/* Header Layout */
.site-header {
    background-color: var(--cast-iron);
    border-bottom: 2px solid var(--canary-yellow);
    position: sticky; top: 0; z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-decoration: none; color: white; letter-spacing: -0.5px; }
.logo-accent { color: var(--canary-yellow); }
.main-nav { display: flex; gap: 24px; }
.nav-link { color: #BBBBBB; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: white; }

/* Hero System */
.hero-section { background-color: var(--cast-iron); color: white; padding: 80px 0; border-bottom: 1px solid #282725; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-block; background-color: rgba(255, 200, 32, 0.1); color: var(--canary-yellow); padding: 6px 12px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 20px; font-weight: 600; }
.hero-section h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 4.5vw, 3.8rem); line-height: 1.1; margin-bottom: 20px; }
.hero-sub { color: #AAAAAA; font-size: 1.1rem; max-width: 540px; }

/* Receipt Styles */
.receipt-widget { background-color: white; color: var(--cast-iron); padding: 24px; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-bottom: 8px dashed var(--cast-iron); }
.receipt-title { text-align: center; font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 1px; }
.receipt-divider { border-top: 1px dashed var(--cast-iron); margin: 12px 0; }
.receipt-line { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.barcode { text-align: center; letter-spacing: 3px; font-size: 0.85rem; margin-top: 20px; opacity: 0.6; }

/* Content Grid */
.section { padding: 64px 0; }
.section-heading { font-family: var(--font-display); font-size: 2rem; margin-bottom: 32px; position: relative; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.recipe-card { background: var(--card-bg); border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.card-img-placeholder { 
    width: 100%;
    height: 200px; 
    background-color: #EFECE6; 
    overflow: hidden;
}

.card-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body { padding: 20px; }
.card-category { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 8px; }
.recipe-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; }

/* Mini Receipt Element */
.mini-receipt { background: var(--soft-white); border: 1px solid var(--border-gray); padding: 12px; border-radius: 4px; font-size: 0.85rem; }
.mini-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.mini-row:last-child { margin-bottom: 0; }
.bold { font-weight: 600; color: var(--cast-iron); }

/* Footer */
.site-footer { background: var(--cast-iron); color: #777777; padding: 40px 0; text-align: center; font-size: 0.8rem; }

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}/* Circular Category Navigation Layout */
.category-section {
    padding: 40px 0 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.category-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--cast-iron);
    transition: transform 0.2s;
}

.category-item:hover {
    transform: translateY(-4px);
}

.category-bubble {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.category-item:hover .category-bubble {
    border-color: var(--canary-yellow);
}

.category-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .category-bubble {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    .category-label {
        font-size: 0.7rem;
    }
}/* Recipe Page Extensions */
/* Button Clean Up for Filters */
button.category-item {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
} } }

/* Ledger Tables */
.ledger-panel { background: white; border: 1px solid var(--border-gray); border-radius: 6px; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.ledger-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--cast-iron); }
.ledger-header h2 { font-size: 1rem; letter-spacing: 0.5px; }

.serving-control { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.serve-btn { background: var(--cast-iron); color: white; border: none; width: 24px; height: 24px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.serve-btn:hover { background: var(--canary-yellow); color: var(--cast-iron); }

.ledger-table { margin-top: 16px; }
.ledger-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--border-gray); font-size: 0.9rem; }
.table-head { font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--cast-iron); }
.ledger-total-row { display: flex; justify-content: space-between; padding: 16px 0 0 0; font-weight: 600; font-size: 1rem; }
.cost-per-serving { border-top: 1px dashed var(--border-gray); margin-top: 8px; padding-top: 8px; font-size: 1.1rem; }

/* Protocol Lists */
.protocol-panel h2 { margin-bottom: 20px; }
.protocol-list { padding-left: 20px; }
.protocol-list li { margin-bottom: 18px; line-height: 1.6; color: #333; }
