/* The Honest Table - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --bg-tertiary: #1A1A1A;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --text-tertiary: #666666;
    --border: #2A2A2A;
    --accent-gold: #D4AF37;
    --accent-gold-pale: rgba(212, 175, 55, 0.15);
    --accent-copper: #B87333;
    --accent-copper-pale: rgba(184, 115, 51, 0.15);
    --accent-sage: #9CAF88;
    --accent-sage-pale: rgba(156, 175, 136, 0.15);
    --accent-burgundy: #722F37;
    --accent-burgundy-pale: rgba(114, 47, 55, 0.2);
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 50px;
    height: 50px;
    background: var(--accent-gold-pale);
}

/* Grain Overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(114, 47, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(156, 175, 136, 0.05) 0%, transparent 40%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(40%) contrast(1.1);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 0;
}

.hero-content {
    padding: 160px 60px 0;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-gold);
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line span {
    display: inline-block;
    transform: translateY(100%);
    animation: lineReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(2) span {
    animation-delay: 0.6s;
}

@keyframes lineReveal {
    to {
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    animation: scrollLine 2s ease-in-out infinite;
}

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

/* Sections */
section {
    padding: 160px 60px;
    position: relative;
}

.section-header {
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-number {
    font-family: var(--serif);
    font-size: 8rem;
    font-style: italic;
    color: var(--bg-tertiary);
    line-height: 1;
    position: absolute;
    top: 80px;
    left: 20px;
    z-index: 0;
    opacity: 0.5;
}

.section-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

/* Featured Posts - Masonry Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--bg-dark) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.post-card:hover::before {
    opacity: 1;
}

.post-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.1);
}

.post-card.large {
    grid-column: span 7;
    grid-row: span 2;
}

.post-card.small {
    grid-column: span 5;
}

.post-card.medium {
    grid-column: span 6;
}

.post-card.full {
    grid-column: span 12;
}

.post-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card.large .post-image {
    aspect-ratio: 16/12;
}

.post-card:hover .post-image {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-overlay {
    transform: translateY(0);
    opacity: 1;
}

.post-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.tag-recipe {
    background: var(--accent-sage-pale);
    color: var(--accent-sage);
    border: 1px solid var(--accent-sage);
}

.tag-review {
    background: var(--accent-copper-pale);
    color: var(--accent-copper);
    border: 1px solid var(--accent-copper);
}

.tag-trend {
    background: var(--accent-gold-pale);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.tag-equipment {
    background: var(--accent-burgundy-pale);
    color: var(--accent-burgundy);
    border: 1px solid var(--accent-burgundy);
}

.post-title {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.post-card.small .post-title {
    font-size: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

/* Recipe Section - Full Screen Split */
.recipe-section {
    min-height: 100vh;
    display: flex;
    padding: 0;
    position: relative;
}

.recipe-image-half {
    width: 50%;
    position: relative;
    overflow: hidden;
}

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

.recipe-image-half::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, var(--bg-dark) 100%);
}

.recipe-content-half {
    width: 50%;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recipe-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-sage);
    margin-bottom: 24px;
}

.recipe-details h3 {
    font-family: var(--serif);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    line-height: 1.1;
}

.recipe-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.recipe-meta-item {
    text-align: left;
}

.recipe-meta-item strong {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.recipe-meta-item span {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.recipe-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.recipe-body p {
    margin-bottom: 24px;
}

.recipe-body h4 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.recipe-body ul, .recipe-body ol {
    margin: 16px 0 24px 24px;
}

.recipe-body li {
    margin-bottom: 8px;
}

/* Philosophy - Full Width Quote */
.philosophy {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--bg-card);
    overflow: hidden;
}

.philosophy::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: 40rem;
    color: var(--bg-tertiary);
    opacity: 0.3;
    pointer-events: none;
}

.philosophy-content {
    max-width: 900px;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.philosophy blockquote {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-style: italic;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.philosophy p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(114, 47, 55, 0.08) 0%, transparent 40%);
}

.newsletter .section-label {
    color: var(--accent-gold);
}

.newsletter .section-title {
    color: var(--text-primary);
    margin-bottom: 24px;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 20px 24px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--sans);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-form input:focus {
    border-color: var(--accent-gold);
}

.newsletter-form button {
    padding: 20px 40px;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: none;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-form button:hover {
    background: #E5C04A;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 80px 60px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.footer-links a {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* VVVEB Navigation - Custom nav styles */
.vvveb-nav,
nav.vvveb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu,
.nav-menu-wrapper ul {
    display: flex;
    flex-direction: row;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .vvveb-nav,
    nav.vvveb-nav {
        padding: 20px 24px;
        flex-wrap: wrap;
    }
    
    .nav-menu-wrapper {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
    }
    
    .nav-menu-wrapper.show {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax elements */
.parallax-element {
    position: absolute;
    pointer-events: none;
}

.parallax-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 1px solid var(--border);
    border-radius: 50%;
    opacity: 0.1;
}

.parallax-2 {
    bottom: 30%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--accent-gold-pale);
    border-radius: 50%;
    opacity: 0.05;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .post-card.large {
        grid-column: span 6;
        grid-row: span 1;
    }

    .post-card.small,
    .post-card.medium {
        grid-column: span 3;
    }

    .recipe-section {
        flex-direction: column;
        min-height: auto;
    }

    .recipe-image-half,
    .recipe-content-half {
        width: 100%;
    }

    .recipe-image-half {
        height: 50vh;
    }

    .recipe-content-half {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .cursor,
    .cursor-dot {
        display: none;
    }

    .vvveb-nav,
    nav.vvveb-nav {
        padding: 20px 24px;
        flex-wrap: wrap;
    }

    section {
        padding: 100px 24px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .section-number {
        font-size: 4rem;
        left: 24px;
        top: 60px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .post-card.large,
    .post-card.small,
    .post-card.medium,
    .post-card.full {
        grid-column: span 1;
    }

    .post-overlay {
        transform: translateY(0);
        opacity: 1;
        position: relative;
        padding: 24px;
        background: var(--bg-card);
    }

    .philosophy-content {
        padding: 0 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 60px 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Scroll-triggered reveal classes */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
/* The Honest Table - Custom Styles */
/* Add theme-specific overrides here */
