@charset "UTF-8";

:root {
    color-scheme: light;
    --ink: #172b3a;
    --muted: #647887;
    --accent: #147d78;
    --accent-dark: #0e625f;
    --line: #e2e9ed;
    --surface: #ffffff;
    --background: #f3f6f7;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    padding: clamp(24px, 6vw, 72px) 20px;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 12% 0%, rgba(20, 125, 120, 0.11), transparent 34rem),
        var(--background);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.55;
}

.site-shell {
    width: min(100%, 960px);
    margin: 0 auto;
}

.site-header {
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 24px 0 0;
    background: #172f3d;
    color: #fff;
    box-shadow: 0 18px 50px rgba(23, 43, 58, 0.12);
}

.eyebrow {
    margin: 0 0 14px;
    color: #80d5c7;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

h1 {
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 750;
    letter-spacing: -0.06em;
    line-height: 1.08;
}

h1 span {
    color: #80d5c7;
}

.intro {
    margin: 16px 0 0;
    color: #c1d0d6;
    font-size: 1.08rem;
}

.projects {
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    background: var(--surface);
    box-shadow: 0 20px 55px rgba(23, 43, 58, 0.08);
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 5px 0 0;
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 12px;
}

.project-link {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.project-link:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 125, 120, 0.42);
    background: #f7fcfb;
    box-shadow: 0 8px 20px rgba(23, 43, 58, 0.07);
}

.arrow {
    color: var(--accent);
    font-size: 1.1rem;
    transition: transform 160ms ease;
}

.project-link:hover .arrow {
    transform: translate(2px, -2px);
}

.project-link:focus-visible {
    outline: 3px solid rgba(20, 125, 120, 0.35);
    outline-offset: 3px;
}

.site-footer {
    padding: 20px 8px 0;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
