:root {
    --ocean-deep: #0a1f33;
    --ocean: #123a5c;
    --ocean-light: #1e4d73;
    --foam: #ffffff;
    --mist: #f0f4f8;
    --mist-dark: #e2e8ef;
    --slate: #4a5d6e;
    --slate-soft: #6b7c8c;
    --accent: #2a6f97;
    --accent-soft: rgba(42, 111, 151, 0.12);
    --max: 1120px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(10, 31, 51, 0.08);
    --shadow-hover: 0 8px 32px rgba(10, 31, 51, 0.12);
    --header-bg: rgba(255, 255, 255, 0.96);
    --nav-panel-bg: rgba(255, 255, 255, 0.98);
    --focus: #2a6f97;
    --hero-overlay: rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] {
    --ocean-deep: #eaf2fb;
    --ocean: #cfe3f5;
    --ocean-light: #a7c8e6;
    --foam: #070c12;
    --mist: #0b131d;
    --mist-dark: #16212e;
    --slate: rgba(255, 255, 255, 0.82);
    --slate-soft: rgba(255, 255, 255, 0.62);
    --accent: #6bb6e3;
    --accent-soft: rgba(107, 182, 227, 0.14);
    --shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.45);
    --header-bg: rgba(7, 12, 18, 0.9);
    --nav-panel-bg: rgba(7, 12, 18, 0.92);
    --focus: #6bb6e3;
    --hero-overlay: rgba(7, 12, 18, 0.58);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--slate);
    background: var(--foam);
}

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--ocean);
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: -9999px;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: var(--foam);
    color: var(--ocean-deep);
    font-weight: 600;
    border-radius: 4px;
}

.skip-link:focus {
    left: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mist-dark);
    transition: transform 0.3s ease;
    will-change: transform;
}

.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.15rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--ocean-deep);
            text-decoration: none;
            min-height: 56px;
        }

            .logo:hover {
                color: var(--ocean);
            }

        .logo-mark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 74px;
            height: 52px;
        }

        .logo-img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .logo-light {
            display: block;
        }

        .logo-dark {
            display: none;
        }

        html[data-theme="dark"] .logo-light {
            display: none;
        }

        html[data-theme="dark"] .logo-dark {
            display: block;
        }

        .logo-copy {
            display: block;
        }

        .logo-text {
            display: block;
            font-weight: 700;
            font-size: 0.98rem;
            letter-spacing: -0.02em;
            line-height: 1.15;
            color: var(--ocean-deep);
            margin: 0;
        }

        .logo-location {
            display: block;
            font-weight: 500;
            color: var(--slate);
            font-size: 0.875rem;
            margin-top: 0.15rem;
        }

        .header-cta {
            display: inline-flex;
            align-items: center;
        }

        .nav-appearance {
            display: inline-flex;
            align-items: center;
            gap: 0.85rem;
            color: var(--slate);
        }

        .nav-appearance-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ocean-deep);
            white-space: nowrap;
        }

        .theme-toggle {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: space-between;
            min-width: 8.75rem;
            padding: 0.4rem 0.45rem 0.4rem 0.5rem;
            border-radius: 999px;
            border: 1px solid var(--mist-dark);
            background: var(--mist);
            color: var(--ocean);
            cursor: pointer;
            font: inherit;
            font-size: 0.8125rem;
            font-weight: 600;
            line-height: 1;
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
            white-space: nowrap;
        }

            .theme-toggle:hover {
                background: var(--foam);
                border-color: rgba(42, 111, 151, 0.28);
                color: var(--ocean-deep);
                box-shadow: 0 4px 18px rgba(10, 31, 51, 0.08);
            }

        .theme-toggle-track {
            position: relative;
            width: 3.6rem;
            height: 1.85rem;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.42rem;
            border-radius: 999px;
            background: var(--foam);
            border: 1px solid var(--mist-dark);
            color: currentColor;
            flex: 0 0 auto;
        }

            .theme-toggle .toggle-icon {
                position: relative;
                z-index: 1;
                display: inline-block;
                width: 0.9rem;
                height: 0.9rem;
                color: currentColor;
                opacity: 0.8;
            }

        .toggle-icon-light {
            border: 1.6px solid currentColor;
            border-radius: 50%;
        }

        .toggle-icon-light::before,
        .toggle-icon-light::after {
            content: "";
            position: absolute;
            inset: -0.18rem;
            border-radius: 50%;
            border-top: 1px solid currentColor;
            border-bottom: 1px solid currentColor;
            opacity: 0.55;
        }

        .toggle-icon-dark {
            border-radius: 50%;
            box-shadow: inset -0.28rem 0 0 0 currentColor;
            transform: scale(0.92);
        }

        .theme-toggle-thumb {
            position: absolute;
            top: 50%;
            left: 0.18rem;
            width: 1.35rem;
            height: 1.35rem;
            border-radius: 50%;
            background: var(--ocean-deep);
            transform: translate(0, -50%);
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .theme-toggle[data-theme-mode="dark"] .theme-toggle-thumb {
            transform: translate(1.72rem, -50%);
        }

        .theme-toggle[data-theme-mode="dark"] .toggle-icon-dark,
        .theme-toggle[data-theme-mode="light"] .toggle-icon-light {
            opacity: 1;
        }

        .theme-toggle .toggle-label {
            min-width: 2.9rem;
            text-align: center;
            display: inline-block;
            font-size: 0.8125rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            line-height: 1;
            color: inherit;
            white-space: nowrap;
        }

        html[data-theme="dark"] .theme-toggle {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.16);
            color: var(--ocean-deep);
        }

        html[data-theme="dark"] .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
        }

        html[data-theme="dark"] .theme-toggle-track {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.14);
        }

        html[data-theme="dark"] .theme-toggle-thumb {
            background: var(--ocean);
        }

        .nav-toggle {
            display: none;
        }

        .nav-toggle-label {
            display: none;
            cursor: pointer;
            padding: 0.5rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--ocean-deep);
            border: 1px solid var(--mist-dark);
            border-radius: 6px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem 1.5rem;
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .nav-links a {
                color: var(--slate);
                text-decoration: none;
                font-weight: 500;
                font-size: 0.9375rem;
            }

                .nav-links a:hover {
                    color: var(--ocean-deep);
                }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.65rem 1.35rem;
            font-family: inherit;
            font-size: 0.9375rem;
            font-weight: 600;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        }

        .btn-primary {
            background: var(--ocean);
            color: var(--foam);
        }

            .btn-primary:hover {
                background: var(--ocean-light);
                color: var(--foam);
            }

        .btn-outline {
            background: transparent;
            color: var(--ocean);
            border: 1px solid var(--mist-dark);
        }

            .btn-outline:hover {
                background: var(--mist);
                border-color: var(--slate-soft);
                color: var(--ocean-deep);
            }

        .header-cta .btn-primary {
            padding: 0.55rem 1.15rem;
            font-size: 0.875rem;
        }

        /* Hero */
        .hero {
            position: relative;
            background: linear-gradient(165deg, var(--mist) 0%, var(--foam) 45%, var(--mist) 100%);
            border-bottom: 1px solid var(--mist-dark);
            overflow: hidden;
        }

            .hero::before {
                content: "";
                position: absolute;
                inset: 0;
                background-image: url("Assets/wave-hero.svg"), radial-gradient(ellipse 80% 50% at 100% 0%, rgba(42, 111, 151, 0.10) 0%, transparent 55%), radial-gradient(ellipse 60% 40% at 0% 100%, rgba(18, 58, 92, 0.08) 0%, transparent 50%);
                background-repeat: no-repeat, no-repeat, no-repeat;
                background-size: cover, auto, auto;
                background-position: center, 100% 0%, 0% 100%;
                opacity: 0.22;
                pointer-events: none;
                z-index: 0;
            }

            .hero::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(180deg, var(--hero-overlay) 0%, transparent 55%, var(--hero-overlay) 100%);
                pointer-events: none;
                z-index: 2;
            }

        .hero-brand {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: clamp(0.5rem, 2.5vw, 1.75rem);
            pointer-events: none;
            z-index: 1;
        }

        .hero-brand-inner {
            width: min(60vw, 760px);
            max-width: 56%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            opacity: 1;
            filter: none;
            transform: translateX(2%);
            -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 18%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 1) 100%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 18%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 1) 100%);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .hero-brand img {
            width: 100%;
            height: auto;
            max-height: 440px;
        }

        .hero-inner {
            position: relative;
            max-width: var(--max);
            margin: 0 auto;
            padding: clamp(3.5rem, 8vw, 6rem) 1.5rem clamp(4rem, 10vw, 7rem);
            z-index: 3;
        }

        .hero-badge {
            display: inline-block;
            font-size: 0.8125rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--ocean-light);
            background: var(--accent-soft);
            padding: 0.35rem 0.75rem;
            border-radius: 100px;
            margin-bottom: 1.25rem;
        }

        .hero h1 {
            margin: 0 0 1rem;
            font-size: clamp(2rem, 5vw, 2.75rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.15;
            color: var(--ocean-deep);
            max-width: 10em;
        }

        .hero-tagline {
            font-size: clamp(1.125rem, 2.5vw, 1.35rem);
            font-weight: 500;
            color: var(--ocean);
            margin: 0 0 1.25rem;
            max-width: 36ch;
        }

        .hero-desc {
            margin: 0 0 2rem;
            max-width: 52ch;
            color: var(--slate);
            font-size: 1.0625rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem 1rem;
            align-items: center;
        }

.hero-note {
    margin: 2rem 0 0;
    font-size: 0.875rem;
    color: var(--slate-soft);
}

.hero.hero-compact .hero-brand {
    display: none;
}

.hero.hero-compact .hero-inner {
    padding-right: 1.5rem;
    text-align: center;
}

.hero.hero-compact .hero-badge,
.hero.hero-compact h1,
.hero.hero-compact .hero-tagline,
.hero.hero-compact .hero-desc,
.hero.hero-compact .hero-note {
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-compact h1,
.hero.hero-compact .hero-tagline,
.hero.hero-compact .hero-desc,
.hero.hero-compact .hero-note {
    max-width: 60ch;
}

.hero.hero-compact .hero-actions {
    justify-content: center;
}

.hero.hero-compact .hero-brand-inner {
    opacity: 0;
    transform: translateX(2%) scale(0.96);
}

        @media (max-width: 1100px) {
            .hero-inner {
                padding-right: clamp(18rem, 34vw, 24rem);
            }

            .hero-brand-inner {
                width: min(52vw, 520px);
                max-width: 44%;
                transform: translateX(1%);
            }

            .hero-desc,
            .hero-note {
                max-width: 38ch;
            }
        }

        /* Sections */
        section {
            padding: clamp(3.5rem, 7vw, 5rem) 1.5rem;
        }

.wave-divider {
    position: relative;
    background: var(--foam);
    line-height: 0;
}

.wave-divider img {
    width: 100%;
    opacity: 0.9;
}

        html[data-theme="dark"] .wave-divider img {
            opacity: 0.6;
            filter: brightness(0.9) contrast(1.05);
        }

        .section-inner {
            max-width: var(--max);
            margin: 0 auto;
        }

        .section-label {
            font-size: 0.8125rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent);
            margin: 0 0 0.5rem;
        }

        .section-title {
            margin: 0 0 0.75rem;
            font-size: clamp(1.65rem, 3.5vw, 2rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--ocean-deep);
        }

        .section-lead {
            margin: 0 0 2.5rem;
            max-width: 60ch;
            color: var(--slate);
        }

        /* Services */
        #services {
            background: var(--foam);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.25rem;
        }

        .service-card {
            background: var(--mist);
            border: 1px solid var(--mist-dark);
            border-radius: var(--radius);
            padding: 1.5rem 1.5rem 1.6rem;
            transition: box-shadow 0.25s ease, border-color 0.25s ease;
        }

            .service-card:hover {
                box-shadow: var(--shadow);
                border-color: rgba(42, 111, 151, 0.25);
            }

        .service-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: var(--foam);
            border: 1px solid var(--mist-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }

        .service-card h3 {
            margin: 0 0 0.5rem;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--ocean-deep);
        }

        .service-card p {
            margin: 0;
            font-size: 0.9375rem;
            color: var(--slate);
            line-height: 1.6;
        }

        /* About */
        #about {
            background: var(--mist);
            border-top: 1px solid var(--mist-dark);
            border-bottom: 1px solid var(--mist-dark);
        }

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-panel,
.contact-box {
    background: var(--foam);
    border: 1px solid var(--mist-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-panel {
    padding: 2rem;
}

            .about-panel h3 {
                margin: 0 0 1rem;
                font-size: 1.25rem;
                color: var(--ocean-deep);
            }

            .about-panel p {
                margin: 0 0 1rem;
            }

                .about-panel p:last-child {
                    margin-bottom: 0;
                }

        .about-list {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            .about-list li {
                position: relative;
                padding-left: 1.5rem;
                margin-bottom: 0.65rem;
                font-size: 0.9375rem;
            }

                .about-list li::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0.55em;
                    width: 6px;
                    height: 6px;
                    border-radius: 50%;
                    background: var(--accent);
                }

        /* Portfolio */
        #portfolio {
            background: var(--foam);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .portfolio-card {
            background: var(--mist);
            border-radius: var(--radius);
            border: 1px solid var(--mist-dark);
            overflow: hidden;
            transition: box-shadow 0.25s ease;
        }

            .portfolio-card:hover {
                box-shadow: var(--shadow-hover);
            }

        .portfolio-thumb {
            height: 160px;
            background: linear-gradient(145deg, var(--ocean) 0%, var(--ocean-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            font-size: 0.875rem;
            letter-spacing: 0.02em;
        }

            .portfolio-thumb.b {
                background: linear-gradient(145deg, #1a4a6e 0%, #2a6f97 100%);
            }

            .portfolio-thumb.c {
                background: linear-gradient(145deg, #0d2840 0%, #1e4d73 100%);
            }

        .portfolio-body {
            padding: 1.35rem 1.5rem 1.5rem;
        }

            .portfolio-body h3 {
                margin: 0 0 0.35rem;
                font-size: 1.0625rem;
                color: var(--ocean-deep);
            }

        .portfolio-meta {
            font-size: 0.8125rem;
            color: var(--slate);
            margin-bottom: 0.75rem;
        }

        .portfolio-body p {
            margin: 0;
            font-size: 0.9375rem;
        }

        .tag-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-top: 1rem;
        }

        .tag {
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.25rem 0.55rem;
            border-radius: 6px;
            background: var(--foam);
            border: 1px solid var(--mist-dark);
            color: var(--slate);
        }

        /* Contact */
        #contact {
            background: linear-gradient(180deg, var(--mist) 0%, var(--foam) 100%);
            border-top: 1px solid var(--mist-dark);
        }

        .contact-email {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--ocean-deep);
            text-decoration: none;
            overflow-wrap: anywhere;
            word-break: normal;
        }

            .contact-email:hover {
                color: var(--accent);
            }

        .contact-aside p {
            margin: 0 0 1rem;
        }

        .contact-box {
            padding: 2rem;
        }

        .contact-form {
            display: grid;
            gap: 1rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .form-group {
            margin: 0;
        }

            .form-group label {
                display: block;
                font-size: 0.8125rem;
                font-weight: 600;
                color: var(--ocean-deep);
                margin-bottom: 0.4rem;
            }

            .form-group input,
            .form-group textarea {
                width: 100%;
                padding: 0.65rem 0.85rem;
                font-family: inherit;
                font-size: 1rem;
                border: 1px solid var(--mist-dark);
                border-radius: 8px;
                background: var(--mist);
                color: var(--ocean-deep);
            }

                .form-group input:focus,
                .form-group textarea:focus {
                    outline: 2px solid var(--accent);
                    outline-offset: 1px;
                    border-color: transparent;
                    background: var(--foam);
                }

            .form-group textarea {
                min-height: 140px;
                resize: vertical;
            }

        .form-footer {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            margin-top: 0.35rem;
        }

        .form-hint {
            font-size: 0.8125rem;
            color: var(--slate);
            margin: 0;
            flex: 1;
            min-width: 200px;
        }

        /* Footer */
        .site-footer {
            background: var(--mist);
            color: var(--slate);
            padding: 2rem 1.5rem;
            font-size: 0.875rem;
            border-top: 1px solid var(--mist-dark);
        }

        .footer-inner {
            max-width: var(--max);
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .site-footer a,
        .site-footer a:visited {
            color: var(--ocean-deep);
        }

            .site-footer a:hover {
                color: var(--ocean);
            }

        .footer-signature {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }

        .signature-img {
            height: 26px;
            width: auto;
            opacity: 0.85;
        }

        html[data-theme="dark"] .signature-img {
            opacity: 0.7;
            filter: brightness(1.05) contrast(1.05);
        }

        /* Mobile nav */
        @media (max-width: 768px) {
            .nav-toggle-label {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                left: 0;
                right: 0;
                top: 100%;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                padding: 0.5rem 1.5rem 1rem;
                background: var(--nav-panel-bg);
                backdrop-filter: blur(10px);
                border-bottom: 1px solid var(--mist-dark);
                box-shadow: var(--shadow);
            }

                .nav-links li {
                    border-top: 1px solid var(--mist-dark);
                }

                .nav-links li.nav-appearance {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0.8rem 0;
                }

                .nav-links a {
                    display: block;
                    padding: 0.85rem 0;
                }

            .nav-toggle:checked ~ nav .nav-links {
                display: flex;
            }

            .header-inner {
                flex-wrap: nowrap;
                gap: 0.75rem;
            }

            .header-cta {
                margin-left: auto;
                order: 2;
                flex: 0 0 auto;
            }

            .nav-toggle-label {
                order: 3;
                flex: 0 0 auto;
            }

            .site-header .logo-copy {
                display: none;
            }

            .header-cta .btn-primary {
                white-space: nowrap;
                padding: 0.5rem 0.9rem;
                font-size: 0.8125rem;
            }

            .theme-toggle {
                min-width: 8.25rem;
            }

            .about-layout,
            .contact-layout {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

        .logo-mark {
            width: 64px;
            height: 45px;
        }

        .hero-inner {
            padding-right: 1.5rem;
            text-align: center;
        }

        .hero-badge,
        .hero h1,
        .hero-tagline,
        .hero-desc,
        .hero-note {
            margin-left: auto;
            margin-right: auto;
        }

        .hero h1,
        .hero-tagline,
        .hero-desc,
        .hero-note {
            max-width: 60ch;
        }

        .hero-actions {
            justify-content: center;
        }

        .hero-brand {
            display: none;
        }
        }

        @media (min-width: 769px) {
            .header-inner {
                max-width: 1240px;
            }

            .header-cta {
                margin-left: auto;
                flex: 0 0 auto;
            }

            .header-cta,
            .nav-appearance,
            .theme-toggle {
                flex-shrink: 0;
            }

            .header-cta .btn-primary {
                white-space: nowrap;
                min-width: max-content;
            }

            .site-header nav[aria-label="Primary"] {
                margin-left: 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

                .hero-actions .btn {
                    width: 100%;
                    text-align: center;
                }

            .header-inner {
                padding: 1.05rem 1.25rem;
            }

            .logo {
                gap: 0.6rem;
                min-height: 48px;
            }

            .logo-mark {
                width: 58px;
                height: 41px;
            }

        }

.section-lead-tight {
    margin-bottom: 0;
}
.section-lead-compact {
    margin-bottom: 1rem;
}
.contact-note {
    font-size: 0.9375rem;
    color: var(--slate);
    margin-top: 1.5rem;
}

.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
}
.cookie-banner a {
    color: #4da6ff;
}

.cookie-banner button {
    margin-left: 10px;
    padding: 5px 10px;
    font: inherit;
    cursor: pointer;
}
