:root {
    --black: #111111;
    --muted: #666666;
    --line: #eeeeee;
    --soft: #f8fafc;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-soft: #eff6ff;
    --radius-lg: 28px;
    --radius-md: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 8%, rgba(59, 130, 246, 0.12), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.08), transparent 28%),
        #ffffff;
    color: var(--black);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.logo {
    display: flex;
    align-items: flex-end;
    color: var(--black);
    text-decoration: none;
    font-size: 25px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo .mer {
    font-weight: 800;
}

.logo .studio {
    font-weight: 400;
    margin-left: 5px;
}

.logo .dot {
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--black);
    transform: translateY(-3px);
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--black);
}

.hero-section {
    padding: 54px 32px 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.85fr;
    gap: 46px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.eyebrow,
.section-kicker,
.status,
.card-label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.hero-content h1 {
    max-width: 700px;
    margin: 18px 0 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content h1 span {
    color: var(--blue);
}

.hero-text {
    max-width: 600px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.btn-primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.22);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    color: var(--black);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 17, 17, 0.12);
}

.btn-secondary:hover {
    background: #ffffff;
}

.hero-card {
    position: relative;
    overflow: hidden;
    max-width: 420px;
    justify-self: end;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.10);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 45%);
    pointer-events: none;
}

.card-topline {
    display: flex;
    gap: 7px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.card-topline span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.25);
}

.card-content {
    position: relative;
    padding: 28px;
}

.card-content h2 {
    margin: 12px 0 0;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.card-content p:last-child {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.mini-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 24px 24px;
}

.mini-grid div {
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.mini-grid strong {
    display: block;
    font-size: 15px;
}

.mini-grid p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 86px 32px;
}

.projects-section {
    max-width: none;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(239, 246, 255, 0.58));
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.projects-section>* {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 680px;
}

.section-heading h2,
.approach-section h2,
.contact-box h2 {
    margin: 12px 0 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.section-heading p:last-child {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.project-card {
    padding: 26px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.05);
}

.project-card h3 {
    margin: 18px 0 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.project-card p:last-child {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
}

.approach-text {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.75;
}

.approach-text p {
    margin-top: 0;
}

.contact-section {
    padding-top: 30px;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    padding: 44px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.55), transparent 30%),
        #111111;
}

/* 🔧 spacing mellem CONTACT og logo */
.contact-box .section-kicker {
    margin-bottom: 16px;
}

/* 🔧 spacing omkring logo */
.contact-logo {
    margin-top: 4px;
    margin-bottom: 20px;
}

.contact-box p:not(.section-kicker) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.6;
}

.btn-light {
    background: #ffffff;
    color: var(--black);
    white-space: nowrap;
}

/* LOGO – korrekt hvid version i contact box */
.contact-box .logo {
    color: #ffffff;
}

.contact-box .logo .dot {
    background: #ffffff;
}

/* lidt bedre balance på "Studio" */
.contact-box .logo .studio {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 32px 34px;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    color: #777777;
    font-size: 14px;
    text-align: center;
}

.site-footer .logo {
    font-size: 21px;
}

.site-footer .logo .dot {
    width: 7px;
    height: 7px;
    margin-left: 5px;
    transform: translateY(-3px);
}

.footer-tagline {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.footer-center {
    display: flex;
    gap: 26px;
    justify-content: center;
}

.footer-center a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-center a:hover {
    color: var(--black);
}

.footer-right {
    justify-self: end;
    color: #888888;
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 860px) {
    .site-footer {
        gap: 8px;
    }

    .footer-center {
        justify-content: flex-start;
    }

    .footer-right {
        justify-self: start;
    }

    .site-header,
    .site-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .site-header {
        flex-direction: column;
        gap: 14px;
    }

    .main-nav {
        display: flex;
        gap: 18px;
        font-size: 14px;
    }

    .hero-section,
    .section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-grid,
    .split,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 64px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-text,
    .approach-text {
        font-size: 18px;
    }

    .contact-box,
    .site-footer {
        flex-direction: column;
    }

    .contact-box {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-content h1 {
        font-size: 44px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }
}
