:root {
    --bg-top: #f8fafc;
    --bg-bottom: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
    --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --radius: 1.25rem;
    --shell: 56rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(165deg, var(--bg-top) 0%, #eef2ff 45%, var(--bg-bottom) 100%);
    line-height: 1.6;
}

.skip {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 2px solid #334155;
    border-radius: 8px;
    z-index: 100;
}

.site {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.hero__banner {
    width: 100%;
    max-width: 64rem;
    height: auto;
    aspect-ratio: 1024 / 254;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow:
        0 16px 48px rgba(30, 122, 184, 0.22),
        0 4px 16px rgba(15, 23, 42, 0.08);
}

.hero__title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero__tagline {
    margin: 0;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 32rem;
    margin-inline: auto;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    outline: none;
}

.project-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 1.25rem;
    background: var(--project-accent-light, #f1f5f9);
}

.project-card__icon {
    width: min(7.5rem, 42vw);
    height: min(7.5rem, 42vw);
    object-fit: contain;
    border-radius: 22%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.project-card__body {
    padding: 0 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--project-accent, var(--text));
}

.project-card__tagline {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.project-card__desc {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--muted);
    flex: 1;
}

.project-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--project-accent, #0f172a);
}

.project-card__cta::after {
    content: "→";
    transition: transform 0.2s ease;
}

.project-card:hover .project-card__cta::after,
.project-card:focus-visible .project-card__cta::after {
    transform: translateX(4px);
}

.site-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}
