/* Design Tokens & Custom Variables (User Brand Palette) */
:root {
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Colour Theme */
    --main-bg: #FFFDF7;          /* Warm Milk White */
    --secondary-bg: #F5F0E6;     /* Soft Cream */
    --text-primary: #263238;     /* Deep Charcoal */
    --text-secondary: #667277;   /* Muted Grey */
    --primary-btn: #4F8A5B;      /* Fresh Green */
    --btn-text: #FFFFFF;         /* White */
    --accent: #E8C766;           /* Creamy Yellow */
    --card-bg: rgba(255, 253, 247, 0.94); /* Glassmorphic Warm Milk White */
    
    --steel-gradient: linear-gradient(135deg, #CFD8DC 0%, #ECEFF1 40%, #B0BEC5 70%, #90A4AE 100%);
    --steel-border: 3px solid #78909C;
    --shadow-main: 0 16px 40px rgba(38, 50, 56, 0.08);
    --glass-blur: 14px;
}

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

html, body {
    width: 100%;
    height: 100vh;
    font-family: var(--font-primary);
    background-color: #1a140f;
    color: var(--text-primary);
    overflow: hidden; /* Prevent parent scrollbars */
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   RUSTIC DAIRY BARN ENVIRONMENT BACKDROP
   ========================================================================== */
#static-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Shallow Depth-of-field Blurred Barn Background Photo */
#bg-photo {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.96;
    filter: blur(4px) brightness(0.92) contrast(1.05); /* Photographic depth-of-field bokeh */
    transform: scale(1.02);
}

/* Atmospheric Vignette & Clean Low-Contrast Center */
#static-bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 253, 247, 0.05) 0%, rgba(38, 26, 16, 0.35) 70%, rgba(18, 12, 6, 0.65) 100%);
    pointer-events: none;
}

/* ==========================================================================
   GIANT STAINLESS STEEL MILK VESSEL CONTAINER (Grounded 3D Object)
   ========================================================================== */
.giant-stainless-steel-vessel {
    position: relative;
    width: 94%;
    max-width: 460px;
    height: 93vh;
    margin: 3.5vh auto;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    z-index: 10;
    filter: drop-shadow(22px 30px 24px rgba(18, 12, 6, 0.45)); /* Directional cast shadow away from morning sunlight */
}

/* 1. AUTHENTIC HOURGLASS MILK CAN CAP HEADER (Locked at Top) */
.vessel-cap-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 135px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

/* Hourglass Concave Tapered Neck Waist with Warm Sunlight Rim Lighting */
.can-cap-waist {
    position: relative;
    width: 100%;
    height: 135px;
    background: linear-gradient(135deg, #B0BEC5 0%, #FFFFFF 35%, #CFD8DC 70%, #90A4AE 100%);
    border-radius: 24px 24px 0 0;
    clip-path: polygon(0% 0%, 100% 0%, 91% 48%, 100% 100%, 0% 100%, 9% 48%);
    filter: drop-shadow(0 6px 16px rgba(18, 12, 6, 0.4));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    pointer-events: auto;
    box-shadow: inset 8px 0 14px rgba(255, 248, 220, 0.6), inset -6px 0 12px rgba(20, 14, 8, 0.35); /* Directional morning sunlight rim light */
}

.cap-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Circular Glowing Logo Container */
.logo-container {
    width: 66px;
    height: 66px;
    padding: 0.12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--primary-btn);
    border-radius: 50%;
    overflow: hidden;
    will-change: box-shadow;
    animation: pulseGlow 3.5s infinite alternate ease-in-out;
}

.brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.85), 0 0 14px rgba(79, 138, 91, 0.25);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 28px rgba(232, 199, 102, 0.45);
    }
}

.cap-brand-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.brand-title {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-btn);
    letter-spacing: 1.5px;
}

/* 2. MIDDLE VESSEL BODY (Contains Physics Milk Background + Scrolling Content) */
.vessel-scroll-body {
    position: absolute;
    top: 135px;
    bottom: 42px;
    left: 0;
    width: 100%;
    border-left: 3px solid #78909C;
    border-right: 3px solid #78909C;
    overflow-y: auto;
    z-index: 10;
    background: transparent;
    -webkit-overflow-scrolling: touch;
    box-shadow: inset 8px 0 12px rgba(255, 248, 220, 0.3), inset -6px 0 10px rgba(18, 12, 6, 0.25);
}

/* Real-time Viscous Liquid Milk Physics Canvas Background */
#milk-physics-canvas {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: block;
}

/* Overlaid Packaging Label Content (Scrolls on top of Milk) */
.packaging-label-flow {
    position: relative;
    z-index: 2;
    margin-top: -100%; /* Overlays content directly on top of sticky milk canvas! */
    width: 100%;
    padding: 1.4rem 1.4rem 2.5rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.editorial-section {
    width: 100%;
    background: var(--card-bg);
    border: 1.5px solid var(--secondary-bg);
    border-radius: 24px;
    padding: 1.8rem 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.badge-wrapper {
    display: flex;
    justify-content: center;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--secondary-bg);
    color: var(--primary-btn);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(79, 138, 91, 0.15);
}

.card-heading {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.section-subtext {
    font-size: 0.85rem;
    margin-top: -0.4rem;
    margin-bottom: 1rem;
}

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

/* 500ML MILK POUCH HERO SHOWCASE */
.pouch-hero-wrap {
    width: 100%;
    margin: 1.2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(38, 50, 56, 0.12);
    border: 2px solid var(--secondary-bg);
}

.pouch-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pouch-hero-wrap:hover .pouch-hero-img {
    transform: scale(1.03);
}

.product-pouch-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary-bg);
    border: 1px solid rgba(79, 138, 91, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    margin-top: 1rem;
}

.pouch-size-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pouch-size-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-btn);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-secondary);
}

/* Newspaper Founder Layout */
.founder-newspaper-wrap {
    overflow: hidden;
    text-align: justify;
}

.founder-img-newspaper {
    float: left;
    width: 48%;
    max-width: 170px;
    height: auto;
    border-radius: 12px;
    margin-right: 1.2rem;
    margin-bottom: 0.8rem;
    border: 1.5px solid var(--secondary-bg);
    box-shadow: var(--shadow-main);
}

.founder-quote-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 10px;
}

.founder-quote-text.highlight-text {
    color: var(--primary-btn);
    font-weight: 600;
}

.founder-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 15px;
    width: 100%;
}

.founder-name {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.founder-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Contact Button Layout — Stamped Aluminium Dairy Branding Tags */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
}

.contact-btn.alum-tag-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ECEFF1 0%, #CFD8DC 45%, #B0BEC5 100%);
    border: 2px solid #78909C;
    text-decoration: none;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    gap: 14px;
    color: var(--text-primary);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(38, 50, 56, 0.12);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn.alum-tag-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.9), 0 10px 22px rgba(38, 50, 56, 0.18);
}

.tag-rivet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #78909C;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.tag-stamp-seal {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-btn);
    border: 1.5px solid rgba(79, 138, 91, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    background: rgba(255, 253, 247, 0.6);
}

.contact-btn .btn-icon {
    font-size: 1.3rem;
}

.contact-btn .btn-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-btn .btn-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-btn);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-btn .btn-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-meta {
    border-top: 1px solid var(--secondary-bg);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.link-item {
    text-decoration: none;
    color: var(--primary-btn);
    font-weight: 600;
}

/* 3. FIXED BOTTOM METALLIC BASE RIM (Locked at Bottom) */
.vessel-base-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42px;
    z-index: 50;
    background: linear-gradient(135deg, #ECEFF1 0%, #B0BEC5 60%, #90A4AE 100%);
    border: 3px solid #78909C;
    border-top: 2px solid #78909C;
    border-radius: 0 0 24px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 8px 0 14px rgba(255, 248, 220, 0.5), inset -6px 0 12px rgba(20, 14, 8, 0.35);
}

.vessel-base-footer p {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Grounding Floor Contact Shadow & Ambient Occlusion */
.floor-contact-shadow {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-48%);
    width: 108%;
    height: 38px;
    background: radial-gradient(ellipse at center, rgba(18, 12, 6, 0.85) 0%, rgba(25, 16, 8, 0.45) 50%, rgba(0, 0, 0, 0) 80%);
    box-shadow: 25px 22px 32px rgba(15, 10, 5, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

/* --- RESPONSIVE DESKTOP --- */
@media (min-width: 1024px) {
    .giant-stainless-steel-vessel {
        max-width: 520px;
        height: 92vh;
        margin: 4vh auto;
    }
}
