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

:root {
    --bg: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #fafafa;
    --border: #e0e0e0;
    --border-hover: #aaaaaa;
    --silver: #666666;
    --silver-light: #333333;
    --white: #111111;
    --muted: #999999;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.btn-nav {
    border: 1px solid var(--border) !important;
    padding: 0.4rem 1.1rem !important;
    border-radius: 3px;
    color: var(--white) !important;
    transition: border-color 0.2s !important;
}

.btn-nav:hover {
    border-color: var(--silver) !important;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 10% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 10% 50%, black 20%, transparent 80%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding-top: 64px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
    border: 1px solid var(--border);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.hero-content > p {
    font-size: 1.05rem;
    color: var(--silver);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    padding: 0.7rem 1.6rem;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.btn-primary:hover { background: #333333; }

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--silver);
    padding: 0.7rem 1.6rem;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--silver);
    color: var(--white);
}

.btn-block { display: block; width: 100%; }

/* ── Shared ── */
.silver { color: var(--silver); }

.section { padding: 7rem 2rem; }
.section-alt { background: var(--bg-secondary); }

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.section-desc {
    font-size: 1rem;
    color: var(--silver);
    max-width: 540px;
    margin-bottom: 3.5rem;
    line-height: 1.75;
}

/* ── Features grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
}

.feature-card {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.feature-card:last-child { border-right: none; }
.feature-card:hover { background: #f7f7f7; }

.feature-num {
    font-size: 0.65rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.75;
}

/* ── Services grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    transition: background 0.2s;
}

.service-card:hover { background: #efefef; }

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.75;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.2s;
}

.contact-card:hover { border-color: var(--border-hover); }

.contact-card-header { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.contact-card > .contact-card-header > p,
.contact-card-call > .contact-card-header > p {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.7;
}

.contact-card-call {
    justify-content: space-between;
}

/* ── Forms ── */
form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

input, textarea {
    background: #f7f7f7;
    border: 1px solid var(--border);
    color: var(--white);
    padding: 0.65rem 0.875rem;
    font-size: 0.85rem;
    border-radius: 3px;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus { border-color: var(--silver); }
textarea { resize: vertical; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 0.5rem; }

.footer-brand p {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--silver); }

.footer-bottom {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── Fade-in animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .features-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .feature-card:last-child { border-bottom: none; }

    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .nav-links { display: none; }

    .hero-content h1 { font-size: 2.5rem; }

    .section { padding: 5rem 1.25rem; }
}
