/* FONTS: self-hosted by fetch-fonts.js, do not hand-edit */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/bebas-neue-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/bebas-neue-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/dm-sans-300-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/dm-sans-300-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-sans-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-sans-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-sans-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-sans-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/dm-sans-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/dm-sans-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/dm-sans-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/dm-sans-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Covered By Your Grace';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/covered-by-your-grace-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Covered By Your Grace';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/covered-by-your-grace-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* END FONTS */

        :root {
            --duck-yellow: #F5A623;
            --duck-orange: #E8741E;
            --bg: #000000;
            --card: #0C0C0C;
            --surface: #111111;
            --white: #FFFFFF;
            --white-90: rgba(255,255,255,0.9);
            --white-70: rgba(255,255,255,0.7);
            --white-40: rgba(255,255,255,0.6);
            --white-15: rgba(255,255,255,0.15);
            --white-08: rgba(255,255,255,0.08);
            --white-04: rgba(255,255,255,0.04);
            --white-02: rgba(255,255,255,0.02);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--bg);
            color: var(--white-70);
            overflow-x: hidden;
        }

        /* ===== NOISE GRAIN ===== */
        .noise-overlay {
            position: fixed; inset: 0;
            pointer-events: none; z-index: 9998;
            opacity: 0.04;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        /* ===== NAVIGATION ===== */
        #navbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            padding: 0.7rem 1.5rem;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--white-08);
            transition: all 0.4s ease;
        }
        #navbar.scrolled { padding: 0.45rem 1.5rem; background: rgba(0,0,0,0.92); }
        .nav-inner {
            max-width: 1200px; margin: 0 auto;
            display: flex; align-items: center; justify-content: space-between; gap: 2rem;
        }

        .nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
        .nav-logo-img { height: 44px; width: auto; border-radius: 8px; transition: transform 0.3s ease; }
        .nav-logo:hover .nav-logo-img { transform: rotate(-5deg) scale(1.05); }

        .nav-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

        .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
        .nav-links a {
            color: var(--white-40); text-decoration: none; font-size: 0.82rem; font-weight: 500;
            letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s ease; position: relative;
        }
        .nav-links a::after {
            content: ''; position: absolute; bottom: -4px; left: 0;
            width: 0; height: 2px; background: var(--white); transition: width 0.3s ease;
        }
        .nav-links a:hover { color: var(--white); }
        .nav-links a:hover::after { width: 100%; }

        .nav-cta {
            background: var(--white) !important; color: var(--bg) !important;
            padding: 0.6rem 1.5rem; border-radius: 50px;
            font-weight: 700 !important; font-size: 0.78rem !important;
            letter-spacing: 1.5px; transition: all 0.3s ease !important;
        }
        .nav-cta:hover { background: var(--duck-yellow) !important; transform: scale(1.05); box-shadow: 0 0 30px rgba(245,166,35,0.4); }
        .nav-cta::after { display: none !important; }

        .mobile-toggle {
            display: none; flex-direction: column; align-items: center; justify-content: center;
            gap: 5px; cursor: pointer; z-index: 1001;
            width: 44px; height: 44px; padding: 0;
            background: var(--white-04); border: 1px solid var(--white-15); border-radius: 12px;
            transition: background 0.3s ease, border-color 0.3s ease;
        }
        .mobile-toggle:hover { background: var(--white-08); border-color: var(--white-40); }
        .mobile-toggle span {
            display: block; width: 20px; height: 2px; border-radius: 2px;
            background: var(--white); transition: transform 0.3s ease, opacity 0.2s ease;
        }
        .mobile-toggle[aria-expanded="true"] { background: var(--duck-yellow); border-color: var(--duck-yellow); }
        .mobile-toggle[aria-expanded="true"] span { background: var(--bg); }
        .mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
        .mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ===== HERO ===== */
        .hero {
            min-height: 100vh; display: flex; align-items: center; justify-content: center;
            position: relative; overflow: hidden; background: #000;
        }

        .hero-bg {
            position: absolute; inset: 0;
            background: #000;
        }

        /* ===== HERO BURGER DROP (pure CSS, replaces the old lamp) ===== */
        .hero-burger {
            position: relative; z-index: 6;
            display: flex; align-items: center; justify-content: center;
            min-height: 340px;
        }
        .burger-stage {
            position: relative; width: 360px; height: 300px;
            display: flex; align-items: flex-end; justify-content: center;
        }
        .burger-stack {
            position: relative; width: 360px; height: 300px;
            animation: stackBob 3.4s ease-in-out 4.3s infinite;
        }
        @keyframes stackBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

        .layer {
            position: absolute; left: 50%; opacity: 0;
            transform: translateX(-50%);
            animation: layerDrop 0.6s cubic-bezier(0.45, 0, 0.85, 1) var(--delay) both;
        }
        .layer .squash {
            display: block; transform-origin: center bottom;
            animation: layerSquash 0.62s cubic-bezier(0.22, 0.9, 0.28, 1) calc(var(--delay) + 0.46s) both;
        }
        .layer svg, .duck-mark { display: block; }

        @keyframes layerDrop {
            0%   { transform: translateX(-50%) translateY(-540px); opacity: 0; }
            14%  { opacity: 1; }
            100% { transform: translateX(-50%) translateY(0); opacity: 1; }
        }
        @keyframes layerSquash {
            0%   { transform: scaleY(1) scaleX(1); }
            18%  { transform: scaleY(0.66) scaleX(1.2); }
            44%  { transform: scaleY(1.07) scaleX(0.95); }
            68%  { transform: scaleY(0.98) scaleX(1.02); }
            100% { transform: scaleY(1) scaleX(1); }
        }

        /* per-layer resting offset, stacking order, and drop delay */
        .l1 { bottom: 14px;  z-index: 1; --delay: 0.30s; }
        .l2 { bottom: 52px;  z-index: 2; --delay: 0.72s; }
        .l3 { bottom: 72px;  z-index: 3; --delay: 1.14s; }
        .l4 { bottom: 86px;  z-index: 4; --delay: 1.56s; }
        .l5 { bottom: 100px; z-index: 5; --delay: 1.98s; }
        .l6 { bottom: 118px; z-index: 6; --delay: 2.40s; }
        .l7 { bottom: 196px; z-index: 7; --delay: 2.98s; }

        /* the duck finale: lands last, then does a cheeky double-take */
        .duck-rot {
            display: block; transform-origin: center bottom;
            animation: duckWaggle 1.5s ease-in-out calc(2.98s + 0.66s) both;
        }
        .duck-mark {
            width: 176px; height: 90px;
            -webkit-mask: var(--duck) center / contain no-repeat;
            mask: var(--duck) center / contain no-repeat;
            background: var(--duck-yellow);
        }
        @keyframes duckWaggle {
            0%   { transform: rotate(0deg); }
            18%  { transform: rotate(-11deg); }
            42%  { transform: rotate(8deg); }
            66%  { transform: rotate(-4deg); }
            84%  { transform: rotate(2deg); }
            100% { transform: rotate(0deg); }
        }

        /* plate shadow reacts to the weight landing, then breathes */
        .b-shadow {
            position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
            width: 290px; height: 40px; border-radius: 50%;
            background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%);
            z-index: 0; opacity: 0;
            animation: shadowIn 0.6s ease 0.5s forwards, shadowPulse 3.4s ease-in-out 4.3s infinite;
        }
        @keyframes shadowIn { to { opacity: 0.85; } }
        @keyframes shadowPulse {
            0%, 100% { transform: translateX(-50%) scaleX(1); }
            50%      { transform: translateX(-50%) scaleX(0.9); }
        }

        /* steam wisps rise once the burger is built */
        .steam { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); z-index: 8; pointer-events: none; }
        .steam span {
            position: absolute; bottom: 0; width: 8px; height: 60px; border-radius: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
            filter: blur(3px); opacity: 0;
            animation: steamRise 3.4s ease-out infinite;
        }
        .steam span:nth-child(1) { left: -42px; animation-delay: 4.4s; }
        .steam span:nth-child(2) { left: 0;     animation-delay: 5.0s; }
        .steam span:nth-child(3) { left: 42px;  animation-delay: 5.6s; }
        @keyframes steamRise {
            0%   { opacity: 0; transform: translateY(0) scaleX(1); }
            25%  { opacity: 0.5; }
            100% { opacity: 0; transform: translateY(-72px) scaleX(1.5); }
        }
        /* mobile hero sequence: burger fades out, headline fades in */
        @keyframes burgerOut { to { opacity: 0; } }
        @keyframes heroTextIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

        .hero-inner {
            position: relative; z-index: 7;
            display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
            gap: 1.5rem; width: 100%; max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem 0;
        }
        .hero-content {
            position: relative; z-index: 7; text-align: left; max-width: 620px;
        }

        .hero-badge {
            display: inline-block; background: var(--white-04); border: 1px solid var(--white-15);
            color: var(--white-70); padding: 0.4rem 1.2rem; border-radius: 50px;
            font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
            margin-bottom: 1.5rem;
            opacity: 0; animation: brickFadeIn 0.6s ease 2.8s forwards;
        }

        .hero h1 {
            font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 10vw, 8rem);
            line-height: 0.95; color: var(--white);
            margin-bottom: 0.5rem;
            text-shadow: 0 4px 30px rgba(0,0,0,0.5);
        }

        /* Brick lines - each line slams in from a different direction */
        .brick {
            display: block;
            opacity: 0;
            overflow: hidden;
        }

        .brick-1 {
            animation: brickFromLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
        }
        .brick-2 {
            animation: brickFromRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
        }
        .brick-3 {
            animation: brickFromLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
        }
        .brick-4 {
            animation: brickFromRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
        }

        @keyframes brickFromLeft {
            0% { opacity: 0; transform: translateX(-120%) scaleY(1.1); }
            60% { opacity: 1; transform: translateX(3%) scaleY(1); }
            80% { transform: translateX(-1%); }
            100% { opacity: 1; transform: translateX(0); }
        }

        @keyframes brickFromRight {
            0% { opacity: 0; transform: translateX(120%) scaleY(1.1); }
            60% { opacity: 1; transform: translateX(-3%) scaleY(1); }
            80% { transform: translateX(1%); }
            100% { opacity: 1; transform: translateX(0); }
        }

        @keyframes brickFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero h1 .highlight { color: var(--duck-yellow); text-shadow: 0 0 40px rgba(245,166,35,0.3); }
        .hero h1 .script {
            font-family: 'Covered By Your Grace', cursive; color: var(--duck-yellow);
            font-size: 0.55em; display: block; margin-top: -0.1em; transform: rotate(-2deg);
            opacity: 0; animation: brickFadeIn 0.8s ease 1.5s forwards;
        }

        .hero-sub {
            font-size: 1.1rem; color: var(--white-40); max-width: 550px;
            margin: 1.5rem 0; line-height: 1.7;
            opacity: 0; animation: brickFadeIn 0.6s ease 3.2s forwards;
        }

        .hero-buttons {
            display: flex; gap: 1rem; justify-content: flex-start;
            margin-top: 2rem;
            opacity: 0; animation: brickFadeIn 0.6s ease 3.6s forwards;
        }

        .btn-primary {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: var(--white); color: var(--bg);
            padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none;
            font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
            transition: all 0.3s ease; border: 2px solid var(--white);
        }
        .btn-primary:hover {
            background: var(--duck-yellow); border-color: var(--duck-yellow);
            transform: translateY(-2px); box-shadow: 0 10px 40px rgba(245,166,35,0.3);
        }

        .btn-ghost {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: transparent; color: var(--white);
            padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none;
            font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
            transition: all 0.3s ease; border: 2px solid var(--white-15);
        }
        .btn-ghost:hover { border-color: var(--white-40); background: var(--white-04); transform: translateY(-2px); }

        /* ===== STATS BAR ===== */
        .stats-bar { position: relative; z-index: 10; margin-top: -4rem; padding: 0 2rem; }
        .stats-inner {
            max-width: 1000px; margin: 0 auto; background: var(--card);
            border: 1px solid var(--white-08); border-radius: 20px;
            padding: 2rem 3rem; display: grid; grid-template-columns: repeat(4, 1fr);
            gap: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .stat-item { text-align: center; }
        .stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--white); line-height: 1; }
        .stat-label { font-size: 0.75rem; color: var(--white-40); letter-spacing: 2px; text-transform: uppercase; margin-top: 0.3rem; }

        /* ===== LEGACY ===== */
        .legacy { padding: 8rem 2rem; position: relative; overflow: hidden; }
        .legacy-watermark {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg);
            white-space: nowrap; pointer-events: none; z-index: 0;
        }
        .legacy-watermark::before {
            content: attr(data-text);
            font-family: 'Bebas Neue', sans-serif; font-size: clamp(6rem, 15vw, 16rem);
            color: var(--white-02); letter-spacing: 20px;
        }
        .legacy-grid {
            max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
            gap: 4rem; align-items: center; position: relative; z-index: 2;
        }
        .legacy-visual { position: relative; }
        .legacy-img-wrapper {
            position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5;
            box-shadow: 0 30px 80px rgba(0,0,0,0.6);
        }
        .legacy-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
        .legacy-img-wrapper::after {
            content: ''; position: absolute; inset: 0;
            border: 1px solid var(--white-08); border-radius: 20px;
        }
        .legacy-corner { position: absolute; top: -15px; left: -15px; width: 60px; height: 60px; border-top: 2px solid var(--white-15); border-left: 2px solid var(--white-15); }
        .legacy-corner-br { position: absolute; bottom: -15px; right: -15px; width: 60px; height: 60px; border-bottom: 2px solid var(--white-15); border-right: 2px solid var(--white-15); }
        .legacy-year { position: absolute; bottom: -1.5rem; right: -1.5rem; font-family: 'Bebas Neue', sans-serif; font-size: 8rem; color: var(--white-04); line-height: 1; z-index: -1; }

        .legacy-tag {
            display: inline-block; background: var(--white-04); border: 1px solid var(--white-08);
            color: var(--white-70); padding: 0.3rem 1rem; border-radius: 50px;
            font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 1.5rem;
        }
        .legacy h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); line-height: 1; margin-bottom: 1.5rem; }
        .legacy h2 .script { font-family: 'Covered By Your Grace', cursive; color: var(--duck-yellow); font-size: 0.65em; }
        .legacy-text { color: var(--white-40); line-height: 1.8; font-size: 1rem; margin-bottom: 2rem; }
        .legacy-text strong { color: var(--white-90); font-weight: 600; }

        /* ===== MENU SECTION ===== */
        .menu-section { padding: 6rem 2rem; position: relative; overflow: hidden; }
        .menu-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(var(--white-02) 1px, transparent 1px);
            background-size: 30px 30px; pointer-events: none;
        }
        .menu-section::after {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent, var(--white-08), transparent);
        }

        .section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; position: relative; z-index: 2; }
        .section-header .tag {
            display: inline-block; background: var(--white-04); border: 1px solid var(--white-08);
            color: var(--white-70); padding: 0.3rem 1rem; border-radius: 50px;
            font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
        }
        .section-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); line-height: 1.05; }
        .section-header p { color: var(--white-40); margin-top: 1rem; line-height: 1.6; }

        /* ===== MENU CARDS ===== */
        .menu-cards { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; position: relative; z-index: 2; }
        .menu-card {
            display: grid; grid-template-columns: 1fr 1fr; gap: 0;
            background: var(--card); border-radius: 24px; overflow: hidden;
            border: 1px solid var(--white-04); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); min-height: 380px;
        }
        .menu-card:hover { border-color: var(--white-15); transform: translateY(-6px); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
        .menu-card:nth-child(even) .menu-card-img { order: 2; }
        .menu-card:nth-child(even) .menu-card-body { order: 1; }

        .menu-card-img { position: relative; overflow: hidden; }
        .menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        .menu-card:hover .menu-card-img img { transform: scale(1.08); }

        .menu-card-number {
            position: absolute; top: 1rem; left: 1.2rem; z-index: 2; line-height: 1;
        }
        .menu-card-number::before {
            content: attr(data-num);
            font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: var(--white-15);
            line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        .menu-card-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
        .menu-card-body::before {
            content: ''; position: absolute; top: 1.5rem; right: 1.5rem;
            width: 30px; height: 30px; border-top: 1px solid var(--white-08); border-right: 1px solid var(--white-08);
        }
        .menu-card-body h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--white); letter-spacing: 2px; margin-bottom: 1rem; }
        .menu-card-body p { color: var(--white-40); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0.5rem; }
        .menu-card-body .menu-items { margin: 1rem 0; color: var(--white-40); font-size: 0.85rem; line-height: 1.8; }
        .menu-card-body .menu-items strong { color: var(--duck-yellow); font-weight: 600; }

        .menu-card-cta {
            display: inline-flex; align-items: center; gap: 0.5rem;
            color: var(--white); text-decoration: none; font-weight: 600;
            font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase;
            margin-top: 1.5rem; transition: all 0.3s ease;
        }
        .menu-card-cta:hover { gap: 1rem; color: var(--duck-yellow); }
        .menu-card-cta svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
        .menu-card-cta:hover svg { transform: translateX(4px); }

        /* ===== CTA BANNER ===== */
        .cta-banner { padding: 6rem 2rem; }
        .cta-inner {
            max-width: 1000px; margin: 0 auto;
            background: var(--white); border-radius: 24px;
            padding: 4rem; text-align: center; position: relative; overflow: hidden;
        }
        .cta-inner::after {
            content: '\1F986'; position: absolute; right: 3rem; top: 50%; transform: translateY(-50%);
            font-size: 8rem; opacity: 0.05;
        }
        .cta-inner h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--bg); line-height: 1; margin-bottom: 1rem; position: relative; }
        .cta-inner p { color: rgba(0,0,0,0.75); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
        .cta-btn {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: var(--bg); color: var(--white); padding: 1rem 2.5rem;
            border-radius: 50px; text-decoration: none; font-weight: 700;
            font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
            transition: all 0.3s ease; position: relative;
        }
        .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.3); background: #1a1a1a; }
        .cta-btn svg { width: 18px; height: 18px; }
        .cta-btn:hover svg { transform: translateX(3px); transition: transform 0.3s ease; }

        /* ===== REVIEWS ===== */
        .reviews-section { padding: 6rem 2rem; position: relative; }
        .reviews-section::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent, var(--white-08), transparent);
        }
        .reviews-grid { max-width: 1200px; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
        .review-card {
            background: var(--card); border: 1px solid var(--white-04); border-radius: 16px;
            padding: 2rem; transition: all 0.4s ease; position: relative; overflow: hidden;
        }
        .review-card::before {
            content: '\201C'; position: absolute; top: 0.5rem; right: 1rem;
            font-family: 'Bebas Neue', sans-serif; font-size: 5rem; color: var(--white-04); line-height: 1;
        }
        .review-card:hover { border-color: var(--white-15); transform: translateY(-4px); box-shadow: 0 15px 50px rgba(0,0,0,0.4); }
        .review-stars { color: var(--duck-yellow); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
        .review-text { color: var(--white-40); font-size: 0.9rem; line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 2; }
        .review-author { display: flex; align-items: center; gap: 0.75rem; }
        .review-avatar {
            width: 36px; height: 36px; background: var(--white-08); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.85rem; color: var(--white-70); font-weight: 700;
        }
        .review-name { font-size: 0.85rem; color: var(--white-90); font-weight: 600; }
        .review-source { font-size: 0.7rem; color: var(--white-40); }

        /* ===== INFO ===== */
        .info-section { padding: 6rem 2rem; position: relative; }
        .info-section::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent, var(--white-08), transparent);
        }
        .info-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .info-card {
            background: var(--card); border: 1px solid var(--white-04); border-radius: 20px;
            padding: 2.5rem; transition: all 0.4s ease; position: relative; overflow: hidden;
        }
        .info-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: linear-gradient(90deg, var(--white), var(--white-40)); opacity: 0; transition: opacity 0.3s ease;
        }
        .info-card:hover { border-color: var(--white-15); transform: translateY(-4px); box-shadow: 0 15px 50px rgba(0,0,0,0.4); }
        .info-card:hover::before { opacity: 1; }
        .info-icon { width: 50px; height: 50px; background: var(--white-04); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--duck-yellow); }
        .info-icon svg { width: 24px; height: 24px; }
        .info-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--white); letter-spacing: 2px; margin-bottom: 1rem; }
        .info-card p { color: var(--white-40); font-size: 0.9rem; line-height: 1.7; }
        .info-card a { color: var(--white); text-decoration: none; transition: color 0.3s ease; }
        .info-card a:hover { color: var(--duck-yellow); }
        .hours-list { list-style: none; margin-top: 0.5rem; }
        .hours-list li { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--white-04); font-size: 0.85rem; color: var(--white-40); }
        .hours-list li .day { color: var(--white-90); font-weight: 500; }
        .hours-list li.closed { opacity: 0.4; }

        /* ===== FOOTER ===== */
        footer { background: var(--card); border-top: 1px solid var(--white-04); padding: 3rem 2rem; }
        .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .footer-brand { display: flex; align-items: center; gap: 0.75rem; }
        .footer-logo { height: 36px; width: auto; border-radius: 6px; }
        .footer-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--white); letter-spacing: 2px; }
        .footer-copy { font-size: 0.75rem; color: var(--white-40); }
        .footer-powered { font-size: 0.75rem; color: var(--white-40); }
        .footer-powered a { color: var(--white); text-decoration: none; }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .info-grid, .reviews-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .mobile-toggle { display: flex; }
            .nav-links {
                position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px;
                height: 100vh; background: var(--card); flex-direction: column;
                justify-content: center; padding: 2rem; gap: 1.5rem;
                transition: right 0.4s ease; border-left: 1px solid var(--white-08);
                z-index: 1001;
            }
            .nav-links.open { right: 0; }
            .nav-links a { font-size: 1.1rem; }
            .nav-cta { padding: 0.5rem 1.1rem; font-size: 0.7rem !important; letter-spacing: 1px; }
            .legacy-grid, .menu-card { grid-template-columns: 1fr; }
            .menu-card:nth-child(even) .menu-card-img { order: 0; }
            .menu-card:nth-child(even) .menu-card-body { order: 0; }
            .menu-card-img { min-height: 220px; }
            .menu-card-body { padding: 1.5rem; }
            .menu-card-body h3 { font-size: 1.6rem; }
            .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; gap: 1rem; }
            .stat-number { font-size: 2rem; }
            .hero-buttons { flex-direction: column; align-items: center; }
            .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }

            /* Hero on mobile: burger drops centered, fades out, then the text fades in.
               Burger is taken out of flow so it can never overlap the text or overflow the width. */
            .hero { min-height: 100vh; min-height: 100svh; align-items: center; position: relative; overflow: hidden; }
            .hero h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
            .hero-inner { grid-template-columns: 1fr; gap: 0; padding: 5.5rem 1.25rem 2rem; }
            .hero-content {
                transform: none; padding: 0; text-align: center; max-width: 100%; margin: 0 auto;
                opacity: 0; animation: heroTextIn 0.9s ease 3.1s both;
            }
            .hero-content .hero-sub { margin: 1rem auto; }
            .hero-buttons { justify-content: center; }
            .hero-burger {
                position: absolute; left: 0; right: 0; top: 46%;
                transform: translateY(-50%) scale(0.92); transform-origin: center;
                min-height: 0; z-index: 6; pointer-events: none;
                animation: burgerOut 0.6s ease 2.8s forwards;
            }
            /* snappier assembly on mobile so the reveal is quick (drop + squash both key off --delay) */
            .l1 { --delay: 0.15s; }
            .l2 { --delay: 0.42s; }
            .l3 { --delay: 0.69s; }
            .l4 { --delay: 0.96s; }
            .l5 { --delay: 1.23s; }
            .l6 { --delay: 1.50s; }
            .l7 { --delay: 1.90s; }

            /* Stats bar needs less negative margin on mobile */
            .stats-bar { margin-top: 0; padding: 0 1rem; }
            .hero-sub { font-size: 0.95rem; margin: 1rem auto; }
            .hero-badge { font-size: 0.6rem; letter-spacing: 2px; padding: 0.3rem 1rem; margin-bottom: 1rem; }
            .legacy { padding: 5rem 1.5rem; }
            .legacy-visual { margin-bottom: 1rem; }
            .legacy-img-wrapper { aspect-ratio: 16/10; }
            .legacy h2 { font-size: clamp(2rem, 7vw, 3rem); }
            .legacy-text { font-size: 0.9rem; margin-bottom: 1.5rem; }
            .menu-section { padding: 4rem 1rem; }
            .section-header { margin-bottom: 2.5rem; }
            .section-header h2 { font-size: clamp(2rem, 7vw, 3rem); }
            .menu-cards { gap: 2rem; }
            .cta-inner { padding: 2.5rem 1.5rem; }
            .cta-inner h2 { font-size: clamp(2rem, 7vw, 3rem); }
            .reviews-section, .info-section { padding: 4rem 1rem; }
            .info-card { padding: 1.5rem; }
            .review-card { padding: 1.5rem; }
            .btn-primary, .btn-ghost { padding: 0.85rem 2rem; font-size: 0.85rem; width: 100%; justify-content: center; }
            .legacy .btn-primary { width: auto; }
        }
    

        /* ===== SOP additions (Phase 6/7) ===== */
        :root {
            --accent: var(--duck-yellow);
            --accent-ink: #000000;
            --text: var(--white);
            --border: 1px solid var(--white-08);
            --font-display: 'Bebas Neue', sans-serif;
            --font-body: 'DM Sans', sans-serif;
            --font-script: 'Covered By Your Grace', cursive;
            --duck: url(/images/duck.webp);
        }

        /* skip link (a11y) */
        .skip-link {
            position: absolute; left: -9999px; top: 0; z-index: 2000;
            background: var(--duck-yellow); color: #000;
            padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 700;
        }
        .skip-link:focus { left: 0; }

        /* utilities (so page markup carries no inline hex/style) */
        .mt-1 { margin-top: 1rem; }
        .mt-05 { margin-top: 0.5rem; }
        .info-note { margin-top: 1.5rem; font-size: 0.8rem; color: var(--white-40); }

        /* Local Eatz video embed in the legacy block */
        .legacy-video {
            position: relative; width: 100%; aspect-ratio: 16/9;
            border-radius: 20px; overflow: hidden;
            border: 1px solid var(--white-08);
            box-shadow: 0 30px 80px rgba(0,0,0,0.6);
        }
        .legacy-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

        /* footer rebuild: Scroll Theory credit replaces the old Woosh line */
        .footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
        .footer-nav a { font-size: 0.8rem; color: var(--white-40); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s ease; }
        .footer-nav a:hover { color: var(--white); }
        .st-credit {
            font-family: var(--font-mono, monospace);
            font-size: 0.75rem; letter-spacing: 0.02em;
            color: #fff; opacity: 0.6; text-decoration: none;
            transition: color 0.2s ease, opacity 0.2s ease;
        }
        .st-credit:hover { opacity: 1; color: #BFFF00; }
        .st-wm { font-weight: 700; }
        .st-wm u { color: #BFFF00; text-decoration: none; }

        /* legal + status pages: readable prose column on the dark shell */
        .page-wrap { max-width: 780px; margin: 0 auto; padding: 10rem 1.5rem 6rem; }
        .page-wrap h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 4rem); letter-spacing: 2px; margin-bottom: 0.5rem; }
        .page-wrap .eyebrow { display: inline-block; font-family: 'Covered By Your Grace', cursive; color: var(--duck-yellow); font-size: 1.4rem; margin-bottom: 0.5rem; }
        .page-wrap h2 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 1px; margin: 2.5rem 0 0.75rem; color: var(--white); }
        .page-wrap p, .page-wrap li { color: var(--white-70); line-height: 1.8; margin-bottom: 1rem; }
        .page-wrap ul { padding-left: 1.25rem; margin-bottom: 1rem; }
        .page-wrap a { color: var(--duck-yellow); text-decoration: none; }
        .page-wrap a:hover { text-decoration: underline; }
        .page-wrap .eff-date { color: var(--white-40); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2.5rem; }
        .status-wrap { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10rem 1.5rem 6rem; }
        .status-wrap .code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 12rem); line-height: 1; color: var(--duck-yellow); text-shadow: 0 0 60px rgba(245,166,35,0.35); }
        .status-wrap h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: 2px; margin: 1rem 0 0.75rem; }
        .status-wrap p { color: var(--white-40); max-width: 30rem; line-height: 1.7; margin-bottom: 2rem; }

        /* ===== FOOD PORN GALLERY (polaroid wall) ===== */
        .gallery-hero { text-align: center; padding: 9rem 1.5rem 2rem; max-width: 720px; margin: 0 auto; }
        .gallery-hero .eyebrow {
            display: inline-block; font-family: var(--font-script); color: var(--duck-yellow);
            font-size: 1.7rem; margin-bottom: 0.25rem; transform: rotate(-2deg);
        }
        .gallery-hero h1 {
            font-family: var(--font-display); font-size: clamp(3rem, 9vw, 6rem);
            letter-spacing: 2px; color: var(--white); line-height: 0.95; margin-bottom: 1rem;
        }
        .gallery-hero p { color: var(--white-40); line-height: 1.7; font-size: 1.05rem; }

        .gallery-wall {
            position: relative; padding: 2rem 1.5rem 5rem;
            background: radial-gradient(90% 60% at 50% 0%, rgba(245,166,35,0.06), transparent 60%);
        }
        .wall {
            max-width: 1200px; margin: 0 auto;
            display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2.4rem 1.8rem;
        }
        .polaroid {
            position: relative; background: #f5f2ea; padding: 12px 12px 0;
            border-radius: 2px; box-shadow: 0 12px 30px rgba(0,0,0,0.45);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .polaroid img {
            display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #ddd;
        }
        .polaroid figcaption {
            font-family: var(--font-script); color: #232323;
            font-size: 1.45rem; line-height: 1.05; text-align: center; padding: 0.7rem 0.4rem 0.95rem;
        }
        /* a strip of tape holding each photo to the wall */
        .polaroid::before {
            content: ""; position: absolute; top: -11px; left: 50%;
            width: 74px; height: 22px; transform: translateX(-50%) rotate(-4deg);
            background: linear-gradient(180deg, rgba(228,220,190,0.5), rgba(228,220,190,0.32));
            box-shadow: 0 1px 3px rgba(0,0,0,0.25);
        }
        .polaroid:nth-child(even)::before { transform: translateX(-50%) rotate(5deg); }
        /* scattered-on-the-wall tilts */
        .r1 { transform: rotate(-3deg); }
        .r2 { transform: rotate(2.2deg); }
        .r3 { transform: rotate(-1.4deg); }
        .r4 { transform: rotate(2.6deg); }
        .r5 { transform: rotate(-2.4deg); }
        .r6 { transform: rotate(1.3deg); }
        .polaroid:hover { transform: rotate(0deg) scale(1.045); box-shadow: 0 22px 55px rgba(0,0,0,0.6); z-index: 5; }
        @media (max-width: 768px) {
            .gallery-hero { padding: 7rem 1rem 1.5rem; }
            .gallery-wall { padding: 1.5rem 1rem 4rem; }
            /* always two columns on phones, regardless of device pixel density / width */
            .wall { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0.9rem; }
            .polaroid figcaption { font-size: 1.05rem; }
        }

        /* motion restraint: honor reduced-motion for every animation + reveal */
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
            }
            /* burger: show it fully assembled and still, no drop or steam */
            .layer { opacity: 1 !important; transform: translateX(-50%) !important; }
            .layer .squash, .duck-rot { transform: none !important; }
            .b-shadow { opacity: 0.85 !important; }
            .steam { display: none !important; }
            .brick, .hero-badge, .hero-sub, .hero-buttons, .script { opacity: 1 !important; transform: none !important; }
            .animate-on-scroll { opacity: 1 !important; transform: none !important; }
        }
        /* mobile + reduced motion: skip the sequence, show the text right away and drop the burger */
        @media (max-width: 768px) and (prefers-reduced-motion: reduce) {
            .hero { min-height: auto; }
            .hero-content { opacity: 1 !important; animation: none !important; }
            .hero-burger { display: none !important; }
        }
