/*
 * English-only overrides and components.
 * Loaded after global.css on /en/* pages only. The Chinese pages never see this
 * file, so rules here can freely undo CJK-specific typography.
 *
 * Brand palette borrowed from global.css:
 *   gold   #B7A561
 *   purple #625069 / #5a456e / #3d2e4c
 *   lilac  #c0b0cb / #ece7ee
 */

.en-page {
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
    color: #625069;
}

/* The Chinese pages space out headings character by character (實·體·辦·公·室).
   English has no equivalent; tracked-out mixed case reads far better than the
   all-caps equivalent, which becomes unreadable on headings this long. */
.en-page .title,
.en-page .section-title,
.en-page .en-gold-title {
    letter-spacing: 0.06em;
    text-transform: none;
}

/* English cannot break mid-word the way CJK wraps anywhere, so headings need
   explicit room rather than the fixed widths global.css assumes. */
.en-page h1,
.en-page h2,
.en-page h3,
.en-page .title,
.en-page .section-title {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.en-page p {
    line-height: 1.85;
    letter-spacing: 0.01em;
}

/* .footer-lang-switch lives in global.css — the Chinese footer needs it too. */

.lang-switch .nav-link {
    font-weight: 600;
}

/* The English nav has four items instead of the Chinese nav's ten, so the
   desktop header row would otherwise stretch them across the full width. */
.en-page .header-list .row {
    justify-content: center;
}

.en-page .header-list .col {
    flex-grow: 0;
    padding: 0 24px;
    white-space: nowrap;
}

/* ---------- Page scaffolding ---------- */

.en-section {
    position: relative;
}

.en-gold-title-row {
    display: block;
    text-align: center;
    padding: 60px 0 40px;
}

.en-gold-title-row-sub {
    padding-top: 20px;
}

.en-gold-title {
    font-size: 34px;
    color: #B7A561;
    margin: 0;
}

.en-gold-subtitle {
    color: #5a456e;
    font-size: 16px;
    margin-top: 12px;
    opacity: 0.85;
}

.en-prose p {
    color: #5a456e;
    margin-bottom: 18px;
}

.en-note {
    color: #B7A561;
    font-weight: 600;
}

.en-quote {
    color: #B7A561;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.en-quote-note {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 8px;
}

/* ---------- Call to action ---------- */

.en-cta-row {
    text-align: center;
    padding: 50px 0 70px;
}

.en-cta-text {
    color: #5a456e;
    margin-bottom: 20px;
}

.en-cta-btn {
    display: inline-block;
    padding: 14px 34px;
    margin: 6px 8px;
    border-radius: 2px;
    background-image: linear-gradient(to right, #b6a560, #cfc084);
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.en-cta-btn:hover,
.en-cta-btn:focus {
    color: #fff;
    text-decoration: none;
    opacity: 0.88;
}

.en-cta-btn-alt {
    background-image: none;
    background: transparent;
    border: 1px solid #B7A561;
    color: #B7A561;
}

.en-cta-btn-alt:hover,
.en-cta-btn-alt:focus {
    color: #B7A561;
    background: rgba(183, 165, 97, 0.08);
}

/* ---------- Home: hero ---------- */

.en-hero {
    position: relative;
    text-align: center;
    padding: 90px 0 70px;
    background: #ece7ee;
}

.en-hero-ring {
    width: 74px;
    opacity: 0.55;
    margin-bottom: 24px;
}

.en-hero-title {
    font-size: 42px;
    color: #3d2e4c;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.en-hero-lead {
    max-width: 720px;
    margin: 0 auto;
    color: #5a456e;
    font-size: 17px;
}

.en-hero-actions {
    margin-top: 34px;
}

/* ---------- Home: three pillars ---------- */

.en-pillars {
    padding: 70px 0 40px;
}

.en-pillar {
    padding: 0 18px 40px;
}

.en-pillar-num {
    color: #B7A561;
    font-size: 30px;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.en-pillar .title {
    font-size: 20px;
    color: #3d2e4c;
    margin-bottom: 14px;
}

.en-pillar p {
    color: #5a456e;
    font-size: 15px;
}

/* ---------- Home: office ---------- */

.en-office {
    padding: 40px 0 80px;
}

.en-office .img-wrap img {
    width: 100%;
    height: auto;
}

/* ---------- Contact: info card ---------- */

.en-infocard-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.en-infocard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
}

.en-infocard p {
    position: relative;
    z-index: 2;
    color: #5a456e;
    line-height: 1.7;
}

.en-infocard strong {
    color: #B7A561;
    letter-spacing: 0.08em;
}

.en-infocard a {
    color: #5a456e;
    text-decoration: underline;
}

.en-infocard-note {
    font-size: 13px;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .en-hero-title {
        font-size: 30px;
    }

    .en-gold-title {
        font-size: 26px;
    }

    .en-cta-btn {
        display: block;
        margin: 10px auto;
        max-width: 320px;
    }
}
