@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #c9d8e6;
    --bg-soft: #d8e4ef;
    --panel: #15181f;
    --panel-soft: #232833;
    --panel-line: rgba(255, 255, 255, 0.08);
    --text: #0e1116;
    --text-soft: rgba(14, 17, 22, 0.68);
    --text-on-dark: #f7f9fc;
    --text-on-dark-soft: rgba(247, 249, 252, 0.72);
    --accent: #c9ff3b;
    --accent-soft: #efffbc;
    --max-width: 1440px;
    --radius-xl: 40px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --shadow-soft: 0 30px 80px rgba(19, 24, 32, 0.12);
    --shadow-deep: 0 35px 120px rgba(8, 10, 16, 0.18);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 24%),
        linear-gradient(180deg, #d7e4ef 0%, #c7d7e3 100%);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    pointer-events: none;
    opacity: 0.45;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.page-glow {
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
}

.glow-one {
    width: 360px;
    height: 360px;
    top: 120px;
    right: -120px;
    background: rgba(255, 255, 255, 0.56);
    border-radius: 40% 60% 58% 42%;
}

.glow-two {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: 10%;
    background: rgba(201, 255, 59, 0.12);
    border-radius: 54% 46% 35% 65%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(calc(100% - 32px), var(--max-width));
    margin: 16px auto 0;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 999px;
    border: 1px solid rgba(14, 17, 22, 0.08);
    background: rgba(244, 248, 252, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(14, 17, 22, 0.08);
}

.logo,
.nav-link,
.solid-btn,
.ghost-btn,
.section-kicker,
.card-kicker,
.note-label,
.pipeline-label {
    font-family: var(--font-display);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.nav-links,
.header-actions,
.hero-actions,
.footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    gap: 28px;
}

.nav-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.78;
}

.nav-link:hover {
    opacity: 1;
}

.solid-btn,
.ghost-btn {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.solid-btn.large,
.ghost-btn.large {
    min-height: 54px;
    padding: 0 22px;
}

.solid-btn {
    background: var(--panel);
    color: var(--text-on-dark);
    border: 1px solid var(--panel);
}

.solid-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    border: 1px solid rgba(14, 17, 22, 0.12);
    background: rgba(255, 255, 255, 0.34);
}

main,
.footer {
    position: relative;
    z-index: 1;
}

.hero,
.overview,
.projects,
.pipeline,
.team,
.footer {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
    gap: 28px;
    padding: 70px 0 52px;
    align-items: center;
}

.hero-copy {
    padding: 44px 10px 30px;
}

.hero-tag,
.section-kicker,
.card-kicker,
.note-label,
.pipeline-label,
.project-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 17, 22, 0.56);
}

.hero-title,
.section-heading h2,
.footer-panel h2 {
    font-family: var(--font-display);
    letter-spacing: -0.06em;
}

.hero-title {
    font-size: clamp(72px, 9vw, 126px);
    line-height: 0.9;
    max-width: 7.2em;
}

.hero-subtitle {
    max-width: 620px;
    margin-top: 22px;
    font-size: 20px;
    color: var(--text-soft);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.metric-card,
.mini-card,
.pipeline-card {
    border-radius: 22px;
    border: 1px solid rgba(14, 17, 22, 0.08);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow-soft);
}

.metric-card {
    padding: 18px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-card strong {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
}

.metric-card span {
    color: var(--text-soft);
    font-size: 14px;
}

.hero-stage {
    position: relative;
    min-height: 760px;
    border-radius: 52px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(236, 243, 248, 0.92), rgba(190, 209, 223, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-soft);
    overflow: hidden;
}

.stage-surface {
    position: absolute;
    inset: 44px 34px 34px 90px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(28, 31, 38, 0.98), rgba(16, 18, 26, 0.98));
    box-shadow: var(--shadow-deep);
}

.floating-card {
    position: absolute;
    border-radius: 30px;
    overflow: hidden;
}

.dark-panel,
.floating-card,
.team-card.dark-panel,
.footer-panel {
    background: linear-gradient(145deg, rgba(27, 31, 40, 0.98), rgba(18, 20, 28, 0.98));
    color: var(--text-on-dark);
    border: 1px solid var(--panel-line);
    box-shadow: var(--shadow-deep);
}

.hero-card-main {
    top: 92px;
    left: 146px;
    width: min(62%, 540px);
}

.hero-card-side {
    right: 56px;
    top: 190px;
    width: min(38%, 300px);
}

.note-card {
    max-width: 250px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    border: 1px solid rgba(14, 17, 22, 0.08);
    box-shadow: 0 20px 60px rgba(14, 17, 22, 0.12);
}

.note-card strong {
    display: block;
    font-size: 16px;
    line-height: 1.45;
}

.note-card-top {
    top: 72px;
    right: 42px;
    transform: rotate(4deg);
}

.note-card-bottom {
    left: 82px;
    bottom: 56px;
    transform: rotate(-6deg);
}

.card-media {
    background-position: center;
    background-size: cover;
}

.card-media.tall {
    min-height: 340px;
}

.card-media.short {
    min-height: 210px;
}

.card-copy {
    padding: 22px 24px 24px;
}

.card-copy h2 {
    font-family: var(--font-display);
    font-size: 34px;
    letter-spacing: -0.05em;
}

.card-copy p,
.overview-copy p,
.pipeline-sticky p,
.footer-panel p,
.team-card p,
.project-overlay p {
    color: var(--text-on-dark-soft);
}

.card-copy.compact p {
    font-size: 14px;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 24px;
}

.section-heading-wide {
    max-width: 980px;
}

.section-heading h2,
.footer-panel h2 {
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: 0.96;
}

.overview,
.projects,
.pipeline,
.team {
    padding: 56px 0;
}

.overview-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 22px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.overview-copy {
    padding: 10px 10px 10px 4px;
}

.overview-copy p {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: 19px;
}

.overview-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.overview-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-on-dark-soft);
}

.overview-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mini-card {
    min-height: 210px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-card span,
.pipeline-card span {
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.56);
}

.mini-card strong,
.pipeline-card h4 {
    font-size: 22px;
    line-height: 1.15;
}

.mini-card.accent {
    background: linear-gradient(135deg, rgba(201, 255, 59, 0.92), rgba(239, 255, 188, 0.88));
    color: #101318;
}

.mini-card.accent span,
.mini-card.accent strong {
    color: inherit;
}

.image-card,
.image-panel,
.image-team,
.project-card {
    background-position: center;
    background-size: cover;
}

.image-card {
    min-height: 210px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    min-height: 340px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(14, 17, 22, 0.08);
    box-shadow: var(--shadow-soft);
}

.project-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 700px;
}

.project-card.wide {
    grid-column: span 2;
}

.project-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(180deg, rgba(12, 14, 20, 0) 0%, rgba(12, 14, 20, 0.9) 100%);
    color: var(--text-on-dark);
}

.project-overlay h3 {
    font-family: var(--font-display);
    font-size: 34px;
    letter-spacing: -0.05em;
    margin-bottom: 6px;
}

.project-overlay span {
    color: rgba(247, 249, 252, 0.62);
}

.pipeline-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pipeline-sticky {
    position: sticky;
    top: 112px;
    padding: 28px;
    border-radius: 34px;
}

.pipeline-sticky h3 {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.pipeline-sticky p {
    margin-bottom: 20px;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pipeline-card {
    min-height: 230px;
    padding: 22px;
}

.pipeline-card h4 {
    margin: 16px 0 10px;
}

.pipeline-card p {
    color: var(--text-soft);
}

.accent-card {
    background: linear-gradient(145deg, rgba(201, 255, 59, 0.9), rgba(239, 255, 188, 0.92));
}

.accent-card span,
.accent-card h4,
.accent-card p {
    color: #0f1217;
}

.image-panel {
    min-height: 478px;
    border-radius: 28px;
    border: 1px solid rgba(14, 17, 22, 0.08);
    box-shadow: var(--shadow-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.team-card {
    min-height: 320px;
    border-radius: 32px;
    padding: 26px;
    border: 1px solid rgba(14, 17, 22, 0.08);
    box-shadow: var(--shadow-soft);
}

.team-card.light-panel {
    background: rgba(255, 255, 255, 0.56);
}

.team-card.light-panel p,
.team-card.light-panel h3 {
    color: var(--text);
}

.team-avatar {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-on-dark);
    font-family: var(--font-display);
    font-size: 28px;
}

.team-avatar.accent {
    background: rgba(201, 255, 59, 0.7);
    color: #101318;
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.image-team {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.footer {
    padding: 56px 0 40px;
}

.footer-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: 38px;
}

.footer-panel p {
    max-width: 640px;
    margin-top: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 10px 0;
    color: rgba(14, 17, 22, 0.58);
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1280px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 680px;
    }

    .hero-card-main {
        left: 100px;
    }

    .overview-panel,
    .pipeline-layout,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .pipeline-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 980px) {
    .site-header {
        width: calc(100% - 20px);
        padding: 14px 16px;
        border-radius: 24px;
    }

    .nav-links {
        display: none;
    }

    .hero,
    .overview,
    .projects,
    .pipeline,
    .team,
    .footer {
        width: calc(100% - 20px);
    }

    .hero {
        padding-top: 42px;
    }

    .hero-title {
        font-size: clamp(54px, 16vw, 82px);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-metrics,
    .project-grid,
    .overview-grid,
    .pipeline-grid,
    .team-grid,
    .footer-panel,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero-stage {
        min-height: 700px;
        padding: 18px;
    }

    .stage-surface {
        inset: 28px 18px 18px;
    }

    .hero-card-main,
    .hero-card-side,
    .note-card-top,
    .note-card-bottom {
        position: absolute;
    }

    .hero-card-main {
        top: 70px;
        left: 28px;
        width: calc(100% - 56px);
    }

    .hero-card-side {
        top: 430px;
        left: 60px;
        right: 60px;
        width: auto;
    }

    .note-card-top {
        right: 20px;
        top: 26px;
    }

    .note-card-bottom {
        left: 22px;
        bottom: 28px;
    }

    .project-card-large,
    .project-card.wide {
        grid-column: span 1;
        min-height: 360px;
    }

    .footer-panel {
        align-items: start;
    }
}

@media (max-width: 640px) {
    body::before {
        inset: 10px;
        border-radius: 18px;
    }

    .header-actions {
        gap: 8px;
    }

    .solid-btn,
    .ghost-btn {
        min-height: 44px;
        padding: 0 14px;
        font-size: 12px;
    }

    .hero-copy {
        padding: 24px 2px 18px;
    }

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

    .hero-stage {
        min-height: 760px;
    }

    .hero-card-side {
        left: 24px;
        right: 24px;
        top: 448px;
    }

    .note-card {
        max-width: 200px;
        padding: 14px 16px;
    }

    .section-heading h2,
    .footer-panel h2,
    .pipeline-sticky h3,
    .project-overlay h3,
    .team-card h3 {
        font-size: 30px;
    }

    .overview-panel,
    .pipeline-sticky,
    .footer-panel,
    .team-card {
        padding: 22px;
    }
}
