body {
    font-family: 'Manrope', sans-serif;
}

:root {
    /* =========================================
       TYPOGRAPHY
       ========================================= */
    --font-manrope: 'Manrope', sans-serif;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* =========================================
       COLOR PALETTE (Material Design Base)
       ========================================= */
    --color-on-primary-fixed: #2b1700;
    --color-surface-bright: #f9f9f9;
    --color-on-secondary-fixed: #1b1c10;
    --color-on-tertiary-container: #f6fff5;
    --color-tertiary-fixed: #dae5db;
    --color-surface-container-highest: #e2e2e2;
    --color-surface-variant: #e2e2e2;
    --color-secondary-container: #e2e1cd;
    --color-surface-dim: #dadada;
    --color-error-container: #ffdad6;
    --color-secondary-fixed-dim: #c8c7b5;
    --color-on-error: #ffffff;
    --color-surface-container-lowest: #ffffff;
    --color-primary-container: #a26816;
    --color-on-surface: #1a1c1c;
    --color-surface: #f9f9f9;
    --color-surface-container-low: #f4f3f3;
    --color-on-primary-fixed-variant: #673d00;
    --color-on-surface-variant: #47473f;
    --color-on-error-container: #93000a;
    --color-on-tertiary-fixed-variant: #3f4942;
    --color-surface-container: #eeeeee;
    --color-surface-tint: #875200;
    --color-primary-fixed: #ffddba;
    --color-inverse-primary: #ffb865;
    --color-on-primary-container: #fffbff;
    --color-surface-container-high: #e8e8e8;
    --color-outline-variant: #c9c7bc;
    --color-tertiary-container: #6c776f;
    --color-on-secondary-fixed-variant: #474839;
    --color-on-secondary: #ffffff;
    --color-outline: #78776e;
    --color-secondary: #5f5f50;
    --color-error: #ba1a1a;
    --color-secondary-fixed: #e5e3d0;
    --color-on-tertiary-fixed: #141e17;
    --color-on-tertiary: #ffffff;
    --color-background: #f9f9f9;
    --color-on-secondary-container: #636454;
    --color-primary-fixed-dim: #ffb865;
    --color-on-background: #1a1c1c;
    --color-inverse-on-surface: #f1f1f1;
    --color-inverse-surface: #2f3131;
    --color-tertiary-fixed-dim: #bec9bf;
    --color-primary: #845000;
    --color-on-primary: #ffffff;
    --color-tertiary: #545f56;

    /* =========================================
       CUSTOM APPLICATION COLORS & OPACITIES
       ========================================= */
    --color-accent: #f59e0b; /* amber-500 fallback */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-bg-dark-section: #1a1c1c;

    /* Tailwing Standard Colors Extraction */
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-700: #44403c;
    --color-stone-900: #1c1917;
    --color-stone-950: #0c0a09;

    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    --color-amber-900: #78350f;

    --color-green-100: #dcfce7;
    --color-green-200: #bbf7d0;
    --color-green-600: #16a34a;

    /* Opacity Variations */
    --color-stone-50-80: rgba(250, 250, 249, 0.8);
    --color-stone-950-80: rgba(12, 10, 9, 0.8);
    
    --color-amber-500-80: rgba(245, 158, 11, 0.8);
    --color-amber-500-50: rgba(245, 158, 11, 0.5);
    --color-amber-500-30: rgba(245, 158, 11, 0.3);
    --color-amber-500-10: rgba(245, 158, 11, 0.1);
    
    --color-amber-900-40: rgba(120, 53, 15, 0.4);
    
    --color-black-30: rgba(0, 0, 0, 0.3);
    --color-white-5: rgba(255, 255, 255, 0.05);
    --color-white-10: rgba(255, 255, 255, 0.1);
    
    --color-primary-80: rgba(132, 80, 0, 0.8);
    --color-primary-50: rgba(132, 80, 0, 0.5);
    --color-primary-20: rgba(132, 80, 0, 0.2);
    --color-primary-5: rgba(132, 80, 0, 0.05);
    
    --color-error-20: rgba(186, 26, 26, 0.2);
    
    --color-stone-300-40: rgba(214, 211, 209, 0.4);
    --color-stone-700-40: rgba(68, 64, 60, 0.4);
    
    --color-green-100-50: rgba(220, 252, 231, 0.5);
    
    --color-outline-variant-20: rgba(201, 199, 188, 0.2);
    --color-outline-variant-30: rgba(201, 199, 188, 0.3);
    --color-outline-variant-50: rgba(201, 199, 188, 0.5);
    --color-outline-variant-60: rgba(201, 199, 188, 0.6);
    
    --color-outline-10: rgba(120, 119, 110, 0.1);
    --color-outline-30: rgba(120, 119, 110, 0.3);

    --color-surface-50: rgba(249, 249, 249, 0.5);
    --color-surface-80: rgba(249, 249, 249, 0.8);
    --color-error-5: rgba(186, 26, 26, 0.05);

    /* Shadow colors (based on primary) */
    --shadow-primary-15: rgba(132, 80, 0, 0.15);
    --shadow-primary-20: rgba(132, 80, 0, 0.2);
    --shadow-primary-25: rgba(132, 80, 0, 0.25);
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Footer credit editorial */
.footer-credit {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    margin-top: 24px;
    font-size: 12px;
    font-family: var(--font-sans);
    color: #A0A0A0;
    letter-spacing: 0.8px;
    text-align: center;
}

.footer-credit a {
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: rgba(0, 0, 0, 0.7);
}

.footer-credit .mf-char,
.footer-credit .mf-logo-full {
    opacity: 0;
}

.footer-credit.in-view .mf-char:nth-child(1) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.10s forwards; }
.footer-credit.in-view .mf-char:nth-child(2) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards; }
.footer-credit.in-view .mf-char:nth-child(3) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.20s forwards; }
.footer-credit.in-view .mf-char:nth-child(4) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards; }
.footer-credit.in-view .mf-char:nth-child(5) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.30s forwards; }
.footer-credit.in-view .mf-char:nth-child(6) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards; }
.footer-credit.in-view .mf-char:nth-child(7) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.40s forwards; }
.footer-credit.in-view .mf-char:nth-child(8) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards; }
.footer-credit.in-view .mf-char:nth-child(9) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.50s forwards; }
.footer-credit.in-view .mf-char:nth-child(10) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s forwards; }
.footer-credit.in-view .mf-char:nth-child(11) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.60s forwards; }
.footer-credit.in-view .mf-logo-full { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.70s forwards; }

/* =========================================
MISTERFRONT LOGO & ANIMATIONS
========================================= */
.mf-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally for footer */
    flex-wrap: wrap;
    gap: 6px;
}

.mf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Space between text and logo */
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.mf-logo-full {
    height: 1.25em; /* Scaled seamlessly relative to parent text */
    width: auto;
    display: inline-block;
    transform-origin: center;
    font-size: 1.25rem; /* Explicitly requested by user */
}

.mf-svg-white {
    fill: currentColor; /* Dynamically adapts to parent background contrast */
    transition: fill 0.3s ease;
}

.mf-svg-accent {
    fill: var(--color-accent);
    transition: fill 0.3s ease;
}

.mf-text {
    font-weight: 500;
    display: inline-flex;
}

.mf-char {
    display: inline-block;
}

@keyframes mfRevealGroup {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}