:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55;
    color: #102039;
    background: #f6f8fc;
    --navy: #102039;
    --ink: #102039;
    --muted: #44536b;
    --blue: #1d4fb7;
    --border: #d9e2ef;
    --wrap: 72rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

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

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #508bff;
    outline-offset: 4px;
    border-radius: 3px;
}

.wrap {
    width: min(var(--wrap), calc(100% - 4rem));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 2;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.6rem 1rem;
    background: white;
    color: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.intro {
    background: var(--navy);
    color: white;
}

.header {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #ffffff24;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.23rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.wordmark-image {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.2rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.55rem;
    background: #294264;
}

.wordmark-image img {
    position: absolute;
    width: 175%;
    height: auto;
    max-width: none;
}

.header nav {
    display: flex;
    gap: clamp(0.95rem, 3vw, 2.25rem);
}

.header nav a {
    display: inline-block;
    padding-block: 0.65rem;
    color: #e6edf9;
    font-weight: 600;
    text-decoration: none;
}

.header nav a:hover,
.header nav a:focus-visible {
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.hero {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    gap: clamp(2rem, 7vw, 6.5rem);
    padding-block: clamp(3rem, 7vw, 6.25rem);
}

.hero h1,
h2,
h3,
p {
    margin: 0;
}

.hero h1 {
    max-width: 12.5ch;
    font-size: clamp(2.45rem, 5.5vw, 5rem);
    font-weight: 780;
    line-height: 0.99;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero-content > p {
    max-width: 34rem;
    margin-top: 1.4rem;
    color: #d4e1f5;
    font-size: clamp(1.02rem, 1.5vw, 1.19rem);
}

.button {
    display: inline-block;
    margin-top: 1.7rem;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    background: #acccff;
    color: #10294c;
    font-weight: 750;
    text-decoration: none;
}

.button:hover {
    background: #d1e3ff;
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.32;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #7093c96b;
    border-radius: clamp(1rem, 3vw, 1.75rem);
    background:
        radial-gradient(ellipse at 50% 55%, #6d9ef19c, transparent 61%),
        linear-gradient(155deg, #245396, #142a4c 62%, #142440);
}

.hero-art::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(#d5e6ff1e 1px, transparent 1px),
        linear-gradient(90deg, #d5e6ff1e 1px, transparent 1px);
    background-position: center;
    background-size: clamp(1rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.25rem);
    content: "";
}

.orbit {
    position: absolute;
    z-index: -1;
    aspect-ratio: 1;
    width: 54%;
    border: 1px solid #deebff3e;
    border-radius: 50%;
}

.orbit-outer {
    width: 70%;
    border-color: #deebff2c;
}

.hero-logo {
    position: absolute;
    display: grid;
    place-items: center;
    width: 106%;
    height: 100%;
    filter: drop-shadow(0 1.4rem 1.3rem #0a1739a6);
}

.hero-logo img {
    position: absolute;
    width: min(100%, 32rem);
    height: auto;
}

.projects {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: #f6f8fc;
    color: var(--ink);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

.project {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: clamp(1.15rem, 3vw, 1.65rem);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: white;
}

.project-category {
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 750;
}

.project h3 {
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.project p:not(.project-category) {
    color: var(--muted);
}

.project-link {
    margin-top: auto;
    padding-top: 0.55rem;
    color: var(--blue);
    font-weight: 680;
    text-underline-offset: 0.22em;
}

.project-link:hover {
    color: #133681;
}

.footer {
    padding-block: 1.2rem;
    background: var(--navy);
    color: #d4e1f5;
    font-size: 0.9rem;
}

@media (max-width: 53rem) {
    .wrap {
        width: min(var(--wrap), calc(100% - 2.5rem));
    }

    .hero {
        gap: 1.75rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 6.1vw, 3.55rem);
    }
}

@media (max-width: 39rem) {
    .wrap {
        width: calc(100% - 2rem);
    }

    .header {
        min-height: 4.15rem;
    }

    .hero,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 2rem;
        padding-block: 2.85rem;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 9vw, 3.3rem);
    }

    .hero-art {
        aspect-ratio: 1.65;
    }

    .hero-logo img {
        width: min(96%, 25rem);
    }
}

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