    
    @font-face {
  font-family: 'Myriad Set Pro';
  src: url('../fonts/MyriadSetPro-TextItalic.woff2') format('woff2'),
       url('../fonts/MyriadSetPro-TextItalic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MyriadPro-SemiboldIt.woff2') format('woff2'),
       url('../fonts/MyriadPro-SemiboldIt.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-y: scroll;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background: white;
            min-height: 100vh;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
        }

        .header {
            --gradient-radius: clamp(260px, 48vw, 620px);
            --full-header-height: clamp(180px, calc((100vw / (1024 / 647)) * 0.62 + env(safe-area-inset-top, 0px)), 520px);

            position: relative;
            width: 100%;
            height: calc(70px + env(safe-area-inset-top, 0px));
            background: radial-gradient(circle var(--gradient-radius) at center bottom, #5d8be8 0, #061837 100%);
            background-size: 100% var(--full-header-height);
            background-position: top center;
            background-repeat: no-repeat;
            overflow: visible;
        }

        .site-nav {
            position: absolute;
            top: max(18px, env(safe-area-inset-top, 0px));
            left: 20px;
            right: 20px;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: space-between;
            pointer-events: none;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            font-family: 'Myriad Set Pro', 'Myriad Pro', 'Montserrat', sans-serif;
            font-size: clamp(17px, 1.75vw, 23px);
            font-style: italic;
            font-weight: 700;
            letter-spacing: -0.02em;
            pointer-events: auto;
            transform: translateY(-2px);
        }

        .brand-logo {
            width: clamp(28px, 3.2vw, 40px);
            height: auto;
            flex-shrink: 0;
        }

        .nav-menu {
            position: relative;
            pointer-events: auto;
            transform: translateY(-3px);
        }

        .menu-button {
            width: 42px;
            height: 42px;
            border: 0;
            border-radius: 999px;
            background: transparent;
            cursor: pointer;
            display: grid;
            place-items: center;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
            outline: none;
            appearance: none;
        }

        .menu-button:focus,
        .menu-button:focus-visible,
        .menu-button:active {
            outline: none;
            box-shadow: none;
            background: transparent;
        }

        .menu-icon {
            position: relative;
            width: 32px;
            height: 32px;
            background: url("../images/bg-menu.avif") center / contain no-repeat;
            filter: brightness(0) invert(1);
        }

        .menu-icon span {
            display: none;
        }

        .menu-panel {
            position: absolute;
            top: calc(100% - 20px);
            right: 16px;
            min-width: max-content;
            padding: 8px 0;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 18px 42px rgba(6, 24, 55, 0.18);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        }

        .menu-panel.is-open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .menu-panel a {
            display: block;
            width: 100%;
            padding: 10px 16px;
            color: #2d3357;
            font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Nunito", Arial, Helvetica, sans-serif;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            text-align: left;
        }

        .menu-panel a:hover {
            background: rgba(93, 139, 232, 0.1);
        }

        .main-content {
            flex: 1;
            padding: 0 4rem 2rem;
        }

        .contact-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 2.5rem 0 3rem;
        }

        .page-title {
            font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Nunito", Arial, Helvetica, sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.15rem;
            text-align: center;
            background: linear-gradient(45deg, #667eea, #764ba2);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .contact-blurb {
            font-family: 'Myriad Set Pro', 'Montserrat', sans-serif;
            font-style: italic;
            font-size: 0.9rem;
            font-weight: normal;
            color: #86868b;
            text-align: center;
            margin-bottom: 2rem;
            line-height: 1.4;
        }

        .form-container {
            background: #fafafa;
            padding: 2rem 5rem 2rem 5rem;
            border-radius: 16px;
            border: 1px solid #e8e8ed;
            margin-top: 2rem;
            width: 100%;
        }

        .contact-form {
            background: transparent;
            padding: 0;
            border-radius: 0;
            box-shadow: none;
            border: none;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .form-group {
            margin-bottom: 0;
            width: 100%;
        }

        .form-group label {
            display: block;
            margin-bottom: 1rem;
            font-weight: 400;
            color: #86868b;
            font-size: 1rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            font-size: 1.1rem;
            font-family: inherit;
            transition: all 0.2s ease;
            background: white;
            color: #1d1d1f;
            box-sizing: border-box;
            min-height: 44px;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #007aff;
            box-shadow: 0 0 0 1px #007aff;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
            line-height: 1.5;
            font-family: inherit;
        }

        .submit-button {
            background: #007aff;
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 0.75rem;
            width: 100%;
            min-height: 44px;
            box-sizing: border-box;
        }

        .submit-button:hover {
            background: #0056b3;
        }

        .submit-button:active {
            background: #004494;
        }

        .error-message {
            background: linear-gradient(135deg, #e53e3e, #c53030);
            color: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-top: 1.5rem;
            display: none;
            text-align: center;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
        }

        /* Toast Notification Styles */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: #1a1a1a;
            color: white;
            padding: 18px 24px;
            border-radius: 12px;
            border-left: 5px solid #007aff;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            z-index: 10000;
            font-weight: 500;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            max-width: calc(100vw - 40px);
            min-width: 320px;
            text-align: left;
        }

        .toast.error {
            border-left-color: #ff4757;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .toast-icon {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .toast-icon::after {
            content: '✓';
            font-size: 12px;
            font-weight: bold;
            color: #007aff;
        }

        .toast-icon.error::after {
            content: '⚠';
            font-size: 12px;
            color: #ff4757;
        }

        .footer {
            background: white;
            padding: 2rem;
            text-align: center;
            color: #86868b;
            font-size: 0.9rem;
        }

        .footer a {
            color: #666;
            text-decoration: none;
        }
        @media (max-width: 768px) {
            .header {
                --gradient-radius: clamp(260px, 95vw, 380px);
                --full-header-height: 300px;

                height: calc(62px + env(safe-area-inset-top, 0px));
            }

            .site-nav {
                top: max(14px, env(safe-area-inset-top, 0px));
                left: 14px;
                right: 14px;
            }

            .brand {
                gap: 6px;
                font-size: 20px;
                transform: none;
            }

            .brand-logo {
                width: 35px;
            }

            .menu-button {
                width: 38px;
                height: 38px;
            }

            .main-content {
                padding: 0.5rem 1rem 1rem;
            }

            .contact-container {
                padding: 1.25rem 1rem 2rem;
            }

            .form-container {
                padding: 2rem;
                margin: 2rem 0;
                width: 100%;
            }

            .page-title {
                font-size: 2rem;
            }

            .contact-blurb {
                font-size: 1.1rem;
                margin-bottom: 1.5rem;
            }

            .contact-form {
                gap: 1.8rem;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px 14px;
                font-size: 1rem;
            }

            .submit-button {
                padding: 12px 20px;
                font-size: 1rem;
            }

            .toast {
                bottom: 20px;
                padding: 16px 20px;
                font-size: 0.9rem;
                min-width: calc(100vw - 60px);
                max-width: calc(100vw - 40px);
            }

            .toast-icon {
                width: 18px;
                height: 18px;
            }

            .toast-icon::after {
                font-size: 11px;
            }
        }
