body.cf-theme.cf-page-shell {
    background:
        linear-gradient(180deg, rgba(11, 16, 33, 0.18) 0%, rgba(13, 18, 35, 0.42) 22%, rgba(14, 17, 34, 0.76) 48%, rgba(13, 18, 33, 0.96) 100%),
        radial-gradient(circle at 18% 16%, rgba(109, 141, 255, 0.2), transparent 24%),
        radial-gradient(circle at 82% 14%, rgba(242, 169, 110, 0.14), transparent 22%),
        url("/jpg/header-bg.webp") center top / 100% auto no-repeat,
        linear-gradient(180deg, #1d2450 0%, #17152a 56%, #0d1324 100%);
    background-color: #0d1324;
}

.cf-page {
    position: relative;
    overflow: clip;
    padding: 5.45rem 0 4.5rem;
}

.cf-page::before,
.cf-page::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cf-page::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.8px),
        radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.8px),
        radial-gradient(circle at 84% 54%, rgba(255, 255, 255, 0.06) 0 1.2px, transparent 2px),
        radial-gradient(circle at 28% 76%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1.8px);
    opacity: 0.38;
    background-size: 340px 340px, 360px 360px, 400px 400px, 320px 320px;
}

.cf-page::after {
    background:
        radial-gradient(circle at 72% 10%, rgba(255, 216, 186, 0.16), transparent 16%),
        radial-gradient(circle at 24% 44%, rgba(127, 149, 255, 0.12), transparent 24%),
        radial-gradient(circle at 68% 72%, rgba(179, 120, 255, 0.1), transparent 24%);
}

.cf-page > .container {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.cf-page .btn {
    border-radius: 1rem;
    padding: 0.8rem 1.12rem;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 18px 30px rgba(6, 10, 20, 0.24);
}

.cf-page .btn-light {
    color: #ffffff;
    border-color: rgba(255, 170, 83, 0.45);
    background: linear-gradient(180deg, #ffa84a, #e66a25);
}

.cf-page .btn-light:hover,
.cf-page .btn-light:focus {
    color: #ffffff;
    background: linear-gradient(180deg, #ffb25a, #eb7630);
}

.cf-page .btn-outline-light {
    color: #ffffff;
    border-color: rgba(135, 157, 255, 0.22);
    background: linear-gradient(180deg, #385a95, #253a61);
}

.cf-page .btn-outline-light:hover,
.cf-page .btn-outline-light:focus {
    color: #ffffff;
    background: linear-gradient(180deg, #4168ab, #2c4672);
}

.cf-page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: center;
    padding: 1.55rem 0 2.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cf-page-hero--simple {
    grid-template-columns: minmax(0, 1fr);
}

.cf-page-hero--simple .cf-page-hero-copy {
    max-width: 52rem;
}

.cf-page-hero--wide .cf-page-hero-copy,
.cf-page-hero--wide .cf-page-lead {
    max-width: none;
}

.cf-page-hero--project {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: start;
    gap: 1.75rem;
}

.cf-page-hero-copy {
    max-width: 40rem;
}

.cf-page-hero--project .cf-page-hero-copy {
    padding-top: 0.55rem;
}

.cf-page-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    color: var(--cf-theme-accent-soft);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cf-page-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    line-height: 1.04;
    text-shadow: 0 16px 36px rgba(6, 10, 20, 0.34);
}

.cf-page-lead {
    margin: 1rem 0 0;
    color: rgba(247, 241, 232, 0.92);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 42rem;
    text-shadow: 0 10px 22px rgba(6, 10, 20, 0.18);
}

.cf-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.cf-page-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
}

.cf-page-cta span {
    min-width: 0;
}

.cf-page-cta i {
    flex: 0 0 auto;
    font-size: 0.9rem;
    transition: transform 180ms ease;
}

.cf-page-cta:hover i,
.cf-page-cta:focus i {
    transform: translateX(0.16rem);
}

.cf-page-cta--block {
    width: 100%;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
}

.cf-page-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.cf-page-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.cf-page-stat {
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
    background: rgba(12, 18, 34, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 30px rgba(6, 10, 20, 0.18);
}

.cf-page-stat strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cf-page-stat span {
    display: block;
    color: var(--cf-theme-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cf-page-hero-visual {
    position: relative;
    min-height: 22rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(16, 22, 42, 0.12), rgba(10, 14, 24, 0.42)),
        linear-gradient(145deg, rgba(45, 55, 98, 0.84), rgba(20, 27, 50, 0.92));
    box-shadow: var(--cf-theme-shadow);
}

.cf-page-hero--project .cf-page-hero-visual {
    width: 100%;
    max-width: 34rem;
    min-height: clamp(22rem, 34vw, 28rem);
    justify-self: end;
}

.cf-page-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 18%, rgba(255, 216, 186, 0.24), transparent 16%),
        radial-gradient(circle at 16% 88%, rgba(125, 146, 255, 0.18), transparent 22%);
    pointer-events: none;
}

.cf-page-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.cf-page-hero-visual--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 216, 186, 0.18), transparent 18%),
        linear-gradient(145deg, rgba(45, 55, 98, 0.84), rgba(20, 27, 50, 0.92));
}

.cf-page-hero-visual--logo::before {
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 216, 186, 0.18), transparent 18%),
        radial-gradient(circle at 18% 88%, rgba(125, 146, 255, 0.12), transparent 22%);
}

.cf-page-hero-visual--logo img {
    position: relative;
    z-index: 1;
    width: min(100%, 14.5rem);
    height: auto;
    inset: auto;
    object-fit: contain;
}

.cf-page-hero-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    background: rgba(8, 12, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cf-page-hero-note strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
}

.cf-page-hero-note span {
    display: block;
    margin-top: 0.2rem;
    color: var(--cf-theme-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cf-page-section {
    margin-top: 2.4rem;
}

.cf-page-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cf-page-section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.3vw, 2.25rem);
}

.cf-page-section-head p {
    margin: 0.55rem 0 0;
    color: var(--cf-theme-muted);
    line-height: 1.7;
}

.cf-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cf-theme-accent-soft);
    font-size: 0.92rem;
    white-space: nowrap;
}

.cf-page-link:hover,
.cf-page-link:focus {
    color: #ffffff;
}

.cf-page-link i {
    font-size: 0.8rem;
}

.cf-page-panel {
    padding: 1.35rem;
    border-radius: 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 15, 28, 0.68);
    box-shadow: 0 20px 50px rgba(4, 8, 20, 0.26);
}

.cf-page-panel--soft {
    background: rgba(21, 27, 50, 0.54);
}

.cf-page-grid {
    display: grid;
    gap: 1.2rem;
}

.cf-page-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-page-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-page-bullet-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-page-bullet-list li {
    padding-left: 1.1rem;
    position: relative;
    color: rgba(247, 241, 232, 0.92);
    line-height: 1.65;
}

.cf-page-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffb162, #f18730);
}

.cf-page-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.cf-page-project-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 22rem;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #11182d;
    box-shadow: 0 24px 56px rgba(4, 8, 20, 0.28);
    color: #ffffff;
    transition: box-shadow 220ms ease, border-color 220ms ease;
}

.cf-page-project-card::before,
.cf-page-project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.cf-page-project-card::before {
    background: var(--card-image) center / cover no-repeat;
    transition: transform 260ms ease, filter 220ms ease;
}

.cf-page-project-card::after {
    z-index: 1;
    background: rgba(8, 12, 24, 0.34);
    opacity: 0;
    transition: opacity 220ms ease;
}

.cf-page-project-card:hover,
.cf-page-project-card:focus-within {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 52px rgba(4, 8, 20, 0.24);
}

.cf-page-project-card:hover::before,
.cf-page-project-card:focus-within::before {
    transform: scale(1.03);
    filter: saturate(0.95) brightness(0.82);
}

.cf-page-project-card:hover::after,
.cf-page-project-card:focus-within::after {
    opacity: 1;
}

.cf-page-project-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    max-width: 26rem;
    padding: 1.15rem 1.2rem 1.25rem;
    gap: 0.65rem;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0) 26%, rgba(8, 12, 24, 0.08) 52%, rgba(8, 12, 24, 0.58) 100%);
    transition: gap 220ms ease;
}

.cf-page-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(12, 18, 34, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 243, 228, 0.92);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cf-page-project-card .cf-page-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(12, 18, 34, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--cf-theme-accent-soft);
    font-size: 0.68rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    box-shadow: 0 10px 24px rgba(6, 10, 20, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cf-page-project-card h3,
.cf-page-member-name,
.cf-page-feature-card h3,
.cf-page-panel h3 {
    color: #ffffff;
    text-shadow: 0 16px 30px rgba(6, 10, 20, 0.5), 0 4px 10px rgba(6, 10, 20, 0.3);
}

.cf-page-project-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.16;
}

.cf-page-project-card p {
    margin: 0;
    color: rgba(247, 241, 232, 0.82);
    font-size: 0.9rem;
    line-height: 1.54;
    text-shadow: 0 8px 18px rgba(6, 10, 20, 0.28);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.cf-page-member-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.95rem;
    align-items: start;
}

.cf-page-member {
    padding: 1rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 16, 30, 0.68);
    box-shadow: 0 18px 36px rgba(4, 8, 20, 0.2);
}

.cf-page-member-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1.05rem;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
}

.cf-page-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.18);
    transform-origin: center top;
}

.cf-page-member-name {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.2;
}

.cf-page-member-role {
    margin-top: 0.28rem;
    color: var(--cf-theme-accent-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.cf-page-member-meta {
    margin-top: 0.72rem;
    color: var(--cf-theme-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cf-page-member-meta > div + div {
    margin-top: 0.16rem;
}

.cf-page-member-contribution {
    margin-top: 0.78rem;
    padding-top: 0.72rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(247, 241, 232, 0.88);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cf-page-logo-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.4rem 2rem;
    align-items: center;
}

.cf-page-logo-cloud img {
    width: 100%;
    max-width: 240px;
    height: 78px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}

@media (hover: hover) and (pointer: fine) {
    .cf-page-project-card-content {
        gap: 0.24rem;
    }

    .cf-page-project-card p,
    .cf-page-project-card .cf-page-link {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(0.55rem);
        transition:
            max-height 220ms ease,
            opacity 180ms ease,
            transform 220ms ease,
            margin-top 220ms ease;
    }

    .cf-page-project-card .cf-page-link {
        margin-top: -0.15rem;
    }

    .cf-page-project-card:hover .cf-page-project-card-content,
    .cf-page-project-card:focus-within .cf-page-project-card-content {
        gap: 0.7rem;
    }

    .cf-page-project-card:hover p,
    .cf-page-project-card:hover .cf-page-link,
    .cf-page-project-card:focus-within p,
    .cf-page-project-card:focus-within .cf-page-link {
        max-height: 9rem;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .cf-page-project-card:hover .cf-page-link,
    .cf-page-project-card:focus-within .cf-page-link {
        margin-top: 0.15rem;
    }
}

.cf-page-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.cf-page-download-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 15, 28, 0.56);
}

.cf-page-download-card strong {
    color: #ffffff;
    font-size: 1rem;
}

.cf-page-download-card p {
    margin: 0;
    color: var(--cf-theme-muted);
    line-height: 1.6;
}

.cf-page-download-card .cf-page-cta--block {
    margin-top: auto;
    min-height: 3.35rem;
    border-radius: 1.1rem;
    box-shadow: 0 16px 28px rgba(4, 8, 18, 0.24);
}

.cf-page-download-card .cf-page-cta--block i {
    opacity: 0.92;
}

.cf-page-prose {
    color: rgba(247, 241, 232, 0.9);
    line-height: 1.75;
}

.cf-page-prose > *:last-child {
    margin-bottom: 0;
}

.cf-page-prose h2,
.cf-page-prose h3 {
    margin-top: 1.7rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.cf-page-prose h2:first-child,
.cf-page-prose h3:first-child {
    margin-top: 0;
}

.cf-page-prose p,
.cf-page-prose ul,
.cf-page-prose ol {
    margin-bottom: 1rem;
}

.cf-page-prose ul,
.cf-page-prose ol {
    padding-left: 1.25rem;
}

.cf-page-prose li + li {
    margin-top: 0.5rem;
}

.cf-page-prose a {
    color: var(--cf-theme-accent-soft);
}

.cf-page-prose a:hover,
.cf-page-prose a:focus {
    color: #ffffff;
}

.cf-page-prose img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.2rem auto;
    border-radius: 1.25rem;
    box-shadow: 0 18px 34px rgba(4, 8, 20, 0.2);
}

.cf-page-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.cf-page-gallery--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-page-gallery img {
    margin: 0;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
}

.cf-page-callout {
    padding: 1.2rem 1.25rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(30, 39, 72, 0.5);
    color: rgba(247, 241, 232, 0.92);
}

.cf-page-callout strong {
    color: #ffffff;
}

@media (max-width: 991px) {
    body.cf-theme.cf-page-shell {
        background:
            linear-gradient(180deg, rgba(11, 16, 33, 0.22) 0%, rgba(13, 18, 35, 0.48) 24%, rgba(14, 17, 34, 0.82) 52%, rgba(13, 18, 33, 0.98) 100%),
            radial-gradient(circle at 18% 16%, rgba(109, 141, 255, 0.18), transparent 24%),
            radial-gradient(circle at 82% 14%, rgba(242, 169, 110, 0.12), transparent 22%),
            url("/jpg/header-bg.webp") center top / cover no-repeat,
            linear-gradient(180deg, #1d2450 0%, #17152a 56%, #0d1324 100%);
    }

    .cf-page-hero,
    .cf-page-grid--2,
    .cf-page-grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cf-page-hero--project .cf-page-hero-copy {
        padding-top: 0;
    }

    .cf-page-hero--project .cf-page-hero-visual {
        max-width: none;
        min-height: 22rem;
        justify-self: stretch;
    }

    .cf-page-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cf-page-member-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cf-page {
        padding: 5.15rem 0 4rem;
    }

    .cf-page-hero {
        gap: 1.35rem;
        padding-bottom: 2rem;
    }

    .cf-page-title {
        font-size: clamp(1.9rem, 10vw, 2.55rem);
    }

    .cf-page-panel,
    .cf-page-member,
    .cf-page-download-card {
        padding: 1.1rem;
    }

    .cf-page-member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cf-page-gallery,
    .cf-page-gallery--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cf-page-project-card {
        min-height: 19rem;
    }

    .cf-page-logo-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cf-page-logo-cloud img {
        height: 64px;
    }
}

@media (max-width: 575px) {
    .cf-page-member-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
