:root {
    /* Family Friendly Fresh Bakery Palette */
    --charcoal: #FAF6F0; /* Soft warm dough / creamy off-white */
    --dark-charcoal: #FFFFFF; /* Clean white for cards */
    --deep-plum: #F2C4CE; /* Soft dusty pink */
    --plum-accent: #E8A8B6; /* Slightly darker pink for accents */
    --cream: #5A4A42; /* Soft dark brown for typography */
    --blush: #EFA899; /* Peachy bakery warmth */
    --blush-hover: #DF9080;
    --gold: #DCA265; /* Warm caramel / baked golden brown */
    --border-color: rgba(90, 74, 66, 0.1); /* light brown border */
    --border-glow: rgba(90, 74, 66, 0.2);
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-hand: 'Caveat', cursive;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--charcoal);
    /* Subtly textured background */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--cream);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, .brand, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { color: rgba(90, 74, 66, 0.85); }

.handwritten-title {
    font-family: var(--font-hand);
    font-size: 3.5rem;
    color: var(--blush);
    transform: rotate(-2deg);
    margin-bottom: 1rem;
}

/* ---------- Utilities ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: 6rem 0; }
.text-center { text-align: center; }
.mt-xl { margin-top: 4rem; }

/* ---------- Fade-in on Scroll ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--deep-plum);
    border: 1px solid var(--blush);
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Navbar ---------- */
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(90, 74, 66, 0.14);
    box-shadow: 0 8px 30px rgba(90, 74, 66, 0.08);
}

.navbar .logo {
    font-size: 1.5rem;
    color: var(--blush);
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    margin-left: 0;
    font-weight: 300;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding-bottom: 2px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--blush);
    border-bottom: 1px solid var(--blush);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--cream);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 30px; /* Softer, pill-shaped buttons */
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.primary-btn {
    background-color: var(--blush);
    color: var(--dark-charcoal);
}

.primary-btn:hover {
    background-color: var(--blush-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(229, 201, 197, 0.3);
}

.primary-btn.outline {
    background-color: transparent;
    border: 1px solid var(--blush);
    color: var(--blush);
}

.primary-btn.outline:hover {
    background-color: rgba(229, 201, 197, 0.1);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.full-width { width: 100%; }

.hero {
    min-height: 75vh;
    padding-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: none;
    overflow: hidden;
}

.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 20;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(239, 168, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(232, 168, 182, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(220, 162, 101, 0.1) 0%, transparent 40%);
    animation: heroShift 12s ease-in-out infinite alternate;
    opacity: 0.9;
}

@keyframes heroShift {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.05) translate(-10px, 5px); }
    100% { transform: scale(1.02) translate(10px, -5px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 0 2rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(90, 74, 66, 0.8);
    margin-bottom: 2.5rem;
}

/* ---------- How It Works ---------- */
.how-it-works-section {
    background: linear-gradient(180deg, var(--dark-charcoal) 0%, var(--charcoal) 100%);
    border-bottom: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--dark-charcoal); /* Solid white for readability */
    border: 2px dashed var(--gold); /* Homey bakery feel */
    border-radius: 20px; /* Softer card edges */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 74, 66, 0.05); /* Cozy lift */
    position: relative;
    overflow: hidden;
}

.weekly-card,
.testimonial-card,
.pup-card {
    text-align: center;
}

.step-card p {
    color: var(--cream);
    font-size: 1.1rem;
    line-height: 1.6;
}

.step-card:hover {
    border-color: var(--blush);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(229, 201, 197, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.baker-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px dashed var(--plum-accent);
    box-shadow: 0 8px 20px rgba(90, 74, 66, 0.22);
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.weekly-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
}

.weekly-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.7rem;
    background: rgba(90, 74, 66, 0.08);
}

.weekly-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--gold);
    background: linear-gradient(135deg, rgba(239, 168, 153, 0.2), rgba(220, 162, 101, 0.25));
}

.weekly-img-placeholder span {
    font-weight: 600;
    color: rgba(90, 74, 66, 0.85);
}

.weekly-next-wrap {
    margin: 1rem auto 2rem;
    max-width: 800px;
}

.next-week-flavors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.next-week-pill {
    background: rgba(239, 168, 153, 0.2);
    border: 1px dashed var(--gold);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
}

.fan-vote-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.3rem;
    text-align: center;
}

.fan-vote-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    justify-items: center;
}

.fan-vote-option {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.fan-vote-result {
    margin-top: 1rem;
}

#fan-vote-form .btn {
    display: block;
    margin: 0.75rem auto 0;
}

/* ---------- Pricing Banner ---------- */
.pricing-banner {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed var(--gold); /* Homey bakery feel */
    border-radius: 30px; /* Softer shape */
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    box-shadow: 0 4px 15px rgba(90, 74, 66, 0.05);
}

/* Organic blob decoration behind pricing banner */
.pricing-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 169, 110, 0.05), transparent 60%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
}

.price-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--blush);
    display: block;
    min-width: 100px;
    min-height: 2.4rem;
}

.price-subtext {
    font-size: 0.85rem;
    color: rgba(90, 74, 66, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skeleton shimmer */
.skeleton-shimmer {
    background: linear-gradient(90deg, rgba(229,201,197,0.1) 25%, rgba(229,201,197,0.25) 50%, rgba(229,201,197,0.1) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ---------- Build a Box Tracker ---------- */
.box-tracker-container {
    background-color: var(--dark-charcoal);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: rgba(229, 201, 197, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--plum-accent), var(--blush));
    transition: width 0.4s ease;
    border-radius: 4px;
}

/* Barker's Dozen Reveal */
.reward-banner {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(58, 26, 59, 0.6);
    border: 1px dashed var(--blush);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: rewardPop 0.5s ease;
}

.hidden { display: none !important; }

.reward-icon { font-size: 3rem; }

.reward-text h3 {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    color: var(--blush);
    margin-bottom: 0.2rem;
}

@keyframes rewardPop {
    0% { opacity: 0; transform: scale(0.9); }
    50% { transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

/* ---------- Flavors Grid ---------- */
.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.flavor-card {
    background-color: var(--dark-charcoal);
    border: 2px dashed rgba(220, 162, 101, 0.4); /* Dashed artisanal border */
    border-radius: 24px; /* Soften flavor cards */
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(90, 74, 66, 0.05); /* Cozy homey lift */
    user-select: none;
    position: relative;
}

.flavor-card:hover {
    border-color: rgba(229, 201, 197, 0.4);
}

/* Selected glow state */
.flavor-card.selected {
    border-color: var(--blush);
    box-shadow: 0 0 20px rgba(229, 201, 197, 0.15), inset 0 0 30px rgba(229, 201, 197, 0.03);
}

.flavor-img-placeholder {
    height: 200px;
    background-color: var(--charcoal); /* light cream inner */
    border-radius: 16px; /* Soft inner radius */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 0.85rem;
    border: 1px dashed var(--border-color);
}

.flavor-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.flavor-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.ctrl-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--cream);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ctrl-btn:hover {
    border-color: var(--blush);
    color: var(--blush);
    background-color: rgba(229, 201, 197, 0.08);
}

.flavor-count {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

/* Delivery Toggle */
.delivery-toggle {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.toggle-label {
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(90, 74, 66, 0.7);
    transition: color 0.3s;
}

.toggle-label:has(input:checked) {
    color: var(--blush);
}

.toggle-label input {
    margin-right: 0.5rem;
    accent-color: var(--blush);
}

.checkout-actions { text-align: center; }

.flavor-preferences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.flavor-pref-option {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.92rem;
}

#build-box .inspo-form-card {
    text-align: center;
}

#curate-form .form-group label {
    text-align: center;
}

#curate-form input[type="text"],
#curate-form input[type="email"],
#curate-form input[type="number"],
#curate-form textarea {
    text-align: center;
}

#curate-form .flavor-preferences {
    justify-items: center;
    text-align: center;
}

#curate-form .flavor-pref-option {
    justify-content: center;
}

#curate-form .file-upload-zone {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

#curate-form .promo-box {
    text-align: center;
}

#curate-form .full-width {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--dark-charcoal) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px; /* Softer borders */
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover {
    border-color: rgba(229, 201, 197, 0.4);
    transform: translateY(-2px);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(90, 74, 66, 0.9);
}

.testimonial-author {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--blush);
}

/* ---------- Split Layout / Corporate Section ---------- */
.corporate-section {
    background-color: #F4EBE1; /* Slightly warmer cream */
    border-top: 1px solid var(--border-color);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quality-badge {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--blush);
}

/* ---------- Quote Form ---------- */
.inspo-form-card {
    background-color: var(--dark-charcoal);
    padding: 2.5rem;
    border-radius: 24px; /* Softer form container */
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(90, 74, 66, 0.12);
}

.form-desc {
    color: rgba(90, 74, 66, 0.6);
    margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: rgba(90, 74, 66, 0.8);
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select.form-select {
    width: 100%;
    padding: 0.85rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

select.form-select option,
select.form-select optgroup {
    background-color: var(--dark-charcoal);
    color: var(--cream);
}

input:focus, textarea:focus, select.form-select:focus {
    outline: none;
    border-color: var(--blush);
    box-shadow: 0 0 0 3px rgba(229, 201, 197, 0.1);
}

.file-upload-zone {
    border: 2px dashed var(--border-color);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-zone:hover, .file-upload-zone:focus-within {
    border-color: var(--blush);
    background-color: rgba(229, 201, 197, 0.05);
}

.file-upload-zone.file-attached {
    border-color: var(--gold);
    background-color: rgba(201, 169, 110, 0.08);
}

.hidden-file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-text { color: rgba(90, 74, 66, 0.5); }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input {
    margin-top: 4px;
    accent-color: var(--blush);
}
.checkbox-group label { margin-bottom: 0; font-size: 0.9rem; }

.success-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(229, 201, 197, 0.1);
    border: 1px solid var(--blush);
    border-radius: 8px;
    animation: rewardPop 0.4s ease;
}

.success-message h4 {
    color: var(--blush);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
}

/* ---------- Gallery ---------- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0 3rem;
}

.filter-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--blush);
    color: var(--blush);
}

.filter-btn.active {
    background-color: var(--blush);
    color: var(--dark-charcoal);
    border-color: var(--blush);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem; /* room for offset */
}

.gallery-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Staggered masonry effect for even children */
.gallery-grid .gallery-item:nth-child(even) {
    transform: translateY(30px);
}
.gallery-grid .gallery-item:nth-child(even).hide {
    transform: scale(0.8); /* cancel offset on hide */
}

/* Real Images */
.gallery-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(229, 201, 197, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: var(--gold);
}

.gallery-placeholder {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(90, 74, 66, 0.4);
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    border-color: rgba(229, 201, 197, 0.4);
    background-color: rgba(229, 201, 197, 0.03);
}

.gallery-placeholder span { font-size: 2rem; }
.gallery-placeholder p { font-size: 0.85rem; }

.process-placeholder { height: 200px; }

/* ---------- Team Page ---------- */
.story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: center;
}

.placeholder-box {
    background-color: rgba(90, 74, 66, 0.05);
    border: 2px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

.placeholder-box.tall { height: 500px; border-radius: 8px; }
.placeholder-box.circle { height: 200px; width: 200px; border-radius: 50%; margin: 0 auto 1.5rem; }

.team-photo-large {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px dashed var(--gold);
    box-shadow: 0 10px 24px rgba(90, 74, 66, 0.12);
}

.team-photo-circle {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 50%;
    border: 2px dashed var(--gold);
    box-shadow: 0 10px 24px rgba(90, 74, 66, 0.12);
    margin: 0 auto 1.25rem;
}

.team-photo-pup {
    object-fit: contain;
    object-position: center;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 235, 225, 0.95));
}

.quote-hero-image {
    width: min(100%, 500px);
    max-height: 280px;
    object-fit: cover;
    border-radius: 22px;
    border: 2px dashed var(--gold);
    box-shadow: 0 10px 25px rgba(90, 74, 66, 0.16);
}

.story-content p { margin-bottom: 1rem; }

.signature {
    margin-top: 2rem;
    font-family: var(--font-hand);
    font-size: 2.2rem;
    color: var(--blush);
    line-height: 1.2;
}

.pups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 6rem;
}

.pup-card {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--dark-charcoal);
    border-radius: 20px;
    border: 2px dashed var(--gold);
    box-shadow: 0 4px 15px rgba(90, 74, 66, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.pup-card:hover {
    border-color: rgba(229, 201, 197, 0.4);
    transform: translateY(-4px);
}

.pup-role {
    font-family: var(--font-hand);
    color: var(--blush);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--dark-charcoal);
    text-align: center;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--blush);
    margin-bottom: 0.5rem;
}

.footer-email {
    color: var(--blush);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover { color: var(--blush-hover); }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    color: rgba(90, 74, 66, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    color: var(--blush);
    border-color: var(--blush);
    transform: translateY(-2px);
}

.pup-approved {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--plum-accent);
    border-radius: 50px;
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: rgba(90, 74, 66, 0.8);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Fun Stuff ---------- */
.paw-print {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    filter: drop-shadow(0 3px 7px rgba(90, 74, 66, 0.25));
}

/* Hover tilt/squish effect for cards */
.flavor-card, .step-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.flavor-card:hover, .step-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(90, 74, 66, 0.15); /* Lighter shadow */
    border-color: var(--gold);
}
.flavor-card:active {
    transform: scale(0.97); /* Tactile Dough Squish Effect */
}

/* Jessica's Favorite Badge */
.jessica-badge {
    position: absolute;
    top: -15px;
    right: -10px;
    background-color: var(--gold);
    color: var(--dark-charcoal);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    transform: rotate(5deg);
    box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.hero-content h1 {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ---------- Responsive ---------- */
@media(max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: 72px;
        padding: 0.75rem 1rem;
    }

    .navbar .logo {
        font-size: 2rem;
        line-height: 1;
        padding: 0 2.8rem;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 0.85rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 300;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 50%;
        transform: translateX(-50%);
        width: min(92vw, 380px);
        background-color: rgba(18, 17, 20, 0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0.85rem;
        gap: 0.55rem;
        border-radius: 16px;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
        z-index: 260;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        margin-left: 0;
        font-size: 1.02rem;
        display: inline-block;
        width: 100%;
        text-align: center;
        min-width: 0;
        padding: 0.65rem 0.8rem;
        border: 1px solid rgba(239, 168, 153, 0.45);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--blush);
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-bottom: none;
        border-color: var(--blush);
        box-shadow: 0 0 0 2px rgba(239, 168, 153, 0.2);
    }

    .split-layout, .story-split, .pups-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .weekly-grid {
        grid-template-columns: 1fr;
    }

    .fan-vote-options,
    .flavor-preferences {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero { height: 60vh; }

    .delivery-toggle {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media(max-width: 480px) {
    .navbar .logo {
        font-size: 1.85rem;
        padding: 0 2.4rem;
    }

    .nav-links a {
        font-size: 0.98rem;
        padding: 0.62rem 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .navbar { padding: 0.7rem 0.9rem; }
}
