﻿:root {
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --accent-forest: #0e4e0e;
    --accent-ipa: #FFD700;
    --accent-sour: #FF69B4;
    --accent-porter: #8B4513;
    --font-main: 'Space Grotesk', sans-serif;
    --spacing-section: 100vh;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: default;
}

/* Noise Texture */
.noise-overlay {
    display: none; /* removed: was rendering as dirty-screen grain effect */
}

/* Ambient Light / Radial Gradient Background */
.ambient-light {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(10,10,10,1) 60%);
    pointer-events: none;
    z-index: -1;
    transition: background 1s ease;
}

/* Typography — scoped to home content to avoid conflicts */
#home-content h1, #home-content h2, #home-content h3 {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.9;
    font-family: 'Space Grotesk', sans-serif;
}

/* Propagate Space Grotesk to all home content */
#home-content {
    font-family: 'Space Grotesk', sans-serif;
}

/* Hero Section */
.section-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    mix-blend-mode: exclusion;
}

.vertical-type {
    display: flex;
    flex-direction: column;
    font-size: clamp(3rem, 10vw, 12rem);
    letter-spacing: -0.02em;
}

/* Outer char wrapper — clips overflow for reveal */
.vertical-type .char {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

/* Inner char — animated via GSAP */
.vertical-type .char-inner {
    display: inline-block;
}

/* Old single-span rule removed: spans no longer have opacity:0 themselves */
.vertical-type span {
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: white;
}

/* General Section Styling */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinned-section {
    overflow: hidden; 
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Forest section -- tall natural scroll, no GSAP pin needed */
.section-forest {
    display: block;
    padding: 0;
    height: 100vh;
    position: relative;
    background: linear-gradient(180deg, #020e04 0%, #061a08 100%);
}

/* Sticky video container: sticks to viewport top for the full 560vh travel.
   forest-intro and forest-products live inside here as absolute children. */
.video-bg-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0; /* GSAP controls overall fade-in/out */
}

/* Persistent dark overlay — keeps scene dark after forest-intro fades out */
.video-bg-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
    pointer-events: none;
}

#forest-video,
#forest-video-rev {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#forest-video { opacity: 1; }
#forest-video-rev { opacity: 0; }

.forest-bg-video {
    display: none; /* Hide old container */
}
/* Placeholder Video Styling */
.placeholder-video {
    display: none;
}

.forest-wrapper {
    display: block; /* Override grid */
    height: 300vh; /* Make section tall for scrolling through */
    position: relative;
    z-index: 1;
}

/* Part 1: Typography Intro */
.forest-intro {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: rgba(0,0,0,0.15);
    text-align: left;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 6vw;
}

.forest-title-large {
    font-size: clamp(3.5rem, 8vw, 10rem);
    -webkit-text-stroke: 2px #ffffff;
    color: rgba(61, 190, 90, 0); /* starts transparent, GSAP fills */
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: none;
}

/* No ::before needed — whole-text color fade handled by JS */

.forest-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
}

.forest-desc-box {
    background: rgba(0,0,0,0.6);
    padding: 2rem;
    border-left: 2px solid white;
    max-width: 400px;
    backdrop-filter: blur(5px);
    text-align: left;
}

/* Part 2: Products — full-viewport absolute.
   Flex layout removed for forest; cards are absolutely positioned individually. */
.forest-products {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    opacity: 1;
    padding: 0;
}

/* Dissolve the row/container structure inside the forest pin so each
   card can be positioned absolutely across the full viewport */
.section-forest .forest-products {
    display: block;
    padding: 0;
}

.section-forest .cards-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Dissolve row wrappers — children become direct flex items of container */
.section-forest .nepo-row {
    display: contents;
}

/* Override base glass-card: absolutely positioned, glassmorphism blur tile */
.section-forest .glass-card {
    position: absolute !important;
    width: 42vw !important;
    height: 84vh !important;
    top: 8vh;
    will-change: transform, opacity;
    background: rgba(2, 20, 6, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(34, 139, 34, 0.18);
    box-shadow: 0 8px 48px rgba(0,0,0,0.55),
                inset 0 1px 0 rgba(255,255,255,0.06);
    border-radius: 22px;
    padding: 1.5rem;
}

/* card-1: left side, centered vertically */
.section-forest .card-1 { left: 3vw; }

/* card-2: right side */
.section-forest .card-2 { right: 3vw; left: auto; }

/* card-3: centered on screen, slightly wider */
.section-forest .card-3 {
    left: 50%;
    margin-left: -25vw;
    width: 50vw !important;
    height: 86vh !important;
    top: 7vh;
    z-index: 2;
}

.section-forest .glass-card img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 60px rgba(0,0,0,0.80))
            drop-shadow(0 4px 14px rgba(0,0,0,0.55));
    transition: none;
}

.section-forest .glass-card:hover {
    box-shadow: none;
    transform: none;
}

/* Spacer between forest pin and IPA section */
.forest-ipa-spacer {
    height: 0;
    background: transparent;
    display: block;
    position: relative;
    z-index: 2;
}

/* Shared Outline Text Class */
.text-block {
     z-index: 10;
     position: relative;
}

.outline-text {
    font-size: clamp(4rem, 8vw, 10rem);
    -webkit-text-stroke: 2px white;
    color: transparent;
    transition: -webkit-text-stroke 0.5s ease;
    cursor: default;
    position: relative;
    display: inline-block;
}

/* Progressive fill via clip-path — works for ALL Unicode chars incl. Polish ogonki.
   Negative top/bottom inset gives extra room for ascenders (ó, ś, ź) and descenders.
   clip-path: inset(top right bottom left) — right shrinks as fill grows. */
.outline-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--txt-fill-color, white);
    clip-path: inset(-25% calc(100% - var(--txt-fill-w, 0%)) -25% 0);
    -webkit-clip-path: inset(-25% calc(100% - var(--txt-fill-w, 0%)) -25% 0);
    overflow: visible;
    /* pre-line: respects \n from innerText so multi-line headings (PORTER\nBAŁTYCKI)
       wrap identically to the actual element and the fill overlay aligns perfectly */
    white-space: pre-line;
    -webkit-text-stroke: 0;
    pointer-events: none;
}

.text-block p {
    font-size: 1.2rem;
    max-width: 400px;
    margin-top: 2rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Glassmorphism Cards */
/* NOTE: no backdrop-filter — Chromium skips it on opacity<1 ancestors,
   causing a sudden pop. Use shadow+tint instead for a smooth reveal. */
.glass-card {
    background: rgba(0, 18, 6, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 1rem 0.8rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Two rows (2+1) must fit inside 100vh pin — generous size, images are high-res */
    height: clamp(220px, 44vh, 520px);
    /* start invisible; GSAP fades each card in individually */
    opacity: 0;
}

.glass-card:hover {
    box-shadow: 0 0 50px rgba(34, 139, 34, 0.45),
                0 8px 40px rgba(0,0,0,0.5);
    transform: translateY(-10px);
}

/* Can images — transparent PNGs, natural aspect ratio, no crop */
.glass-card img {
    width: auto;
    max-width: 90%;
    height: 92%;
    max-height: 92%;
    object-fit: contain;
    display: block;
    margin: auto;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.7))
            drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
}

.glass-card:hover img {
    transform: scale(1.06) translateY(-8px);
}

/* 2+1 nepo layout — two separate rows */
.cards-container {
    width: 100%;
    max-width: min(90vw, 1400px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    align-items: center;
    padding: 0 2vw;
}

.nepo-row {
    display: flex;
    gap: 2vw;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nepo-row-top .glass-card {
    width: clamp(220px, 32vw, 600px);
}

.nepo-row-bottom .glass-card {
    width: clamp(220px, 32vw, 600px);
}

/* Forest section: NEPO images float freely on the video — no card panel.
   Each image fades in/out via JS (opacity); no background box visible. */
/* (forest card overrides now consolidated above in .section-forest .glass-card block) */

/* Remove stagger margins — they push the 2-row layout out of the pinned viewport */
.card-1 { margin-bottom: 0; }
.card-2 { margin-top: 0; }
.card-3 { margin-top: 0; }

/* Centring fix for nepo images */
.cards-center {
    justify-items: center;
    align-items: center;
}
.img-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-centered img {
    margin: 0 auto;
    display: block;
}

/* New Info Section Styles */
.section-info {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050505;
    position: relative;
    z-index: 2;
    padding-bottom: 10vh;
}

.centered-text-block {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.animate-text-reveal {
    font-size: 5vw;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.sub-h3 {
    font-size: 3vw;
    color: #ffd700;
    margin-top: 2rem;
}

.info-card {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 2rem;
    text-align: left;
    margin: 2rem auto;
}

.reveal-p {
    font-size: 1.5rem;
    color: #ccc;
    font-family: 'Space Grotesk', sans-serif;
     opacity: 0;
    transform: translateY(20px);
}

/* Footer Section Adjustments */
.footer-intro {
    min-height: 24vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    position: relative;
}

.final-text {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
}

.img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain for product bottles */
}


/* IPA Section — Full redesign */

.ipa-bg-layer {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.ipa-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.ipa-title-block {
    text-align: center;
    padding-top: 5vh;
}

.ipa-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,0.7);
    margin-top: 2rem;
    line-height: 1.8;
}

.ipa-styles {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2vh 0;
}

.ipa-style-tag {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: rgba(255, 215, 0, 0.9);
    padding: 0.6rem 1.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    display: inline-block;
    cursor: default;
}

.ipa-style-tag:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: #FFD700;
    color: #FFD700;
    transform: scale(1.11);
}

/* IPA products grid — 3 columns, auto-rows (handles 3 or 6 cards) */
.ipa-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 4vh;
}

/* Section taller to accommodate 6 cards */
.section-ipa {
    display: block;
    padding: 0;
    min-height: 380vh;
    position: relative;
}

.ipa-content {
    position: relative;
    z-index: 1;
    margin-top: -100vh;
    min-height: 380vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15vh 6vw 20vh;
    gap: 8vh;
}

.ipa-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s;
}

.ipa-product-card:hover {
    background: rgba(255,215,0,0.05);
    border-color: rgba(255,215,0,0.4);
    transform: translateY(-10px);
}

.ipa-can-wrap {
    /* Allow tall cans to show fully */
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipa-can-wrap img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: transform 0.4s;
}

.ipa-product-card:hover .ipa-can-wrap img {
    transform: scale(1.05) translateY(-5px);
}

.ipa-card-label {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ipa-card-style {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: #FFD700;
    text-transform: uppercase;
    font-weight: 600;
}

.ipa-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
}

/* Remove old hops classes — scoped to IPA only */
.section-ipa .full-screen-visual { display: none; }
.section-ipa .big-hops-img { display: none; }
.section-ipa .overlay-content { display: none; }

/* ==========================================
   SOUR SECTION — Particle Text Shatter
   ========================================== */
.section-sour {
    padding: 0;
    overflow: hidden;
    background: #060606;
    position: relative;
}

/* WebGL particle canvas — full section, always on top of bg */
#sour-webgl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

/* Phase-1 HTML text overlay (raspberry fill) — z-index BELOW canvas */
.sour-text-overlay {
    position: absolute;
    bottom: 12vh;
    left: 6vw;
    z-index: 2;
    transform-origin: left center; /* scatter animation scales from text anchor */
    pointer-events: none;          /* never block clicks whether visible or hidden */
}

.sour-text-overlay .outline-text {
    font-size: clamp(4rem, 9vw, 11rem);
    -webkit-text-stroke: 2px #FF69B4;
    /* Force greyscale AA to match Canvas 2D rendering — removes colour fringing
       that makes the two layers look slightly different at the swap point. */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sour-text-overlay p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1.5rem;
    max-width: 380px;
    line-height: 1.6;
}

/* Sour section — outro face card (shows after last pastry assembles) */
.sour-outro {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    transition: opacity 0.7s ease;
}
.sour-outro.visible {
    opacity: 1;
}
.sour-outro-ring {
    width: clamp(180px, 26vw, 340px);
    height: clamp(180px, 26vw, 340px);
    border-radius: 50%;
    border: 2px solid rgba(255,105,180,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(5rem, 10vw, 12rem);
    box-shadow: 0 0 60px rgba(255,20,147,0.25), inset 0 0 60px rgba(255,20,147,0.06);
    animation: sourRingPulse 2.4s ease-in-out infinite;
}
@keyframes sourRingPulse {
    0%,100% { box-shadow: 0 0 60px rgba(255,20,147,0.25), inset 0 0 60px rgba(255,20,147,0.06); transform: scale(1); }
    50%     { box-shadow: 0 0 100px rgba(255,20,147,0.45), inset 0 0 100px rgba(255,20,147,0.12); transform: scale(1.04); }
}
.sour-outro-label {
    margin-top: 2.5rem;
    font-size: clamp(0.7rem, 1.1vw, 0.9rem);
    letter-spacing: 0.5em;
    color: rgba(255,105,180,0.55);
    text-transform: uppercase;
    font-weight: 600;
}

/* NEPO 3D hint text on glass cards */
.nepo-3d-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.35em;
}
.nepo-3d-hint i {
    font-size: 0.75rem;
    color: rgba(120, 220, 120, 0.7);
}
.section-forest .glass-card:hover .nepo-3d-hint {
    color: rgba(255, 255, 255, 0.88);
}
.section-forest .glass-card:hover .nepo-3d-hint i {
    color: rgba(120, 220, 120, 1);
}

/* NEPO 3D model viewer modal */
.nepo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}
.nepo-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.nepo-modal-inner {
    position: relative;
    width: min(92vw, 860px);
    height: min(86vh, 720px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.08);
}
#nepo-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.nepo-modal-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 8px;
}
.nepo-modal-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nepo-modal-btn:hover { background: rgba(255,255,255,0.22); }
.nepo-modal-hint {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
}

/* Footer legal notice */
.footer-legal {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.22);
    font-weight: 300;
}

/* Description panel — LEFT side, gradient masks particle cloud from the right */
.sour-desc-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    display: flex;
    align-items: center;
    padding: 0 2vw 0 6vw;
    background: linear-gradient(to right, rgba(6,6,6,0.86) 50%, transparent 100%);
}

/* Individual description card — only one visible at a time (JS controls opacity) */
.sour-desc-card {
    position: absolute;
    top: 50%;
    left: 6vw;
    transform: translateY(-50%);
    opacity: 0;
    max-width: 340px;
}

.sour-desc-tag {
    display: block;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255,105,180,0.75);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.sour-desc-title {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: rgba(255,255,255,0.96);
    margin: 0 0 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sour-desc-body {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.78;
    margin: 0;
}


/* ==========================================
   DARK INTRO (before Porter)
   ========================================== */
.section-dark-intro {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    padding: 14vh 8vw;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.section-dark-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 70%, rgba(139,69,19,0.18), transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(92,45,145,0.12), transparent 50%);
    pointer-events: none;
}

.dark-intro-inner {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.dark-intro-label {
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.22);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3vh;
    opacity: 0;
    transform: translateY(20px);
}

.dark-intro-hl {
    font-size: clamp(5rem, 13vw, 17rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.85;
    color: white;
    margin-bottom: 6vh;
    /* Belt-and-suspenders: also clip at heading level so any
       browser-specific edge-case in overflow clipping is caught */
    overflow: hidden;
}

.dark-intro-line-clip {
    display: block;
    overflow: hidden;
    /* position:relative creates a proper stacking/clipping context so the
       GSAP-translated child is masked correctly across all browsers */
    position: relative;
    line-height: 0.88;
    padding-bottom: 0.06em;
}

.dark-intro-line-text {
    display: block;
    will-change: transform;
}

.dark-intro-body {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.42);
    max-width: 560px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================
   IMPERIAL STOUT SECTION
   ========================================== */
.section-stout {
    min-height: auto;
    padding: 10vh 6vw;
    display: block;
    background: #000;
}

.stout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.stout-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stout-label {
    font-size: clamp(0.65rem, 1vw, 0.82rem);
    letter-spacing: 0.38em;
    color: rgba(92,45,145,0.7);
    text-transform: uppercase;
    font-weight: 600;
}

.stout-tags {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-left: 2px solid rgba(92,45,145,0.45);
    padding-left: 1.5rem;
}

.stout-tag {
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(92,45,145,0.9);
    text-transform: uppercase;
    transition: transform 0.25s ease, color 0.25s ease;
    display: inline-block;
    cursor: default;
}

.stout-tag:hover {
    transform: scale(1.11);
    color: rgba(130, 70, 200, 1);
}

.stout-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 400px;
}

.stat-val.stout-val { color: rgba(92,45,145,0.9); }

.stout-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stout-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.15)
            drop-shadow(0 30px 60px rgba(92,45,145,0.45));
    display: block;
    margin: 0 auto;
}

/* ==========================================
   KLASYKA SECTION
   ========================================== */
.section-klasyka {
    padding: 14vh 8vw;
    background: #050505;
    display: block;
    min-height: auto;
    position: relative;
    z-index: 2;
}

.klasyka-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.klasyka-eyebrow {
    font-size: clamp(0.7rem, 1.1vw, 0.88rem);
    letter-spacing: 0.42em;
    color: rgba(232,200,126,0.45);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2.5vh;
    opacity: 0;
    transform: translateY(20px);
}

.klasyka-hl {
    font-size: clamp(4rem, 11vw, 14rem) !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 2px rgba(232,200,126,0.35) !important;
    line-height: 0.85;
    margin-bottom: 3vh;
}

.klasyka-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.32);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 8vh;
    opacity: 0;
    transform: translateY(20px);
}

.klasyka-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.klasyka-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(232,200,126,0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: border-color 0.4s, background 0.4s;
}

.klasyka-card:hover {
    background: rgba(232,200,126,0.04);
    border-color: rgba(232,200,126,0.3);
}

.klasyka-card-img {
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.klasyka-card-img img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: transform 0.4s;
}

.klasyka-card:hover .klasyka-card-img img {
    transform: scale(1.05) translateY(-5px);
}

.klasyka-card-label {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.klasyka-style {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: rgba(232,200,126,0.65);
    text-transform: uppercase;
    font-weight: 600;
}

.klasyka-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
}

/* Porter Section — tall, naturally scrollable */
.section-porter {
    min-height: auto;
    padding: 10vh 6vw;
    display: block;
}

.porter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: start; /* NOT center — so tall image can overflow */
    max-width: 1400px;
    margin: 0 auto;
}

.porter-tall-card {
    /* Allow full image height regardless of viewport */
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(139,69,19,0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible; /* KEY — does not clip */
}

.porter-full-img {
    width: 100%;
    height: auto; /* natural height, not constrained */
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0.9) contrast(1.15) drop-shadow(0 30px 60px rgba(0,0,0,0.7));
}

.porter-info {
    /* Stick to top when image scrolls past */
    position: sticky;
    top: 15vh;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 0;
}

.porter-tags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 2px solid rgba(139,69,19,0.5);
    padding-left: 1.5rem;
}

.porter-tag {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(139,69,19,0.9);
    text-transform: uppercase;
    writing-mode: horizontal-tb;
    transition: transform 0.25s ease, color 0.25s ease;
    display: inline-block;
    cursor: default;
}

.porter-tag:hover {
    transform: scale(1.11);
    color: rgba(180, 95, 30, 1);
}

.porter-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 400px;
}

.porter-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

#home-content .stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#home-content .stat-val {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(139,69,19,0.9);
}

#home-content .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
}

/* Footer */
.footer-marquee {
    position: relative;
    width: 100%;
    height: 68vh;
    background: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid #333;
    margin-top: 0;
    margin-bottom: 0;
}

.marquee-track {
    display: flex;
    gap: 0.8rem;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    width: 40vh;
    height: 58vh;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Inner padding so can is visible */
    transition: background 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.tile:hover {
    background: rgba(255,255,255,0.1);
}

.marquee-item img, .marquee-item .placeholder-img {
    width: 100%;
    height: 100%;
    /* Ensure full can is visible */
    object-fit: contain; 
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

.footer-credit {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.22);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 300;
    pointer-events: none;
    text-align: center;
}

/* ==========================================
   STYLE TRANSITION SECTION
   ========================================== */
.section-styl {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    padding: 16vh 8vw;
    position: relative;
    z-index: 2;
}

.styl-inner {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.styl-question {
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3vh;
    opacity: 0;
    transform: translateY(20px);
}

.styl-big {
    font-size: clamp(6rem, 18vw, 22rem) !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.8;
    margin-bottom: 0.05em;
    -webkit-text-stroke: 2px rgba(255,255,255,0.5) !important;
}

.styl-big.is-filled {
    -webkit-text-stroke: 2px white !important;
}

.styl-sub {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.25);
    margin-top: 6vh;
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}

/* ══════════════════════════════════════════════════════════════════════
   KRAFT BEER TIMELINE SECTION
══════════════════════════════════════════════════════════════════════ */
.section-kraft-timeline {
    background: #060606;
    padding: 14vh 6vw 16vh;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.section-kraft-timeline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,215,0,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.kt-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.kt-header {
    text-align: center;
    margin-bottom: 9vh;
}

.kt-eyebrow {
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 0.4em;
    color: rgba(255,215,0,0.55);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.kt-title {
    font-size: clamp(3.5rem, 8vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.88;
    -webkit-text-stroke: 1.5px rgba(255,215,0,0.3);
    color: transparent;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.kt-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    font-weight: 300;
    text-transform: uppercase;
}

/* Spine wrapper */
.kt-line-wrap {
    position: relative;
}

/* Central vertical line */
.kt-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255,215,0,0.25) 5%,
        rgba(255,215,0,0.25) 95%,
        transparent 100%);
    transform: translateX(-50%);
}

/* Events container */
.kt-events {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Single event */
.kt-event {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    align-items: start;
    position: relative;
    padding: 0 0 6vh;
}

/* Dot on spine */
.kt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,215,0,0.5);
    border: 1.5px solid rgba(255,215,0,0.8);
    justify-self: center;
    margin-top: 0.55rem;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.kt-dot--hero {
    width: 16px;
    height: 16px;
    background: rgba(255,215,0,0.9);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255,215,0,0.6), 0 0 40px rgba(255,215,0,0.25);
    margin-top: 0.45rem;
}

/* Date label */
.kt-date {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: rgba(255,215,0,0.7);
    line-height: 1;
    padding-top: 0.2rem;
    transition: color 0.35s ease, text-shadow 0.35s ease, letter-spacing 0.35s ease;
    cursor: default;
}

.kt-event:hover .kt-date {
    color: rgba(255,215,0,1);
    letter-spacing: -0.01em;
    text-shadow: 0 0 18px rgba(255,215,0,0.45), 0 0 40px rgba(255,215,0,0.15);
}

.kt-date--hero {
    color: #FFD700;
    font-size: clamp(2rem, 3vw, 3rem);
    text-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.kt-event--hero:hover .kt-date--hero {
    text-shadow: 0 0 28px rgba(255,215,0,0.7), 0 0 65px rgba(255,215,0,0.3);
    letter-spacing: -0.02em;
}

/* LEFT events: date right-aligned, card on right side */
.kt-event--left {
    grid-template-areas: "date dot card";
}

.kt-event--left .kt-date {
    grid-area: date;
    text-align: right;
    padding-right: 2.5vw;
}

.kt-event--left .kt-dot {
    grid-area: dot;
}

.kt-event--left .kt-card {
    grid-area: card;
    margin-left: 2.5vw;
}

/* RIGHT events: card on left side, date right-aligned from spine */
.kt-event--right {
    grid-template-areas: "card dot date";
}

.kt-event--right .kt-date {
    grid-area: date;
    text-align: left;
    padding-left: 2.5vw;
}

.kt-event--right .kt-dot {
    grid-area: dot;
}

.kt-event--right .kt-card {
    grid-area: card;
    margin-right: 2.5vw;
}

/* Card */
.kt-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 1.4rem 1.6rem 1.3rem;
    transition: border-color 0.32s ease, background 0.32s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1), box-shadow 0.32s ease;
}

.kt-card:hover {
    border-color: rgba(255,215,0,0.22);
    background: rgba(255,215,0,0.04);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 44px rgba(0,0,0,0.5), 0 2px 18px rgba(255,215,0,0.08);
}

/* Hero card (Atak Chmielu 2011) */
.kt-event--hero .kt-card {
    background: rgba(255,215,0,0.05);
    border-color: rgba(255,215,0,0.25);
    box-shadow: 0 0 40px rgba(255,215,0,0.07), inset 0 0 40px rgba(255,215,0,0.03);
}

.kt-event--hero .kt-card:hover {
    border-color: rgba(255,215,0,0.5);
    background: rgba(255,215,0,0.09);
    box-shadow: 0 16px 50px rgba(0,0,0,0.55), 0 0 60px rgba(255,215,0,0.14);
    transform: translateY(-7px) scale(1.022);
}

/* Badge on hero */
.kt-card-badge {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: #050505;
    background: rgba(255,215,0,0.9);
    padding: 0.18rem 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.kt-card-title {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

@keyframes kt-title-flicker {
    0%    { color: rgba(255,215,0,0.15); text-shadow: none; }
    9%    { color: rgba(255,215,0,0.95); text-shadow: 0 0 12px rgba(255,215,0,0.65), 0 0 28px rgba(255,215,0,0.25); }
    16%   { color: rgba(255,215,0,0.12); text-shadow: none; }
    26%   { color: rgba(255,215,0,1);    text-shadow: 0 0 16px rgba(255,215,0,0.8),  0 0 40px rgba(255,215,0,0.3); }
    33%   { color: rgba(255,215,0,0.18); text-shadow: none; }
    43%   { color: rgba(255,215,0,1);    text-shadow: 0 0 22px rgba(255,215,0,0.9),  0 0 52px rgba(255,215,0,0.4); }
    52%   { color: rgba(255,215,0,0.88); text-shadow: 0 0 8px rgba(255,215,0,0.35); }
    100%  { color: rgba(255,215,0,0.95); text-shadow: 0 0 10px rgba(255,215,0,0.22); }
}

.kt-event--hero .kt-card-title {
    color: rgba(255,215,0,0.95);
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    letter-spacing: 0.04em;
}

/* Ignite animation — triggered by .kt-lit class added via IntersectionObserver */
.kt-hero-title {
    color: rgba(255,215,0,0.15);
}

.kt-hero-title.kt-lit {
    animation: kt-title-flicker 2.6s cubic-bezier(0.4,0,0.6,1) 1 forwards;
}

/* HISTORIA headline flicker — same pattern as 2011 Pinta (kt-title-flicker) but on stroke */
@keyframes kt-header-glow {
    0%    { -webkit-text-stroke: 1.5px rgba(255,215,0,0.15); text-shadow: none; }
    9%    { -webkit-text-stroke: 1.5px rgba(255,215,0,0.95); text-shadow: 0 0 12px rgba(255,215,0,0.65), 0 0 28px rgba(255,215,0,0.25); }
    16%   { -webkit-text-stroke: 1.5px rgba(255,215,0,0.12); text-shadow: none; }
    26%   { -webkit-text-stroke: 1.5px rgba(255,215,0,1);    text-shadow: 0 0 16px rgba(255,215,0,0.8),  0 0 40px rgba(255,215,0,0.3); }
    33%   { -webkit-text-stroke: 1.5px rgba(255,215,0,0.18); text-shadow: none; }
    43%   { -webkit-text-stroke: 1.5px rgba(255,215,0,1);    text-shadow: 0 0 22px rgba(255,215,0,0.9),  0 0 52px rgba(255,215,0,0.4); }
    52%   { -webkit-text-stroke: 1.5px rgba(255,215,0,0.88); text-shadow: 0 0 8px rgba(255,215,0,0.35); }
    100%  { -webkit-text-stroke: 1.5px rgba(255,215,0,0.72); text-shadow: 0 0 8px rgba(255,215,0,0.12); }
}

.kt-title.kt-lit {
    animation: kt-header-glow 2.6s cubic-bezier(0.4,0,0.6,1) 1 forwards;
}

/* 2011 hero card glow — animated by parent .kt-event--hero.kt-lit */
@keyframes kt-card-glow {
    0%   { border-color: rgba(255,215,0,0.05); box-shadow: none; }
    15%  { border-color: rgba(255,215,0,0.85); box-shadow: 0 0 28px rgba(255,215,0,0.45), inset 0 0 28px rgba(255,215,0,0.08); }
    28%  { border-color: rgba(255,215,0,0.06); box-shadow: none; }
    48%  { border-color: rgba(255,215,0,1);    box-shadow: 0 0 42px rgba(255,215,0,0.55), inset 0 0 42px rgba(255,215,0,0.12); }
    66%  { border-color: rgba(255,215,0,0.5);  box-shadow: 0 0 18px rgba(255,215,0,0.2); }
    100% { border-color: rgba(255,215,0,0.25); box-shadow: 0 0 40px rgba(255,215,0,0.07), inset 0 0 40px rgba(255,215,0,0.03); }
}

.kt-event--hero.kt-lit .kt-card {
    animation: kt-card-glow 2.8s cubic-bezier(0.4,0,0.6,1) 1 forwards;
}

.kt-card-text {
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.42);
    font-weight: 300;
    margin-bottom: 0.9rem;
}

.kt-card-text strong {
    color: rgba(255,215,0,0.8);
    font-weight: 600;
}

.kt-card-tag {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: rgba(255,215,0,0.4);
    text-transform: uppercase;
    font-weight: 600;
    border-top: 1px solid rgba(255,215,0,0.12);
    padding-top: 0.6rem;
    width: 100%;
}

/* Hover dot glow */
.kt-event:hover .kt-dot {
    background: rgba(255,215,0,0.85);
    box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

/* Responsive — mobile: single column */
@media (max-width: 768px) {
    .kt-spine {
        left: 16px;
    }

    .kt-event,
    .kt-event--left,
    .kt-event--right {
        grid-template-columns: 28px 1fr;
        grid-template-areas:
            "dot header"
            ". card";
        gap: 0 1rem;
    }

    .kt-event--left .kt-date,
    .kt-event--right .kt-date {
        grid-area: header;
        text-align: left;
        padding: 0;
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .kt-event--left .kt-dot,
    .kt-event--right .kt-dot {
        grid-area: dot;
        justify-self: start;
        margin-top: 0.15rem;
    }

    .kt-event--left .kt-card,
    .kt-event--right .kt-card {
        grid-area: card;
        margin: 0.5rem 0 0 0;
    }

    .section-kraft-timeline {
        padding: 10vh 6vw 12vh;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding-top: 4rem;
        display: flex;
        flex-direction: column;
    }
    
    .overlay-content {
        justify-content: center;
    }
    
    .forest-title-large {
        font-size: 20vw;
    }

    .cards-container {
        height: auto;
    }
    
    .card-3 {
        width: 100%;
    }

    .porter-visual {
        height: 50vh;
        margin-top: 2rem;
    }
    
    .forest-products {
        position: relative;
        top: 0;
        height: auto;
        padding-top: 100px;
        opacity: 1;
    }
    
    .forest-wrapper {
        height: auto;
    }
}

/* ── Page-end breathing room ─────────────────────────────────────── */
.page-end-spacer {
    height: 35vh;
    background: black;
    position: relative;   /* anchor for .footer-credit absolute positioning */
}



/* ═══════════════════════════════════════════════════════════════════
   HOVER MICRO-INTERACTIONS — smaller text elements
   Large headline outline-text elements are intentionally excluded.
═══════════════════════════════════════════════════════════════════ */

/* IPA product cards — card name + style label */
.ipa-card-name {
    transition: color 0.22s ease, letter-spacing 0.22s ease;
}
.ipa-card-name:hover {
    color: rgba(255,255,255,1);
    letter-spacing: 0.09em;
    text-shadow: 0 0 14px rgba(255,215,0,0.35);
}

.ipa-card-style {
    transition: color 0.22s ease, opacity 0.22s ease;
}
.ipa-card-style:hover {
    color: #ffe566;
    opacity: 1;
}

/* IPA subtitle paragraph */
.ipa-subtitle {
    transition: color 0.25s ease;
}
.ipa-subtitle:hover {
    color: rgba(255,255,255,0.92);
}

/* Porter description & stat values */
.porter-desc {
    transition: color 0.25s ease;
}
.porter-desc:hover {
    color: rgba(255,255,255,0.85);
}

#home-content .porter-stats .stat {
    transition: transform 0.22s ease, opacity 0.22s ease;
    cursor: default;
}
#home-content .porter-stats .stat:hover {
    transform: translateY(-3px) scale(1.06);
    opacity: 1;
}

/* Stout description & stat values */
.stout-desc {
    transition: color 0.25s ease;
}
.stout-desc:hover {
    color: rgba(255,255,255,0.85);
}

#home-content .stout-stats .stat {
    transition: transform 0.22s ease, opacity 0.22s ease;
    cursor: default;
}
#home-content .stout-stats .stat:hover {
    transform: translateY(-3px) scale(1.06);
    opacity: 1;
}

/* Stat labels everywhere */
#home-content .stat-label {
    transition: color 0.22s ease;
}
#home-content .stat-label:hover {
    color: rgba(255,255,255,0.6);
}

/* Stout top label */
.stout-label {
    transition: color 0.22s ease, letter-spacing 0.22s ease;
}
.stout-label:hover {
    color: rgba(130,70,200,1);
    letter-spacing: 0.44em;
}
