/* Pinestone Capital Asset Management — Hong Kong Financial Advisory Design */

:root {
    --navy-dark: #0C1B33;
    --navy-mid: #152A4A;
    --navy-light: #1E3D6B;
    --gold: #C4A35A;
    --gold-light: #D4BC82;
    --gold-muted: rgba(196, 163, 90, 0.15);
    --ink: #0F172A;
    --ink-muted: #475569;
    --ink-light: #94A3B8;
    --white: #FFFFFF;
    --gray-50: #F8F9FB;
    --gray-100: #EEF1F5;
    --gray-200: #DDE3EA;
    --gray-300: #B8C4D0;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(12, 27, 51, 0.06);
    --shadow: 0 4px 24px rgba(12, 27, 51, 0.08);
    --shadow-lg: 0 16px 48px rgba(12, 27, 51, 0.12);
    --transition: 0.25s ease;
    --font-zh: "Noto Sans TC", "Inter", system-ui, sans-serif;
    --font-en: "Inter", system-ui, sans-serif;
    --font-display: "Playfair Display", "Noto Serif TC", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-zh);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin: 0 auto; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }

h1, h2, h3, h4 {
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.lang-sub {
    display: block;
    font-family: var(--font-en);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--ink-light);
    letter-spacing: 0.02em;
}
.lang-sub-lg { font-size: 0.88rem; margin-top: 0.35rem; margin-bottom: 1.1rem; }
.section-sub { margin-top: -0.3rem; margin-bottom: 0.5rem; }
.card-sub { margin-top: 0.15rem; margin-bottom: 0.55rem; font-size: 0.72rem; }
.eyebrow-sub { margin-top: -0.45rem; margin-bottom: 0.75rem; }
.lang-sub-light { color: rgba(255,255,255,0.65); }
.nav-links .lang-sub { display: inline; margin-left: 0.2rem; font-size: 0.62rem; opacity: 0.55; }

.lead-en {
    font-family: var(--font-en);
    color: var(--ink-muted);
    font-size: 0.9rem;
    max-width: 54ch;
    margin: -0.25rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--gold);
    font-style: italic;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.55rem;
}
.eyebrow.light { color: var(--gold-light); }

/* Top bar */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-links { display: flex; gap: 1.25rem; }
.top-links a { color: rgba(255,255,255,0.75); font-family: var(--font-en); }
.top-links a:hover { color: var(--gold-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.55rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}
.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(196, 163, 90, 0.45);
}
.btn-secondary:hover {
    background: rgba(196, 163, 90, 0.12);
    border-color: var(--gold-light);
}
.btn.full { width: 100%; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--navy-dark);
    border-radius: var(--radius);
    border: 1px solid rgba(196, 163, 90, 0.35);
    letter-spacing: -0.02em;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); line-height: 1.35; }
.brand-tagline {
    font-family: var(--font-en);
    font-size: 0.6rem;
    color: var(--ink-light);
    font-weight: 500;
    letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--ink-muted); }
.nav-links a:hover { color: var(--navy-light); }
.nav-cta { padding: 0.5rem 1.15rem; font-size: 0.84rem; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Hero — financial advisory aesthetic */
.hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy-mid) 45%, #1a3055 100%);
    color: #fff;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(196, 163, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
    pointer-events: none;
}
.hero-pattern::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 163, 90, 0.4), transparent);
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.2vw, 2.75rem);
    max-width: 18ch;
    margin-bottom: 0.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero .lang-sub { color: rgba(255,255,255,0.55); }
.lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.02rem;
    max-width: 54ch;
    margin: 1rem 0 0.5rem;
}
.hero .lead-en {
    color: rgba(255,255,255,0.55);
    border-left-color: rgba(196, 163, 90, 0.5);
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-badge {
    margin-top: 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-en);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(196, 163, 90, 0.25);
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
}
.hero-badge span { color: var(--gold-light); font-weight: 600; }
.hero-panel { display: grid; gap: 0.85rem; }
.stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid rgba(196, 163, 90, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    backdrop-filter: blur(4px);
    transition: background var(--transition), border-color var(--transition);
}
.stat-card:hover {
    background: rgba(255,255,255,0.07);
    border-left-color: var(--gold);
}
.stat-card.accent {
    background: var(--gold-muted);
    border-color: rgba(196, 163, 90, 0.3);
    border-left-color: var(--gold);
}
.stat-card strong { display: block; font-size: 1.3rem; font-weight: 700; line-height: 1; margin-bottom: 0.25rem; }
.stat-card span { font-family: var(--font-en); font-size: 0.78rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .lang-sub { margin-top: 0.25rem; font-size: 0.68rem; opacity: 0.6; }

/* Trust bar */
.trust-bar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.9rem 0;
}
.trust-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}
.trust-item {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Disclaimer strip */
.disclaimer-strip {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    padding: 0.65rem 0;
    text-align: center;
    line-height: 1.5;
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}
.disclaimer-strip p { max-width: 900px; margin: 0 auto; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-top: 0.15rem;
}
.section-head p { color: var(--ink-muted); margin-top: 0.7rem; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}
.icon-wrap {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--gold-muted);
    border: 1px solid rgba(196, 163, 90, 0.25);
    border-radius: var(--radius);
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}
.service h3 { font-size: 1.08rem; margin-bottom: 0.05rem; }
.service p { color: var(--ink-muted); font-size: 0.9rem; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
.about-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin-bottom: 0.9rem;
}
.about-copy p { color: var(--ink-muted); margin-bottom: 0.8rem; }
.check-list { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.check-list li {
    position: relative;
    padding-left: 1.65rem;
    font-weight: 500;
    font-size: 0.93rem;
}
.check-list li::before {
    content: "◆";
    position: absolute; left: 0;
    color: var(--gold);
    font-size: 0.55rem;
    top: 0.35rem;
}
.about-info { display: grid; gap: 0.85rem; }
.info-block {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.35rem;
}
.info-block h4 {
    font-family: var(--font-en);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-light);
    margin-bottom: 0.35rem;
}
.info-block p { font-weight: 500; font-size: 0.92rem; line-height: 1.55; }
.info-block a { color: var(--navy-light); font-weight: 600; font-family: var(--font-en); }
.info-block a:hover { color: var(--gold); }

/* Features */
.feature { position: relative; }
.feature-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 0.65rem;
}
.feature.featured {
    background: var(--navy-dark);
    color: #fff;
    border-color: var(--navy-dark);
}
.feature.featured .feature-num { color: rgba(196, 163, 90, 0.35); }
.feature.featured p { color: rgba(255,255,255,0.8); }
.feature.featured .lang-sub { color: rgba(255,255,255,0.55); }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.05rem; }
.feature p { color: var(--ink-muted); font-size: 0.9rem; }

/* Team */
.member { text-align: center; }
.avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    margin: 0 auto 0.9rem;
    display: grid; place-items: center;
    background: var(--navy-dark);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(196, 163, 90, 0.3);
}
.member h3 { font-size: 1.02rem; }
.member p { color: var(--ink-muted); font-size: 0.86rem; margin-top: 0.1rem; }

/* CTA */
.cta {
    background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    color: #fff;
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cta-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin-top: 0.25rem;
}
.cta-copy p { color: rgba(255,255,255,0.72); margin-top: 0.7rem; }
.contact-info { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.contact-info li { font-size: 0.9rem; }
.contact-info strong {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.15rem;
    font-family: var(--font-en);
}
.contact-info a { color: var(--gold-light); font-weight: 500; font-family: var(--font-en); }
.contact-info a:hover { color: #fff; }
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    display: grid;
    gap: 0.9rem;
    box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--gray-50);
    resize: vertical;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
    background: var(--white);
}
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.74rem;
    color: var(--ink-muted);
    line-height: 1.45;
    cursor: pointer;
}
.privacy-check input { margin-top: 2px; accent-color: var(--gold); }
.form-note { font-size: 0.84rem; color: var(--navy-light); text-align: center; min-height: 1.2rem; font-weight: 500; }

/* Footer & Legal */
.site-footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-brand p { color: var(--ink-muted); max-width: 42ch; font-size: 0.88rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-cols h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--ink); }
.footer-cols a { display: block; color: var(--ink-muted); margin-bottom: 0.45rem; font-size: 0.86rem; }
.footer-cols a:hover { color: var(--navy-light); }

.legal-section {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}
.legal-section.legal-alt { background: var(--gray-50); }
.legal-section h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--ink); }
.legal-note { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 1rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; font-size: 0.9rem; line-height: 1.7; }
.legal-grid a { color: var(--navy-light); font-family: var(--font-en); }
.legal-section p { color: var(--ink-muted); font-size: 0.88rem; max-width: 72ch; line-height: 1.7; }

.footer-bottom {
    display: flex; justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem 0 1.5rem;
    font-size: 0.8rem; color: var(--ink-light);
}

@media (max-width: 900px) {
    .hero-inner, .about-inner, .cta-inner, .footer-inner, .legal-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 76px; left: 0; right: 0;
        background: var(--white); padding: 1.25rem 5%;
        gap: 0.9rem; border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow);
    }
    .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .top-links { flex-direction: column; gap: 0.3rem; align-items: center; }
}

@media (max-width: 560px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .brand-name { font-size: 0.82rem; }
}
