:root {
    --accent: #951b81;
    --accent-hover: #7a1469;
    --ink: #121212;
    --muted: #5c6570;
    --soft: #f6f6f7;
    --header: 76px;
    --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: #1c1c1c;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-lock {
    overflow: hidden;
}

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

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

button, input, textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 3rem));
    margin: 0 auto;
}

main, section[id] {
    scroll-margin-top: calc(var(--header) + 12px);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a9099;
    margin-bottom: 0.9rem;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.55);
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.038em;
    font-weight: 800;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--sm {
    min-height: 40px;
    padding: 0.55rem 1.05rem;
    font-size: 0.72rem;
}

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

.btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--ink);
}

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

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    height: var(--header);
    display: flex;
    align-items: center;
    color: #fff;
    transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.header.is-solid {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.header__logo {
    height: 42px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 1.85rem;
    list-style: none;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.header.is-solid .nav__link {
    color: #2a2a2a;
}

.nav__link:hover {
    color: #fff;
}

.header.is-solid .nav__link:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.2s var(--ease);
}

.header.is-open .mobile-toggle span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.header.is-open .mobile-toggle span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(760px, 100svh);
    display: flex;
    align-items: center;
    padding: calc(var(--header) + 3rem) 0 4.75rem;
    color: #fff;
    background:
        radial-gradient(900px 620px at 78% 38%, rgba(149, 27, 129, 0.42), transparent 62%),
        radial-gradient(760px 540px at 12% 78%, rgba(255, 168, 84, 0.28), transparent 58%),
        radial-gradient(640px 480px at 58% 12%, rgba(92, 168, 104, 0.16), transparent 55%),
        linear-gradient(180deg, #1a1c22 0%, #101114 100%);
    overflow: hidden;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 34%, rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

.hero__grid > *,
.contact__layout > *,
.footer__grid > * {
    min-width: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.35rem, 4.7vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 15ch;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.hero__lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48ch;
    margin: 1.25rem 0 1.75rem;
}

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

/* Services */
.services {
    padding: 6.5rem 0;
    background: #fff;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 2.75rem;
}

.section-intro p:last-child {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.services__list {
    border-bottom: 1px solid #dedde1;
}

.service {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: baseline;
    padding: 1.5rem 0;
    border-top: 1px solid #dedde1;
}

.service h3 {
    font-size: clamp(1.125rem, 2vw, 1.4rem);
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.service p {
    color: var(--muted);
    max-width: 62ch;
}

.workflow {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: rgba(24, 15, 25, 0.65);
}

.workflow__steps,
.approach__steps {
    list-style: none;
}

.workflow__steps li {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 0 1rem 1.15rem;
    border-left: 2px solid #ce81c4;
}

.workflow__steps span,
.approach p {
    color: #ded4df;
}

.approach {
    background: #201722;
    color: #fff;
    padding: clamp(4.25rem, 8vw, 6.5rem) 0;
}

.approach__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.approach h2 {
    color: inherit;
    margin-bottom: 1rem;
}

.approach__steps li {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.approach__steps h3 {
    margin-bottom: 0.25rem;
}

/* Contact */
.contact {
    padding: 6.5rem 0;
    background: #fff;
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__copy > p:not(.eyebrow) {
    margin: 1rem 0 1.75rem;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 42ch;
}

.contact__list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.contact__list a,
.contact__list li > div {
    display: block;
    padding: 0.95rem 0;
    border-top: 1px solid #ececec;
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a9099;
    margin-bottom: 0.15rem;
}

.contact__list a:hover strong {
    color: var(--accent);
}

.contact__form {
    background: var(--soft);
    border-radius: 28px;
    padding: 1.75rem;
}

.form-field {
    margin-bottom: 0.95rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #e4e4e6;
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    color: var(--ink);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(149, 27, 129, 0.18);
}

/* Footer */
.footer {
    background: #101010;
    color: rgba(255, 255, 255, 0.72);
    padding: 4rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.9rem;
}

.footer__brand p {
    max-width: 36ch;
    font-size: 0.95rem;
}

.footer h2 {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.footer a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 980px) {
    .header.has-menu .header__nav {
        position: fixed;
        z-index: 60;
        inset: var(--header) 0 0 0;
        background: #fff;
        color: var(--ink);
        padding: 1.5rem 1.5rem 2rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        transition: opacity 0.2s var(--ease);
    }

    .header.has-menu.is-open .header__nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.15rem;
    }

    .header.is-open .nav__link {
        color: var(--ink);
        font-size: 1.25rem;
        font-weight: 600;
    }

    .header__cta {
        display: none;
    }

    .header.has-menu .mobile-toggle {
        display: flex;
    }

    .header.is-solid .mobile-toggle,
    .header.is-open .mobile-toggle {
        color: var(--ink);
        border-color: #e4e4e4;
    }

    .header.is-open {
        background: #fff;
        color: var(--ink);
    }

    .hero__grid,
    .approach__layout,
    .contact__layout,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        max-width: none;
    }

}

@media (max-width: 720px) {
    .container {
        width: min(1180px, calc(100% - 2rem));
    }

    .hero {
        padding-bottom: 2.75rem;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .services,
    .contact {
        padding: 4.25rem 0;
    }

    .service {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .header:not(.has-menu) .nav__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header:not(.has-menu) .nav__link {
        font-size: 0.875rem;
    }

    .footer__bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
