/* index.css - TAPA FLAKES Premium Design System */
/* Editorial Brutalism Modern & Pop Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
    /* Color Palette - Stark Asphalt & High-Contrast Neo-Pop */
    --bg-main: #06070a;            /* Stark Matte Black */
    --bg-card: #0e0f14;            /* Asphalt Slate Gray */
    --bg-card-hover: #141620;
    
    /* Neo-Brutalist & Pop Art Accents */
    --accent-cobalt: #0055ff;      /* Brutalist Cobalt Blue (Primary Pop) */
    --accent-lime: #d60020;        /* Pop Art Crimson Red (Replaced Green) */
    --accent-yellow: #ffe600;      /* Screaming Pop Yellow */
    --accent-red: #ff2a00;         /* Spicy Chili Flat Red */
    
    /* Layout & Lines */
    --border-width: 2px;
    --border-color: #1a1c24;
    --border-heavy: 2px solid #ffffff;
    --border-cobalt: 2px solid var(--accent-cobalt);
    --border-yellow: 2px solid var(--accent-yellow);
    
    /* Neo-Brutalist Solid Shadows */
    --shadow-brutal-black: 4px 4px 0px #000000;
    --shadow-brutal-cobalt: 4px 4px 0px var(--accent-cobalt);
    --shadow-brutal-yellow: 4px 4px 0px var(--accent-yellow);
    --shadow-brutal-red: 4px 4px 0px var(--accent-red);
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Geometry */
    --border-radius-sm: 4px;       /* Squared-off geometric corners */
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
    text-transform: uppercase;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-lime);
}

/* --- Layout Grid --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 3.5rem 0;
    position: relative;
    border-bottom: 2px solid var(--border-color);
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* --- Typography Utilities --- */
.text-center { text-align: center; }

/* Brutalist Badge Style Section Tag */
.section-tag {
    display: inline-block;
    background: var(--accent-cobalt);
    color: #ffffff;
    padding: 0.5rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: var(--border-heavy);
    margin-bottom: 1.2rem;
    box-shadow: 3px 3px 0px #000000;
    border-radius: var(--border-radius-sm);
    transform: rotate(-1.5deg);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    font-weight: 900;
    color: #ffffff;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem auto;
    font-size: 1.05rem;
}

/* --- Navigation Header --- */
.main-header {
    background: var(--bg-main);
    border-bottom: 3px solid #ffffff; /* Thick white raw border */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent-yellow);
    background: none;
    -webkit-text-fill-color: initial;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--accent-lime);
}

/* Brutalist Button CTA */
.nav-cta {
    background: var(--accent-yellow);
    color: #000000 !important;
    padding: 0.6rem 1.4rem;
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    border: var(--border-heavy);
    box-shadow: 3px 3px 0px #000000;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
    background: var(--accent-lime);
}

/* Navigation Mobile Components */
.mobile-only-cta {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 150;
    padding: 0;
}

.nav-toggle .bar {
    height: 4px;
    width: 100%;
    background-color: var(--text-primary);
    border: 1px solid #000;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Animate hamburger to X when active */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--accent-red);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: var(--accent-red);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 8rem 0 3.5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.05) 0%, rgba(255, 230, 0, 0.03) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.0;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero-title span {
    color: var(--accent-yellow);
    text-shadow: 4px 4px 0px var(--accent-cobalt);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Neo-Brutalist Definition Box */
.aeo-definition-card {
    background: var(--bg-card);
    border: 2px solid var(--accent-lime);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(214, 0, 32, 0.4), 4px 4px 0px #000000;
}

.aeo-definition-card h3 {
    font-size: 0.95rem;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.aeo-definition-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Flat, heavy shadows on buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 0.95rem;
    border: var(--border-heavy);
    border-radius: var(--border-radius-sm);
    box-shadow: 4px 4px 0px #000000;
}

.btn-primary {
    background: var(--accent-cobalt);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
    background: var(--accent-yellow);
    color: #000000;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent-cobalt);
    border-color: var(--accent-cobalt);
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 8px 8px 0px #000000;
    border: var(--border-heavy);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.1) contrast(1.05);
}

/* --- AdSense Containers --- */
.ad-slot-container {
    width: 100%;
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ad-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ad-box {
    background: #000000;
    border: var(--border-heavy);
    border-radius: var(--border-radius-sm);
    box-shadow: 3px 3px 0px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-leaderboard {
    width: 728px;
    height: 90px;
}

.ad-rectangle {
    width: 336px;
    height: 280px;
}

.ad-square {
    width: 300px;
    height: 250px;
}

.ad-banner-placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.ad-banner-placeholder svg {
    width: 24px;
    height: 24px;
    opacity: 0.4;
}

/* --- Curing & Shredding Science Section --- */
.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.science-content h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-yellow);
}

.science-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.science-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.science-step-card {
    background: var(--bg-card);
    border: var(--border-heavy);
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-brutal-black);
    display: flex;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.science-step-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0px var(--accent-cobalt);
    border-color: var(--accent-cobalt);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-lime);
    line-height: 1;
}

.step-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Flake Explorer --- */
.explorer-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: var(--border-heavy);
    color: var(--text-secondary);
    padding: 0.65rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 3px 3px 0px #000000;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000;
}

.tab-btn.active {
    background: var(--accent-yellow);
    color: #000000;
    border-color: #ffffff;
    box-shadow: var(--shadow-brutal-cobalt);
    transform: translate(-2px, -2px);
}

.explorer-content {
    min-height: 380px;
    position: relative;
}

.explorer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.flake-card {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-brutal-black);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flake-card:hover {
    transform: translate(-4px, -4px) rotate(0.5deg);
    border-color: var(--accent-lime);
    box-shadow: 8px 8px 0px var(--accent-lime);
}

.flake-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 800;
    border: 1px solid #000000;
    margin-bottom: 0.8rem;
}

.flake-badge-primary { background: var(--accent-cobalt); color: #ffffff; }
.flake-badge-exotic { background: var(--accent-red); color: #ffffff; }
.flake-badge-future { background: var(--accent-lime); color: #000000; }

.flake-name {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.flake-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    text-align: justify;
}

.flake-details {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-weight: 800;
    color: var(--text-primary);
}


/* ==================== HIGH-END EDITORIAL SECTIONS ==================== */
.editorial-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, #0d0d12 50%, var(--bg-main) 100%);
    border-bottom: 2px solid var(--border-color);
}

.editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 3px solid var(--accent-cobalt);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.editorial-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-yellow);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.editorial-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 0.5rem;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.editorial-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: right;
}

.editorial-meta strong {
    color: var(--accent-lime);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Editorial Columns */
.editorial-visual-col {
    position: static;
    margin: 0 auto 2.2rem auto;
    max-width: 500px;
    width: 100%;
}

.editorial-image-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: var(--border-heavy);
    box-shadow: var(--shadow-brutal-black);
}

.editorial-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    filter: saturate(1.1) contrast(1.05);
}

.editorial-image-frame:hover img {
    transform: scale(1.02);
}

.editorial-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    font-style: italic;
    text-align: center;
    font-weight: 600;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    padding-bottom: 0.6rem;
}

/* Narrative Copy Column */
.editorial-narrative-col {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.editorial-narrative {
    width: 100%;
    clear: both;
}

.editorial-narrative p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Pop Drop Cap with Cobalt Blue background */
.editorial-narrative p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 1;
    padding: 0.2rem 0.8rem;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    background: var(--accent-yellow);
    color: #000000;
    border: var(--border-heavy);
    box-shadow: 3px 3px 0px #000000;
    border-radius: var(--border-radius-sm);
}

/* Brutalist Boxed Quotes */
.editorial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
    border: var(--border-heavy);
    border-left: 6px solid var(--accent-cobalt);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    background: var(--bg-card);
    box-shadow: var(--shadow-brutal-black);
}

/* Editorial Sidebar */
.editorial-sidebar-col {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.editorial-specs {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-brutal-black);
}

.editorial-specs h4 {
    font-size: 1rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.spec-list {
    list-style: none;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-val {
    font-weight: 800;
    color: var(--text-primary);
}


/* --- Flavor Profile Matrix --- */
.matrix-table-container {
    overflow-x: auto;
    border: var(--border-heavy);
    border-radius: var(--border-radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-brutal-black);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.matrix-table th, .matrix-table td {
    padding: 1.1rem 1.4rem;
    border-bottom: 2px solid var(--border-color);
}

.matrix-table th {
    font-family: var(--font-heading);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.matrix-table tr:last-child td {
    border-bottom: none;
}

.matrix-protein {
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.score-bar-bg {
    background: rgba(255, 255, 255, 0.08);
    height: 8px;
    width: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
    border: 1px solid rgba(0,0,0,0.5);
}

.score-bar-fill {
    background: linear-gradient(90deg, var(--accent-cobalt), var(--accent-yellow));
    height: 100%;
}


/* ==================== MASTERCLASS RECIPES ==================== */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.recipe-grid-card {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-brutal-black);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Diagonal pop ribbon in card header */
.recipe-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-cobalt);
}

.recipe-grid-card:hover {
    transform: translate(-4px, -4px) rotate(-0.5deg);
    border-color: var(--accent-yellow);
    box-shadow: 8px 8px 0px var(--accent-yellow);
}

.recipe-header-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-lime);
    margin-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 800;
}

.recipe-card-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.recipe-ingredients-block {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.recipe-block-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.recipe-block-title svg {
    color: var(--accent-lime);
    width: 16px;
    height: 16px;
}

.recipe-ul {
    list-style: square;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.recipe-ul li {
    margin-bottom: 0.4rem;
}

.recipe-steps-block {
    margin-top: auto;
}

.recipe-ol {
    list-style: decimal;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.recipe-ol li {
    margin-bottom: 0.6rem;
}

.recipe-ol li::marker {
    color: var(--accent-cobalt);
    font-weight: 800;
}

.print-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 2.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-sm);
    background: var(--bg-main);
}

.print-badge:hover {
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #000000;
}

.print-badge svg {
    width: 14px;
    height: 14px;
}


/* --- Culinary Fusion Cards [NEW] --- */
.fusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.fusion-card {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-brutal-black);
    transition: var(--transition-smooth);
    position: relative;
}

.fusion-card:hover {
    transform: translate(-4px, -4px) rotate(0.5deg);
    border-color: var(--accent-lime);
    box-shadow: 8px 8px 0px var(--accent-lime);
}

.fusion-card:nth-child(even):hover {
    transform: translate(-4px, -4px) rotate(-0.5deg);
}

.fusion-card-image {
    background: #000000;
    position: relative;
    overflow: hidden;
    height: 240px;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}

.fusion-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
}

.fusion-card-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.fusion-card-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--accent-yellow);
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 0px #000000;
}

.fusion-card-desc {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
    flex-grow: 1;
}

.fusion-recipe-specs {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.fusion-recipe-specs strong {
    color: var(--accent-lime);
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fusion-recipe-specs ul {
    list-style: square;
    padding-left: 1rem;
    color: var(--text-secondary);
}

.tag-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-item {
    font-size: 0.75rem;
    background: var(--bg-main);
    border: 1.5px solid var(--accent-cobalt);
    padding: 0.25rem 0.8rem;
    border-radius: var(--border-radius-sm);
    color: var(--accent-cobalt);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 2px 2px 0px #000000;
}

/* --- AEO & GEO FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-brutal-black);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--accent-cobalt);
}

.faq-trigger {
    padding: 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
}

.faq-trigger:hover {
    color: var(--accent-yellow);
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: var(--accent-yellow);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(0,0,0,0.12);
}

.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-body {
    padding: 0 1.8rem 1.8rem 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-body strong {
    color: var(--text-primary);
}

.faq-body ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.faq-body li {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer {
    background: #040406;
    padding: 4rem 0 2rem 0;
    border-top: 3px solid #ffffff; /* Thick white brutalist border */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-yellow);
    text-shadow: 1px 1px 0px #000000;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--accent-lime);
}

.footer-bottom {
    border-top: 2px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: 600;
}

.policy-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.policy-list a {
    color: var(--text-muted);
    cursor: pointer;
}

.policy-list a:hover {
    color: var(--accent-yellow);
}

/* --- Cookie Consent Banner --- */
.consent-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 550px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: var(--border-heavy);
    border-left: 6px solid var(--accent-cobalt);
    border-radius: var(--border-radius-sm);
    padding: 1.8rem;
    box-shadow: 8px 8px 0px #000000;
    z-index: 1000;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
    transform: translateY(200px);
    opacity: 0;
}

.consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.consent-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.consent-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.consent-desc a {
    text-decoration: underline;
    color: var(--accent-lime);
}

.consent-buttons {
    display: flex;
    gap: 1rem;
}

.consent-buttons .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-card);
    border: var(--border-heavy);
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-width: 750px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 0px #000000;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-card {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    font-weight: 900;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-danger);
}

.modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.8rem 0;
    color: var(--text-primary);
    font-weight: 800;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.modal-body li {
    margin-bottom: 0.4rem;
}

/* Print Layout overrides */
@media print {
    body * {
        visibility: hidden;
    }
    #recipes, #recipes * {
        visibility: visible;
    }
    #recipes {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    .recipe-grid-card {
        page-break-inside: avoid;
        border: 2px solid #000 !important;
        box-shadow: none !important;
        margin-bottom: 2rem;
        background: #fff !important;
        color: #000 !important;
    }
    .recipe-grid-card * {
        color: #000 !important;
    }
    .recipe-header-meta, .print-badge {
        display: none !important;
    }
}

/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .hero-grid, .science-grid, .recipe-lab-grid, .editorial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image-container {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.2rem; /* Maximize text width by reducing mobile side padding */
    }

    .editorial-section {
        padding: 2.5rem 0; /* Reduce block spacing on mobile */
    }

    .editorial-quote {
        padding: 1.25rem;
        margin: 1.5rem 0;
        font-size: 1.25rem;
    }

    .logo {
        position: relative;
        z-index: 150;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 8, 10, 0.98); /* Obsidian black with extremely high opacity */
        border-bottom: 5px solid var(--accent-red);
        gap: 2rem;
        z-index: 140;
        padding: 2rem;
        transform: translateY(-100%);
        visibility: hidden; /* Prevent FOUC rendering at load */
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
        pointer-events: none;
    }
    
    .nav-menu.show {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        font-size: 1.8rem;
        font-family: var(--font-heading);
        color: var(--text-primary);
        text-shadow: 2px 2px 0px #000000;
        display: inline-block;
        padding: 0.5rem 0;
        transition: var(--transition-smooth);
    }
    
    .nav-menu li a:hover {
        color: var(--accent-lime);
        transform: scale(1.05) rotate(1deg);
    }

    .mobile-only-cta {
        display: block !important;
        margin-top: 1.5rem;
    }
    
    .nav-cta-mobile {
        background: var(--accent-yellow);
        color: #000000 !important;
        padding: 0.8rem 2rem;
        font-weight: 900;
        font-size: 1.2rem;
        text-transform: uppercase;
        border: var(--border-heavy);
        box-shadow: 4px 4px 0px #000000;
        border-radius: var(--border-radius-sm);
        display: inline-block;
        text-shadow: none !important;
        transition: var(--transition-smooth);
    }
    
    .nav-cta-mobile:hover {
        transform: translate(-3px, -3px);
        box-shadow: 7px 7px 0px #000000;
        background: var(--accent-lime);
    }
    
    .editorial-title {
        font-size: 2.3rem;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .editorial-visual-col {
        position: static;
        margin: 0 auto 1.5rem auto;
    }
    
    .editorial-sidebar-col {
        grid-column: auto !important;
        position: static;
        flex-direction: column;
        width: 100%;
    }
    
    .editorial-narrative p {
        text-align: left; /* Avoid awkward justified word spacing on mobile */
    }
    
    .editorial-narrative p:first-of-type::first-letter {
        font-size: 2.8rem;
        padding: 0.15rem 0.5rem;
        margin-right: 0.5rem;
        margin-top: 0.1rem;
        box-shadow: 2px 2px 0px #000;
    }
    
    .editorial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding-bottom: 1rem;
    }
    
    .editorial-meta {
        align-self: flex-start;
    }
    
    .ad-leaderboard {
        width: 320px;
        height: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .consent-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.2rem;
    }
    
    .consent-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* --- Sticky bottom anchor ad banner --- */
.sticky-ad-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 3px solid #ffffff;
    padding: 0.75rem 2rem;
    z-index: 99;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-ad-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* Close Button styled with Pop Yellow / Red accents */
.ad-close-btn {
    position: absolute;
    top: 6px;
    right: 15px;
    background: var(--accent-red);
    color: #ffffff;
    border: 2px solid #ffffff;
    width: 24px;
    height: 24px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000000;
    transition: var(--transition-smooth);
    z-index: 10;
}

.ad-close-btn:hover {
    background: var(--accent-yellow);
    color: #000000;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.ad-anchor {
    width: 728px;
    height: 90px;
}

/* Responsive adjustment for Mobile viewports */
@media (max-width: 768px) {
    .sticky-ad-banner {
        padding: 0.5rem 1rem;
    }
    .ad-anchor {
        width: 320px;
        height: 50px;
    }
    .ad-close-btn {
        top: 2px;
        right: 5px;
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

/* --- High-Emphasis Glowing Effects --- */
.glow-card {
    border-color: var(--accent-lime) !important;
    box-shadow: 0 0 20px rgba(214, 0, 32, 0.5), 8px 8px 0px #000000 !important;
    animation: border-pulse 3s infinite alternate;
}

.glow-badge {
    animation: pulse-glow 2s infinite alternate;
}

@keyframes border-pulse {
    0% {
        border-color: var(--accent-lime);
        box-shadow: 0 0 10px rgba(214, 0, 32, 0.3), 8px 8px 0px #000000 !important;
    }
    100% {
        border-color: #ff1a40;
        box-shadow: 0 0 25px rgba(214, 0, 32, 0.7), 8px 8px 0px #000000 !important;
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 2px 2px 0px #000, 0 0 4px rgba(214, 0, 32, 0.4);
    }
    100% {
        box-shadow: 2px 2px 0px #000, 0 0 12px rgba(214, 0, 32, 0.9);
    }
}

/* Scroll Lock Helper for active mobile nav */
body.nav-active {
    overflow: hidden;
}

/* Global mobile-responsive optimization for grid sizes */
@media (max-width: 480px) {
    .fusion-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
}

