:root {
    --bg-dark: #0f172a;
    --bg-mid: #172554;
    --surface: rgba(255, 255, 255, 0.96);
    --surface-soft: #eff6ff;
    --text: #0f172a;
    --muted: #475569;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --border: #bfdbfe;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 24%, #dbeafe 24%, #eff6ff 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    padding: 4rem 0 2rem;
    color: #f8fafc;
}

.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 3.75rem);
}

.hero-copy {
    max-width: 700px;
    margin: 1rem 0 0;
    color: #dbeafe;
}

.quick-links,
.project-actions,
.check-list,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-links {
    margin-top: 1.5rem;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button-link:hover,
.button-link:focus-visible {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.button-link--muted {
    background: #e2e8f0;
    color: var(--text);
}

.button-link--muted:hover,
.button-link--muted:focus-visible {
    background: #cbd5e1;
}

.main-content {
    padding: 1rem 0 3rem;
}

.section-card,
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.section-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2,
.section-card h2,
.project-copy h3 {
    margin-top: 0;
}

.section-heading p,
.section-card p,
.project-copy p,
.project-details {
    color: var(--muted);
}

.project-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    overflow: hidden;
}

.project-image-link {
    background: #dbeafe;
}

.project-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.project-copy {
    padding: 1.5rem;
}

.project-tag {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-details {
    padding-left: 1.2rem;
    margin: 1rem 0 1.5rem;
}

.check-list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.check-list a,
.footer-links a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.check-list a:hover,
.check-list a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.site-footer {
    padding: 0 0 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #eff6ff;
}

.footer-content p {
    margin: 0;
}

.footer-links a {
    color: #bfdbfe;
}

@media (max-width: 820px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 220px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}