/* One calm palette only: clear blue, soft white, and one warm highlight. */
:root {
    --navy: #10567e;
    --navy-2: #176d99;
    --cyan: #16b8e5;
    --gold: #f5bd4c;
    --cloud: #f4f9fc;
    --ink: #193d56;
    --muted: #61798b;
    --line: #d7e5ed;
}

/* Header stays quiet and legible rather than becoming another colour block. */
.site-header.scrolled,
.site-header.site-header-solid {
    background: rgba(14, 79, 116, .96);
    border-color: rgba(255,255,255,.16);
}

/* The three landing headers share one blue family: no competing purple, pink, or gold fields. */
.hero, .subhero, .play-hero, .culture-hero {
    background: linear-gradient(135deg, #0d4e76 0%, #12678f 58%, #218cb5 100%);
}
.hero::before, .subhero::before {
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
}
.play-hero h1 span { color: var(--gold); }

/* Dark sections become a clear, saturated blue—not near-black. */
.human, .workflow, .closing, .culture-preview, .culture-values, .foundation-lead,
.industrial-direction, .play-lab, .play-closing {
    background: #105b84;
}
.closing, .play-closing { background: linear-gradient(135deg, #10567e, #197ca5); }
.culture-preview { background: #0e587f; }

/* Cards retain one surface system and gentle borders. */
.visual-card, .industrial-panel { background: rgba(10, 65, 98, .68); border-color: rgba(255,255,255,.18); box-shadow: 0 20px 48px rgba(6, 58, 88, .20); }
.lab-card { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.lab-art { background: rgba(7, 70, 106, .34); }
.game-board { background: rgba(255,255,255,.10); box-shadow: 0 28px 65px rgba(5, 55, 83, .22); }
.solution-card.featured, .principle-matrix article:first-child { background: #105b84; border-color: #105b84; }

/* Mini-game keeps its own warm accent in details, without introducing a second page palette. */
.play-projects { background: #fff9f0; }
.play-projects .project-card { border-color: #edddbf; }
.play-projects .project-card-visual { background: linear-gradient(135deg, #176d99, #ef9a62); }
.play-value-grid article { border-color: #eddfc7; }

/* Footer is intentionally deeper for closure, but remains blue and not black. */
.site-footer { background: #0c4568; }
.site-footer .footer-brand-block > p {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
    color: #f3fbff;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}
.site-footer .footer-brand-block > p .footer-tagline-zh { color: #f4fbff; }
.site-footer .footer-brand-block > p .footer-tagline-en {
    margin: 0;
    color: #a9dced;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.35px;
}
.site-footer .footer-nav > strong, .site-footer .footer-contact > strong {
    color: #a8d9ea;
    font-size: 10px;
    font-weight: 700;
}
.site-footer .footer-nav a, .site-footer .footer-contact a, .site-footer .footer-contact > span {
    color: #e6f7ff;
    font-size: 13px;
    font-weight: 550;
}
.site-footer .footer-nav a span { color: #73cde6; font-size: 9px; }
.site-footer .footer-contact .footer-email { color: #fff; font-size: 15px; }
.site-footer .footer-bottom {
    min-height: 48px;
    padding: 16px 0 0;
    border-top-color: rgba(206, 241, 255, .28);
    color: #c5e7f4;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: .65px;
}
.site-footer .footer-bottom a { color: #e7f8ff; }

/* Project detail pages use the same readable light surface as the project overview. */
.project-detail, .project-detail.detail-play {
    color: var(--ink);
    background-color: #edf7fb;
    background-image: linear-gradient(rgba(22, 123, 165, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 123, 165, .055) 1px, transparent 1px);
}
.project-detail h1, .project-detail h2, .project-detail h3, .project-detail strong { color: var(--ink); }
.project-detail .detail-summary > p, .project-detail .project-story p { color: var(--muted); }
.project-detail .detail-cover { background: linear-gradient(135deg, #176d99, #49a9cb); }
.project-detail .detail-story { border-color: #c9deea; }
.project-detail .detail-story article { background: rgba(255,255,255,.72); }
.project-detail .detail-story article + article { border-color: #c9deea; }
.project-detail .project-outcome { background: #dff2f8; }

@media (max-width: 900px) {
    .site-nav { background: #176d99; }
}

@media (min-width: 901px) and (max-height: 700px) {
    .site-footer .footer-brand-block > p { margin-top: 14px; font-size: 14px; }
    .site-footer .footer-brand-block > p .footer-tagline-en { font-size: 10px; }
    .site-footer .footer-nav a, .site-footer .footer-contact a, .site-footer .footer-contact > span { font-size: 12px; }
    .site-footer .footer-bottom { padding-top: 13px; font-size: 10px; }
}

/* Wide screens: use the available canvas without stretching the reading columns. */
@media (min-width: 1440px) {
    .site-footer .container { width: min(calc(100% - 128px), 1360px); }
    .site-footer .footer-main {
        grid-template-columns: minmax(410px, 1.55fr) minmax(240px, .78fr) minmax(290px, .92fr);
        gap: clamp(72px, 8vw, 148px);
        padding: clamp(42px, 6vh, 66px) 0 clamp(34px, 5vh, 54px);
    }
    .site-footer .footer-brand-block > p { max-width: 330px; }
    .site-footer .footer-nav, .site-footer .footer-contact { gap: 11px; }
    .site-footer .footer-bottom { padding-top: 19px; }
}

@media (min-width: 1800px) {
    .site-footer .container { width: min(calc(100% - 180px), 1520px); }
    .site-footer .footer-main { gap: clamp(96px, 9vw, 180px); }
}
