/* 本地字体：页面预览不依赖外部字体服务。 */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-light.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-light-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Acumin Pro";
    src: url("../fonts/acumin-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

/* 基础颜色、文字和页面网格。 */
:root {
    --brand-black: #181816;
    --brand-gold: #b99d60;
    --gold-text: #82682f;
    --surface-muted: #efede7;
    --surface-strategies: #f4f0e6;
    --white: #ffffff;
    --ink: #292923;
    --gutter: 4vw;
    --grid-gap: 11px;
    --heading-size: calc(1rem + 2.16vmax);
    --small-size: clamp(14px, calc(1rem - 0.12vw), 15px);
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-underline-offset: 5px;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-text);
    outline-offset: 6px;
}

h1,
h2 {
    margin: 0;
    color: var(--brand-black);
    font-family: "Acumin Pro", Arial, sans-serif;
    font-size: var(--heading-size);
    font-weight: 500;
    line-height: 1.3;
}

p {
    margin: 0;
}

p + p {
    margin-top: 16px;
}

figure {
    margin: 0;
}

.site-container {
    width: calc(100% - var(--gutter) * 2);
    max-width: 2000px;
    margin-inline: auto;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    column-gap: var(--grid-gap);
}

.home-grid > .left-column {
    grid-column: 2 / 12;
    min-width: 0;
}

.home-grid > .right-column {
    grid-column: 13 / 25;
    min-width: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 8px 16px;
    color: var(--white);
    background: var(--brand-black);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* 页头：品牌标识、桌面导航和移动菜单按钮。 */
.site-header {
    position: relative;
    z-index: 30;
    padding-block: 2.2vw;
    background: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    flex: 0 0 auto;
    width: 215px;
    line-height: 0;
}

.brand img {
    width: 100%;
    height: auto;
}

.desktop-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25vw;
}

.desktop-nav a {
    padding-block: 3px;
    white-space: nowrap;
    text-decoration: none;
    transition: color 160ms ease;
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover {
    color: var(--gold-text);
    text-decoration: underline;
    text-decoration-color: var(--brand-gold);
    text-decoration-thickness: 1px;
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 50;
    width: 48px;
    height: 48px;
    padding: 7px;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    left: 7px;
    width: 34px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span:first-child {
    top: 18px;
}

.menu-toggle span:last-child {
    top: 30px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    top: 24px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    top: 24px;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* 首页首屏：公司介绍与森林图片。 */
.home-hero {
    padding-block: 3.3vw;
}

.hero-copy h1 {
    margin-bottom: 36px;
}

.hero-copy h1 span {
    display: block;
}

.hero-figure img {
    width: 100%;
    height: 13.5vw;
    min-height: 170px;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-figure figcaption {
    margin-top: 11px;
    font-size: var(--small-size);
    font-style: italic;
    line-height: 1.8;
}

.hero-figure strong {
    color: var(--gold-text);
    font-weight: 700;
}

/* 合伙人介绍和建筑过渡图片。 */
.partners-section {
    padding-top: 2.8vw;
    padding-bottom: 3px;
    background: var(--surface-muted);
}

.architecture-band {
    position: relative;
    height: clamp(130px, 13.14vw, 270px);
    overflow: hidden;
}

.architecture-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* 图片上下预留移动空间，滚动时只改变图片位置，不改变横幅高度。 */
.architecture-band.has-parallax img {
    position: absolute;
    top: calc(-1 * var(--parallax-travel));
    height: calc(100% + var(--parallax-travel) * 2);
    transform: translate3d(0, var(--parallax-offset, 0px), 0);
    will-change: transform;
}

/* 投资策略：浅香槟色背景，卡片按文档顺序从左向右排列。 */
.strategies-section {
    padding-block: 3.3vw;
    color: var(--ink);
    background: var(--surface-strategies);
}

.strategies-section h2 {
    color: var(--brand-black);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4.6vw;
    row-gap: 48px;
    margin-top: 48px;
}

.strategy-card {
    min-width: 0;
    text-align: left;
}

.strategy-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.strategy-card h3 a {
    color: var(--gold-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.strategy-card h3 a:hover {
    color: var(--brand-black);
}

.strategies-section a:focus-visible {
    outline-color: var(--gold-text);
}

.strategy-card p {
    font-size: var(--small-size);
}

/* 联系区域。 */
.contact-section {
    padding-top: 2.8vw;
}

.contact-section .left-column {
    grid-row: 1;
}

.contact-section .right-column {
    grid-row: 1;
}

.contact-section .contact-action {
    grid-column: 2 / 6;
    grid-row: 2;
    margin-top: 11px;
}

.contact-button {
    display: flex;
    min-height: 29px;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 2px 18px;
    color: var(--brand-black);
    background: var(--brand-gold);
    font-size: var(--small-size);
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    cursor: pointer;
}

/* 策略详情页：说明区和整幅横向图片。 */
.detail-intro {
    padding-block: 3.3vw;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    column-gap: var(--grid-gap);
}

.detail-grid h1 {
    grid-column: 1 / 11;
}

.detail-copy {
    grid-column: 13 / 25;
    min-width: 0;
}

/* 联系表单：沿用黑金配色，输入区域随右侧栏宽度自适应。 */
.contact-form {
    display: grid;
    gap: 24px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field label {
    color: var(--brand-black);
    font-size: var(--small-size);
    font-weight: 500;
}

.contact-field input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 11px 16px;
    border: 1px solid #8b8982;
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.contact-field input:focus-visible {
    border-color: var(--gold-text);
    outline: 2px solid var(--gold-text);
    outline-offset: 2px;
}

.contact-submit {
    min-width: 160px;
    min-height: 48px;
    padding: 10px 28px;
    border: 0;
    border-radius: 0;
    color: var(--brand-black);
    background: var(--brand-gold);
    font-size: var(--small-size);
    font-weight: 500;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.contact-submit:hover:not(:disabled) {
    color: var(--white);
    background: var(--brand-black);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.contact-form-message {
    margin: 0;
    color: var(--ink);
    font-size: var(--small-size);
}

.contact-form-message[data-state="error"] {
    color: #9e2929;
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.detail-visual {
    height: 33vh;
    overflow: hidden;
}

.detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.page-private-equity .detail-visual img {
    object-position: 50% 65%;
}

/* 统一精简页脚：仅显示本网站品牌标识。 */
.site-footer {
    padding-top: clamp(48px, 5vw, 72px);
    padding-bottom: 40px;
    font-size: var(--small-size);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand {
    margin: 0;
    color: var(--brand-black);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer-brand span {
    color: var(--gold-text);
    font-weight: 500;
}

/* 平板与手机：完整保留文字内容，避免固定网格产生遮挡。 */
@media (max-width: 1000px) and (min-width: 768px) {
    .header-inner {
        gap: 22px;
    }

    .desktop-nav {
        gap: 12px;
        font-size: 14px;
    }

    .brand {
        width: 180px;
    }

    .hero-copy h1 {
        margin-bottom: 25px;
    }

    .partners-section {
        padding-bottom: 32px;
    }

}

@media (max-width: 767px) {
    :root {
        --gutter: 6vw;
        --small-size: 14.4px;
        --heading-size: clamp(30px, calc(1rem + 2.16vmax), 38px);
    }

    .site-header {
        padding-block: 6vw;
    }

    .brand {
        width: 160px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-open .site-header {
        position: fixed;
        inset: 0 0 auto;
    }

    .mobile-menu:not([hidden]) {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 20;
        align-items: center;
        justify-content: center;
        padding: 125px 6vw 30px;
        background: rgba(255, 255, 255, 0.985);
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        max-height: 100%;
        overflow-y: auto;
        text-align: center;
    }

    .mobile-menu a {
        font-size: clamp(25px, 8.5vw, 40px);
        line-height: 1.45;
        text-decoration: none;
    }

    .mobile-menu a[aria-current="page"] {
        color: var(--gold-text);
        text-decoration: underline;
        text-decoration-color: var(--brand-gold);
        text-decoration-thickness: 1px;
        text-underline-offset: 8px;
    }

    .home-grid,
    .detail-grid {
        display: flex;
        flex-direction: column;
    }

    .home-hero {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .hero-copy h1 {
        margin-bottom: 18px;
    }

    .hero-figure {
        margin-top: 12px;
    }

    .hero-figure img {
        height: 53vw;
        min-height: 0;
    }

    .hero-figure figcaption {
        margin-top: 11px;
    }

    .partners-section {
        padding-block: 34px 38px;
    }

    .partners-section .right-column,
    .strategies-section .right-column {
        margin-top: 22px;
    }

    .architecture-band {
        height: 131px;
    }

    .strategies-section {
        padding-block: 34px 40px;
    }

    .strategy-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-top: 32px;
    }

    .strategy-card h3 {
        margin-bottom: 16px;
    }

    .contact-section {
        padding-block: 34px 0;
    }

    .contact-section .right-column {
        margin-top: 22px;
    }

    .contact-section .contact-action {
        width: 50%;
        margin-top: 20px;
    }

    .contact-button {
        min-height: 58px;
    }

    .detail-intro {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .detail-copy {
        margin-top: 28px;
    }

    .detail-visual {
        height: 33vh;
        min-height: 240px;
        max-height: 420px;
    }

    .site-footer {
        padding-bottom: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .architecture-band.has-parallax img {
        position: static;
        height: 100%;
        transform: none;
        will-change: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
