{"version":3,"file":"shared-lib.CE4moqGu.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/S0ycf1e4TjrszAxjfbuX/EFqmkr8j1ki3Q6h7YkHV/Nav.js","https:/framerusercontent.com/modules/iTUtYpLivWQTYbcnMXy0/a32xHmLg60kDe83cK7oN/siteMetadata.js"],"sourcesContent":["// Proof.ag — Nav Component with Hamburger Menu\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";const t={green:\"#2E5D4B\",greenLight:\"#3D7A62\",charcoal:\"#2E313D\",charcoalMid:\"#3A4040\",warmGrey:\"#7A7468\",stone:\"#F4F0E8\",stoneDark:\"#E8E2D4\",stoneMid:\"#D4CCBA\",white:\"#FFFFFF\"};const styles=`\n    @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');\n\n    * { box-sizing: border-box; }\n\n    .proof-nav {\n        position: fixed;\n        top: 0;\n        left: 0;\n        right: 0;\n        z-index: 1000;\n        height: 64px;\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n        padding: 0 48px;\n        background: rgba(244, 240, 232, 0.96);\n        backdrop-filter: blur(16px);\n        -webkit-backdrop-filter: blur(16px);\n        border-bottom: 1px solid ${t.stoneMid};\n        width: 100%;\n    }\n\n    /* ── LOGO ── */\n    .nav-logo {\n        display: flex;\n        align-items: baseline;\n        text-decoration: none;\n        cursor: pointer;\n        flex-shrink: 0;\n    }\n\n    .nav-logo-text {\n        font-family: 'Aileron', 'Nunito', sans-serif;\n        font-weight: 900;\n        font-size: 1.4rem;\n        color: ${t.charcoal};\n        letter-spacing: -0.02em;\n        line-height: 1;\n    }\n\n    .nav-logo-dot { color: ${t.green}; }\n\n    /* ── DESKTOP NAV ── */\n    .nav-right {\n        display: flex;\n        align-items: center;\n        gap: 36px;\n    }\n\n    .nav-links {\n        display: flex;\n        align-items: center;\n        gap: 36px;\n        list-style: none;\n        margin: 0;\n        padding: 0;\n    }\n\n    .nav-links a {\n        font-family: 'DM Sans', sans-serif;\n        font-size: 0.72rem;\n        font-weight: 400;\n        color: ${t.charcoalMid};\n        text-decoration: none;\n        letter-spacing: 0.08em;\n        text-transform: uppercase;\n        transition: color 0.2s;\n        white-space: nowrap;\n    }\n\n    .nav-links a:hover { color: ${t.green}; }\n\n    .nav-cta {\n        background: ${t.green};\n        color: ${t.white};\n        padding: 9px 20px;\n        border-radius: 2px;\n        font-family: 'DM Sans', sans-serif;\n        font-size: 0.72rem;\n        font-weight: 500;\n        letter-spacing: 0.06em;\n        text-transform: uppercase;\n        text-decoration: none;\n        transition: background 0.2s;\n        white-space: nowrap;\n        cursor: pointer;\n        flex-shrink: 0;\n        display: inline-block;\n    }\n\n    .nav-cta:hover { background: ${t.greenLight}; }\n\n    /* ── HAMBURGER BUTTON ── */\n    .hamburger {\n        display: none;\n        flex-direction: column;\n        justify-content: center;\n        align-items: center;\n        gap: 5px;\n        width: 40px;\n        height: 40px;\n        background: none;\n        border: none;\n        cursor: pointer;\n        padding: 4px;\n        z-index: 1100;\n        flex-shrink: 0;\n    }\n\n    .hamburger-line {\n        display: block;\n        width: 22px;\n        height: 2px;\n        background: ${t.charcoal};\n        border-radius: 1px;\n        transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;\n        transform-origin: center;\n    }\n\n    .hamburger.open .hamburger-line:nth-child(1) {\n        transform: translateY(7px) rotate(45deg);\n    }\n\n    .hamburger.open .hamburger-line:nth-child(2) {\n        opacity: 0;\n        width: 0;\n    }\n\n    .hamburger.open .hamburger-line:nth-child(3) {\n        transform: translateY(-7px) rotate(-45deg);\n    }\n\n    /* ── MOBILE DRAWER ── */\n    .mobile-drawer {\n        position: fixed;\n        top: 0;\n        right: 0;\n        bottom: 0;\n        width: 80vw;\n        max-width: 320px;\n        background: ${t.stone};\n        z-index: 1050;\n        transform: translateX(100%);\n        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);\n        display: flex;\n        flex-direction: column;\n        padding: 88px 40px 48px;\n        border-left: 1px solid ${t.stoneMid};\n        overflow-y: auto;\n    }\n\n    .mobile-drawer.open {\n        transform: translateX(0);\n    }\n\n    /* ── OVERLAY ── */\n    .mobile-overlay {\n        position: fixed;\n        inset: 0;\n        background: rgba(46, 49, 61, 0.4);\n        z-index: 1040;\n        opacity: 0;\n        pointer-events: none;\n        transition: opacity 0.35s ease;\n    }\n\n    .mobile-overlay.open {\n        opacity: 1;\n        pointer-events: all;\n    }\n\n    /* ── MOBILE MENU LINKS ── */\n    .mobile-links {\n        list-style: none;\n        margin: 0;\n        padding: 0;\n        display: flex;\n        flex-direction: column;\n        gap: 0;\n        flex: 1;\n    }\n\n    .mobile-links li {\n        border-bottom: 1px solid ${t.stoneDark};\n    }\n\n    .mobile-links a {\n        display: block;\n        font-family: 'DM Sans', sans-serif;\n        font-size: 0.88rem;\n        font-weight: 400;\n        color: ${t.charcoalMid};\n        text-decoration: none;\n        letter-spacing: 0.1em;\n        text-transform: uppercase;\n        padding: 18px 0;\n        transition: color 0.2s;\n    }\n\n    .mobile-links a:hover { color: ${t.green}; }\n\n    .mobile-cta {\n        margin-top: 32px;\n        background: ${t.green};\n        color: ${t.white};\n        padding: 14px 24px;\n        border-radius: 2px;\n        font-family: 'DM Sans', sans-serif;\n        font-size: 0.82rem;\n        font-weight: 500;\n        letter-spacing: 0.06em;\n        text-transform: uppercase;\n        text-decoration: none;\n        text-align: center;\n        display: block;\n        transition: background 0.2s;\n    }\n\n    .mobile-cta:hover { background: ${t.greenLight}; }\n\n    .mobile-tagline {\n        margin-top: 32px;\n        font-family: 'DM Mono', monospace;\n        font-size: 0.6rem;\n        color: ${t.stoneMid};\n        letter-spacing: 0.08em;\n        text-transform: uppercase;\n        line-height: 1.6;\n    }\n\n    /* ── RESPONSIVE ── */\n    @media (max-width: 800px) {\n        .proof-nav {\n            padding: 0 24px;\n        }\n\n        .nav-right {\n            display: none;\n        }\n\n        .hamburger {\n            display: flex;\n        }\n    }\n\n    @media (min-width: 801px) {\n        .mobile-drawer,\n        .mobile-overlay {\n            display: none !important;\n        }\n    }\n`;export default function Nav(){const[open,setOpen]=useState(false);const close=()=>setOpen(false);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:64},children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsxs(\"nav\",{className:\"proof-nav\",children:[/*#__PURE__*/_jsx(\"a\",{className:\"nav-logo\",href:\"/\",children:/*#__PURE__*/_jsxs(\"span\",{className:\"nav-logo-text\",children:[\"Proof\",/*#__PURE__*/_jsx(\"span\",{className:\"nav-logo-dot\",children:\".\"})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"nav-right\",children:[/*#__PURE__*/_jsxs(\"ul\",{className:\"nav-links\",children:[/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/how-it-works\",children:\"How It Works\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/enterprises\",children:\"Enterprises\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/proof-records\",children:\"Proof Records\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/about\",children:\"About\"})})]}),/*#__PURE__*/_jsx(\"a\",{className:\"nav-cta\",href:\"/apply-to-contribute\",children:\"Apply to Contribute\"})]}),/*#__PURE__*/_jsxs(\"button\",{className:`hamburger${open?\" open\":\"\"}`,onClick:()=>setOpen(!open),\"aria-label\":\"Toggle menu\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"hamburger-line\"}),/*#__PURE__*/_jsx(\"span\",{className:\"hamburger-line\"}),/*#__PURE__*/_jsx(\"span\",{className:\"hamburger-line\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:`mobile-overlay${open?\" open\":\"\"}`,onClick:close}),/*#__PURE__*/_jsxs(\"div\",{className:`mobile-drawer${open?\" open\":\"\"}`,children:[/*#__PURE__*/_jsxs(\"ul\",{className:\"mobile-links\",children:[/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/how-it-works\",onClick:close,children:\"How It Works\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/enterprises\",onClick:close,children:\"Enterprises\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/proof-records\",onClick:close,children:\"Proof Records\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/about\",onClick:close,children:\"About\"})})]}),/*#__PURE__*/_jsx(\"a\",{className:\"mobile-cta\",href:\"/apply-to-contribute\",onClick:close,children:\"Apply to Contribute\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"mobile-tagline\",children:[\"A permanent, public record of\",/*#__PURE__*/_jsx(\"br\",{}),\"real-world agricultural performance.\"]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Nav\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Nav.map","// Generated by Framer (ff27080)\nexport default function metadata(params,activeLocale){return{description:\"Proof.ag is the verification layer for real-world agricultural performance — turning farm trials into trusted, comparable, decision-grade records.\",favicon:\"https://framerusercontent.com/assets/uf2oi708MwlryY9DHgod6DyAzI.png\",robots:\"max-image-preview:large\",title:\"Proof.ag | The Verification Layer for Agricultural Performance Records and Agricultural Evidence\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yHA6PE,SAAwB,GAAK,CAAC,GAAK,CAAC,EAAK,GAAS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