.project-choice-page {
    --choice-cyan: #71edf4;
    --choice-cyan-rgb: 113, 237, 244;
    --choice-magenta: #e09bff;
    --choice-magenta-rgb: 224, 155, 255;
    --choice-gold: #ffd27d;
    position: relative;
    isolation: isolate;
    min-height: 100%;
    overflow-x: hidden;
    background: #020711;
    color: #f5f9ff;
}

.project-choice-page::before,
.project-choice-page::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
}

.project-choice-page::before {
    background: url("images/home/agent-path-cyan-moon.webp?v=20260720-2") 70% center / cover no-repeat;
    filter: blur(22px) brightness(0.34) saturate(0.92);
    transform: scale(1.1);
}

.project-choice-page::after {
    z-index: -1;
    background:
        radial-gradient(circle at 18% 10%, rgba(var(--choice-cyan-rgb), 0.12), transparent 32rem),
        radial-gradient(circle at 90% 58%, rgba(var(--choice-magenta-rgb), 0.11), transparent 34rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.56), rgba(2, 7, 17, 0.92));
}

.project-choice-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1240px, calc(100% - 32px));
    min-height: 64px;
    margin: max(14px, env(safe-area-inset-top)) auto 0;
    padding: 8px 10px 8px 14px;
    border: 1px solid rgba(235, 248, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(12, 27, 44, 0.72), rgba(4, 13, 24, 0.64));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.11), 0 20px 55px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
}

.project-choice-brand {
    display: block;
    width: clamp(174px, 18vw, 230px);
    text-decoration: none;
}

.project-choice-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.project-choice-back {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(235, 248, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #d8e5f2;
    font-size: 0.8rem;
    font-weight: 760;
    text-decoration: none;
}

.project-choice-main {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
    padding: clamp(58px, 7vw, 94px) 0 max(52px, env(safe-area-inset-bottom));
}

.project-choice-hero {
    width: min(820px, 100%);
    margin: 0 auto clamp(34px, 5vw, 58px);
    text-align: center;
}

.project-choice-kicker {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    color: var(--choice-cyan);
    font-size: 0.71rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.project-choice-kicker::before,
.project-choice-kicker::after {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.project-choice-hero h1 {
    max-width: 12ch;
    margin: 0 auto 20px;
    background: linear-gradient(104deg, #fff 5%, #c8faff 54%, #ffe2aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(3rem, 7vw, 6.4rem);
    font-weight: 790;
    letter-spacing: -0.06em;
    line-height: 0.93;
}

.project-choice-lead {
    max-width: 68ch;
    margin: 0 auto 24px;
    color: #c9d8e7;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.68;
}

.project-choice-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-choice-tools li {
    padding: 8px 12px;
    border: 1px solid rgba(var(--choice-cyan-rgb), 0.2);
    border-radius: 999px;
    background: rgba(var(--choice-cyan-rgb), 0.065);
    color: #c8f9fc;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
}

.project-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 30px);
    align-items: stretch;
}

.project-card {
    position: relative;
    display: grid;
    grid-template-rows: minmax(245px, 0.82fr) minmax(0, 1.18fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(235, 248, 255, 0.16);
    border-radius: 32px;
    background: linear-gradient(155deg, rgba(13, 29, 48, 0.88), rgba(4, 13, 24, 0.92));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    backdrop-filter: blur(22px) saturate(135%);
}

.project-card-pico {
    border-top-color: rgba(var(--choice-cyan-rgb), 0.55);
}

.project-card-museum {
    border-top-color: rgba(var(--choice-magenta-rgb), 0.55);
}

.project-card-art {
    position: relative;
    min-height: 245px;
    overflow: hidden;
}

.project-card-art::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 42%, rgba(5, 14, 25, 0.96) 100%),
        linear-gradient(100deg, rgba(3, 10, 19, 0.16), transparent 65%);
    content: "";
}

.project-card-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease, filter 500ms ease;
}

.project-card-pico .project-card-art img {
    object-position: center 55%;
}

.project-card-museum .project-card-art img {
    object-position: center 48%;
}

.project-route-mark {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: rgba(4, 13, 24, 0.58);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
    color: var(--choice-cyan);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 900;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.project-card-museum .project-route-mark {
    color: var(--choice-magenta);
}

.project-card-body {
    display: flex;
    flex-direction: column;
    padding: clamp(23px, 3.1vw, 36px);
}

.project-card-type {
    margin: 0 0 13px;
    color: var(--choice-cyan);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-card-museum .project-card-type {
    color: var(--choice-magenta);
}

.project-card h2 {
    margin: 0 0 17px;
    color: #f7faff;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 790;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.project-card h2 span {
    display: block;
    margin-top: 10px;
    color: #b9c9d9;
    font-size: clamp(0.92rem, 1.3vw, 1.06rem);
    font-weight: 680;
    letter-spacing: 0;
    line-height: 1.35;
}

.project-card-body > p:not(.project-card-type) {
    margin: 0 0 20px;
    color: #b7c7d7;
    line-height: 1.65;
}

.project-card-details {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    color: #d7e2ed;
    font-size: 0.88rem;
    line-height: 1.45;
    list-style: none;
}

.project-card-details li {
    position: relative;
    padding-left: 23px;
}

.project-card-details li::before {
    position: absolute;
    top: 0.14em;
    left: 0;
    color: var(--choice-cyan);
    content: "◇";
    font-weight: 900;
}

.project-card-museum .project-card-details li::before {
    color: var(--choice-magenta);
}

.project-preview-action,
.project-start-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: auto;
    padding: 12px 18px;
    border: 1px dashed rgba(var(--choice-cyan-rgb), 0.32);
    border-radius: 15px;
    background: rgba(var(--choice-cyan-rgb), 0.055);
    color: #9db0c3;
    font-size: 0.8rem;
    font-weight: 780;
    text-align: center;
}

.project-start-action {
    gap: 10px;
    border-style: solid;
    border-color: rgba(var(--choice-cyan-rgb), 0.6);
    background: linear-gradient(130deg, rgba(var(--choice-cyan-rgb), 0.2), rgba(var(--choice-cyan-rgb), 0.08));
    box-shadow: 0 12px 30px rgba(var(--choice-cyan-rgb), 0.1);
    color: #d9fdff;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-start-action span {
    font-size: 1rem;
    transition: transform 180ms ease;
}

.project-card-museum .project-preview-action {
    border-color: rgba(var(--choice-magenta-rgb), 0.32);
    background: rgba(var(--choice-magenta-rgb), 0.055);
}

.project-card-museum .project-start-action {
    border-color: rgba(var(--choice-magenta-rgb), 0.62);
    background: linear-gradient(130deg, rgba(var(--choice-magenta-rgb), 0.22), rgba(var(--choice-magenta-rgb), 0.08));
    box-shadow: 0 12px 30px rgba(var(--choice-magenta-rgb), 0.12);
    color: #ffe3fc;
}

.project-choice-note {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    width: min(760px, 100%);
    margin: 28px auto 0;
    color: #91a6ba;
    font-size: 0.8rem;
    line-height: 1.55;
    text-align: center;
}

.project-choice-note span {
    color: var(--choice-gold);
}

.project-choice-page :focus-visible {
    outline: 3px solid var(--choice-gold);
    outline-offset: 4px;
}

.project-choice-back:hover {
    border-color: rgba(var(--choice-cyan-rgb), 0.34);
    background: rgba(var(--choice-cyan-rgb), 0.09);
    color: #fff;
}

.project-start-action:hover {
    border-color: var(--choice-cyan);
    background: linear-gradient(130deg, rgba(var(--choice-cyan-rgb), 0.3), rgba(var(--choice-cyan-rgb), 0.12));
    color: #fff;
    transform: translateY(-1px);
}

.project-card-museum .project-start-action:hover {
    border-color: var(--choice-magenta);
    background: linear-gradient(130deg, rgba(var(--choice-magenta-rgb), 0.32), rgba(var(--choice-magenta-rgb), 0.13));
}

.project-start-action:hover span {
    transform: translateX(3px);
}

.project-card:hover .project-card-art img {
    filter: saturate(1.08) brightness(1.04);
    transform: scale(1.025);
}

@media (max-width: 820px) {
    .project-choice-main {
        width: min(100% - 28px, 680px);
        padding-top: 48px;
    }

    .project-choice-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-card {
        grid-template-rows: minmax(230px, 44vw) auto;
    }
}

@media (max-width: 560px) {
    .project-choice-header {
        width: calc(100% - 20px);
        min-height: 60px;
        padding: 6px 7px 6px 10px;
        border-radius: 21px;
    }

    .project-choice-brand {
        width: 145px;
    }

    .project-choice-back {
        padding-inline: 12px;
        font-size: 0.74rem;
    }

    .project-choice-main {
        padding-top: 42px;
    }

    .project-choice-kicker::before,
    .project-choice-kicker::after {
        width: 18px;
    }

    .project-choice-hero h1 {
        font-size: clamp(3rem, 15.5vw, 4.7rem);
    }

    .project-choice-tools {
        align-items: center;
        flex-direction: column;
    }

    .project-card {
        grid-template-rows: 220px auto;
        border-radius: 27px;
    }

    .project-choice-note {
        text-align: left;
    }
}

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

@media (forced-colors: active) {
    .project-choice-page::before,
    .project-choice-page::after {
        display: none;
    }

    .project-choice-header,
    .project-card,
    .project-choice-tools li,
    .project-preview-action,
    .project-start-action {
        border: 2px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .project-choice-hero h1 {
        color: CanvasText;
    }
}
