﻿@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;600&display=swap");

:root {
    --grid-line: rgba(74, 67, 77, 0.06);
}

body {
    font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: radial-gradient(900px 520px at 12% -10%, rgba(164, 168, 209, 0.25), transparent 60%),
        radial-gradient(880px 600px at 90% 0%, rgba(164, 191, 235, 0.28), transparent 55%),
        radial-gradient(780px 520px at 30% 70%, rgba(187, 160, 178, 0.22), transparent 60%),
        var(--bg);
}

h1,
h2,
h3 {
    font-family: "Fraunces", "Times New Roman", serif;
    letter-spacing: -0.02em;
}

p {
    color: rgba(74, 67, 77, 0.78);
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(74, 67, 77, 0.08);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
}

.brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav a {
    border-radius: 12px;
    border: 1px solid transparent;
    color: rgba(74, 67, 77, 0.75);
}

.nav a:hover {
    background: rgba(164, 191, 235, 0.18);
    border-color: rgba(164, 191, 235, 0.3);
}

.hero {
    position: relative;
    padding: 5.5rem 1.5rem 4rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: 0.25;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.hero-copy {
    z-index: 1;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(74, 67, 77, 0.12);
    background: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(74, 67, 77, 0.72);
    margin-bottom: 18px;
}

.hero-text {
    max-width: 56ch;
}

.hero-actions .button.primary {
    background: linear-gradient(135deg, rgba(164, 191, 235, 0.9), rgba(187, 160, 178, 0.9));
    color: #4a434d;
    border-color: transparent;
}

.hero-actions .button.primary:hover {
    background: linear-gradient(135deg, rgba(164, 191, 235, 0.95), rgba(157, 133, 141, 0.9));
}

.button.secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(74, 67, 77, 0.12);
}

.quick-links {
    margin: 0 0 1rem;
}

.quick-links a {
    color: rgba(74, 67, 77, 0.7);
}

.quick-links a:hover {
    color: rgba(157, 133, 141, 0.9);
    text-decoration: none;
}

.hero-panel {
    display: grid;
    gap: 18px;
    z-index: 1;
}

.panel-card {
    position: relative;
    padding: 18px 20px 20px;
    background: var(--card);
    border-radius: var(--radius-soft);
    border: 1px solid rgba(74, 67, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.panel-card::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-soft), var(--accent-2));
    border-radius: 999px;
}

.panel-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(74, 67, 77, 0.5);
    margin-bottom: 6px;
}

.panel-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.panel-text {
    margin: 0;
    color: rgba(74, 67, 77, 0.72);
}

.panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: rgba(74, 67, 77, 0.72);
}

.panel-list li {
    padding-left: 16px;
    position: relative;
}

.panel-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
}

.section {
    padding: clamp(60px, 8vh, 110px) 0;
}

.section-inner {
    max-width: 1100px;
}

.section-intro {
    max-width: 60ch;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.card {
    border-radius: var(--radius-soft);
    border: 1px solid rgba(74, 67, 77, 0.08);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.projects-grid {
    gap: 20px;
}

.project-card .card {
    position: relative;
    overflow: hidden;
}

.project-card .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid rgba(164, 191, 235, 0.6);
    pointer-events: none;
}

.project-card:nth-child(2) .card::after {
    border-top-color: rgba(187, 160, 178, 0.7);
}

.project-card:nth-child(3) .card::after {
    border-top-color: rgba(164, 168, 209, 0.6);
}

.project-card .card:hover {
    transform: translateY(-6px);
}

.project-card:nth-child(odd) .card,
.project-card:nth-child(3n) .card {
    transform: none;
}

.feature-list {
    padding-left: 18px;
    color: rgba(74, 67, 77, 0.68);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.site-footer {
    background: rgba(164, 168, 209, 0.15);
}

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

.footer-links a {
    border-radius: 999px;
    border: 1px solid rgba(74, 67, 77, 0.08);
    padding: 6px 12px;
}

.footer-links a:hover {
    background: rgba(164, 191, 235, 0.18);
    border-color: rgba(164, 191, 235, 0.3);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.hero-panel {
    animation: rise 0.8s ease both;
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}
