:root {
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

p {
    margin: 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 999;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 700;
}

.skip-link:focus {
    left: 10px;
}

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226, 232, 240, .82);
    background: rgba(248, 250, 252, .9);
    backdrop-filter: blur(18px);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.mobile-menu.open {
    max-height: 620px;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--ink);
}

.brand-mark img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.contact-field {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    padding: 14px 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, .25);
}

textarea.contact-field {
    resize: vertical;
}

details summary {
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
