:root {
    --ink: #0c1214;
    --navy: #141c22;
    --navy-2: #1c262e;
    --gold: #c4a574;
    --gold-2: #d8bf93;
    --ivory: #f3eee6;
    --paper: #f7f3ec;
    --mist: #e6dfd4;
    --line: rgba(196, 165, 116, 0.35);
    --text: #22262a;
    --muted: #5e5954;
    --white: #f8f5f0;
    --danger: #8b3a32;
    --ok: #2d5a45;
    --header-h: 84px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html[lang="zh-Hant-HK"] {
    --serif: "Noto Serif TC", "PMingLiU", serif;
    --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

html[lang="zh-Hant-HK"] h1,
html[lang="zh-Hant-HK"] h2,
html[lang="zh-Hant-HK"] h3 {
    letter-spacing: 0.06em;
    font-weight: 600;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2.15rem, 4.6vw, 4.35rem);
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -40px;
    background: var(--gold);
    color: var(--ink);
    padding: 8px 14px;
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

.kicker {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
}

.kicker-light {
    color: var(--gold-2);
}

.section {
    padding: 96px 0;
}

.section-dark {
    background: var(--ink);
    color: var(--ivory);
}

.section-dark h2,
.section-dark h3 {
    color: var(--ivory);
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-dark .section-lead {
    color: rgba(243, 238, 230, 0.72);
}

.section-foot {
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-lg {
    min-height: 52px;
    padding: 0 28px;
}

.btn-gold {
    background: var(--gold);
    color: var(--ink);
}

.btn-gold:hover {
    background: var(--gold-2);
}

.btn-ghost {
    background: transparent;
    color: var(--ivory);
    border-color: rgba(243, 238, 230, 0.35);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-2);
}

.btn-dark {
    background: var(--ink);
    color: var(--ivory);
}

.btn-dark:hover {
    background: var(--navy);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
}

.text-link::after {
    content: "→";
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    background: linear-gradient(to bottom, rgba(12, 18, 20, 0.72), transparent);
    transition: background 0.3s var(--ease), height 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled,
.page-solutions .site-header,
.page-about .site-header,
.page-contact .site-header {
    background: rgba(12, 18, 20, 0.94);
    box-shadow: 0 1px 0 var(--line);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ivory);
    min-width: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    color: var(--gold);
    flex: none;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: 0.28em;
    line-height: 1;
}

.logo-sub {
    margin-top: 5px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(243, 238, 230, 0.62);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[lang="zh-Hant-HK"] .logo-sub {
    letter-spacing: 0.18em;
}

.nav-desktop {
    display: none;
    gap: 28px;
    margin-left: auto;
    margin-right: 28px;
}

@media (min-width: 1025px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-desktop a {
    color: rgba(243, 238, 230, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-desktop a[aria-current="page"],
.nav-desktop a:hover {
    color: var(--gold-2);
}

.nav-desktop a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    flex: none;
}

.lang-switch {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(243, 238, 230, 0.25);
    color: var(--ivory);
    min-height: 38px;
    padding: 0 12px;
    font: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    padding: 8px 0;
    list-style: none;
    min-width: 150px;
    background: var(--navy);
    border: 1px solid var(--line);
}

.lang-switch.is-open .lang-menu {
    display: block;
}

.lang-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--ivory);
    font-size: 0.88rem;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
    color: var(--gold-2);
}

.header-cta {
    display: none;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.72rem;
}

@media (min-width: 1025px) {
    .header-cta {
        display: inline-flex;
    }
}

.nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(243, 238, 230, 0.55);
    background: rgba(12, 18, 20, 0.35);
    padding: 0;
    cursor: pointer;
    flex: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: var(--ivory);
}

@media (min-width: 1025px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0;
    background: currentColor;
}

.nav-mobile {
    display: none;
    background: var(--ink);
    padding: 12px 20px 28px;
    border-top: 1px solid var(--line);
}

.site-header.is-open .nav-mobile {
    display: block;
}

.nav-mobile a {
    display: block;
    color: var(--ivory);
    padding: 12px 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(243, 238, 230, 0.08);
}

.mobile-langs {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.mobile-langs a {
    border: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--gold-2);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    color: var(--ivory);
    overflow: hidden;
}

.hero-media,
.hero-veil {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 22s var(--ease) infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1.12); }
}

.hero-veil {
    background:
        linear-gradient(180deg, rgba(12, 18, 20, 0.4) 0%, rgba(12, 18, 20, 0.22) 42%, rgba(12, 18, 20, 0.7) 100%),
        linear-gradient(90deg, rgba(12, 18, 20, 0.58) 0%, rgba(12, 18, 20, 0.18) 40%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 96px 0 72px;
    max-width: 920px;
    margin-left: max(20px, calc((100% - 1180px) / 2));
    width: min(920px, calc(100% - 40px));
    box-sizing: border-box;
}

.hero h1 {
    color: #f6f1e8;
    max-width: min(13.5em, 92%);
    font-weight: 700;
    text-shadow: 0 10px 30px rgba(12, 18, 20, 0.45);
}

.hero-lead {
    max-width: min(52ch, 100%);
    font-size: 1.08rem;
    color: rgba(243, 238, 230, 0.9);
    margin-bottom: 32px;
    overflow-wrap: break-word;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-scroll {
    position: absolute;
    right: 32px;
    bottom: 36px;
    margin: 0;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: rgba(243, 238, 230, 0.55);
    writing-mode: vertical-rl;
}

.reveal {
    animation: rise 0.8s var(--ease) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
    from { transform: translateY(14px); }
    to { transform: none; }
}

/* Intro / markets */
.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--mist);
}

.intro-body {
    font-size: 1.08rem;
    color: var(--muted);
}

.intro-note {
    margin-top: 22px;
    color: var(--ink);
    font-weight: 600;
}

.markets-row {
    display: flex;
    gap: 28px;
    align-items: baseline;
    padding-top: 28px;
    flex-wrap: wrap;
}

.markets-label {
    margin: 0;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
}

.markets-text {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
    max-width: 48ch;
}

/* Solutions cards */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    color: var(--ivory);
    min-height: 100%;
    background: var(--navy);
    overflow: hidden;
}

.solution-card-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.solution-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.solution-card:hover img {
    transform: scale(1.06);
}

.solution-card-body {
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.solution-index {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.solution-card h3 {
    color: var(--ivory);
    margin: 0;
}

.solution-card p {
    color: rgba(243, 238, 230, 0.7);
    font-size: 0.92rem;
}

/* Industries */
.industry-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.industry-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    color: var(--ivory);
}

.industry-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 20, 0.05), rgba(12, 18, 20, 0.82));
}

.industry-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.industry-copy h3 {
    color: var(--ivory);
}

.industry-copy p {
    color: rgba(243, 238, 230, 0.82);
    max-width: 46ch;
}

.industry-card:nth-child(3) {
    grid-column: 1;
}

.industry-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

/* Process */
.process-section {
    background: var(--ivory);
    border-top: 1px solid var(--mist);
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.process-num {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.process-list p {
    color: var(--muted);
    font-size: 0.94rem;
}

/* Why */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.why-card {
    padding: 28px 26px;
    background: #fff;
    border-top: 2px solid var(--gold);
}

.why-card p {
    color: var(--muted);
}

/* CTA band */
.cta-band {
    background: var(--navy);
    color: var(--ivory);
    padding: 72px 0;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
}

.cta-band h2 {
    color: var(--ivory);
    max-width: 16ch;
}

.cta-band-text {
    color: rgba(243, 238, 230, 0.75);
    max-width: 48ch;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(243, 238, 230, 0.72);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(243, 238, 230, 0.08);
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.6rem;
    letter-spacing: 0.28em;
    color: var(--ivory);
    margin: 0 0 6px;
}

.footer-legal {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--gold-2);
    margin-bottom: 16px;
}

.footer-heading {
    color: var(--ivory);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--gold-2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    font-size: 0.82rem;
}

.footer-privacy {
    max-width: 46ch;
    text-align: right;
}

/* Inner pages */
.page-hero {
    padding: 160px 0 56px;
    background:
        radial-gradient(1200px 420px at 10% -10%, rgba(196, 165, 116, 0.16), transparent 55%),
        var(--ink);
    color: var(--ivory);
}

.page-hero h1 {
    color: var(--ivory);
    max-width: 18ch;
}

.page-lead {
    max-width: 62ch;
    color: rgba(243, 238, 230, 0.78);
    font-size: 1.08rem;
}

.page-tenure {
    margin: 18px 0 0;
    max-width: 52ch;
    color: var(--gold-2);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.jump-nav a {
    border: 1px solid rgba(243, 238, 230, 0.25);
    padding: 8px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jump-nav a:hover {
    border-color: var(--gold);
    color: var(--gold-2);
}

.solution-block {
    padding: 72px 0;
}

.solution-block:nth-child(even) {
    background: #fff;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.solution-block.reverse .solution-layout {
    grid-template-columns: 0.95fr 1.05fr;
}

.solution-block.reverse .solution-figure {
    order: 2;
}

.solution-figure img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.solution-lead {
    font-size: 1.12rem;
    color: var(--ink);
}

.point-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.point-list li {
    padding: 10px 0 10px 18px;
    border-top: 1px solid var(--mist);
    position: relative;
}

.point-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 7px;
    height: 1px;
    background: var(--gold);
}

.close-section {
    padding-top: 0;
}

.close-box {
    background: var(--ivory);
    padding: 48px;
    display: grid;
    gap: 16px;
    justify-items: start;
    border-left: 3px solid var(--gold);
}

.story-grid,
.clients-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
}

.story-copy p + p {
    margin-top: 18px;
}

.story-copy,
.clients-section .section-lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-card {
    padding: 8px 8px 8px 0;
    border-top: 1px solid rgba(196, 165, 116, 0.35);
}

.value-card span {
    display: block;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.4rem;
    margin: 16px 0 10px;
}

.value-card p {
    color: rgba(243, 238, 230, 0.72);
}

.client-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.client-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--mist);
    font-family: var(--serif);
    font-size: 1.6rem;
}

.markets-row-about {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--mist);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
}

.contact-dl {
    margin: 0;
}

.contact-dl > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--mist);
}

.contact-dl dt {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.contact-form-wrap {
    background: #fff;
    padding: 36px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.86rem;
}

.contact-form label span em {
    color: var(--gold);
    font-style: normal;
    font-size: 0.95rem;
    margin-left: 2px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9d2c6;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    padding: 12px 12px;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.form-consent {
    color: var(--muted);
    font-size: 0.84rem;
}

.form-alert {
    padding: 12px 14px;
    margin-bottom: 8px;
}

.form-alert-success {
    background: #e7f0ea;
    color: var(--ok);
}

.form-alert-error {
    background: #f6e8e6;
    color: var(--danger);
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-inner {
        display: flex;
        padding-right: 52px;
    }

    .lang-switch {
        display: none;
    }

    .nav-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 60;
    }

    .intro-grid,
    .story-grid,
    .clients-grid,
    .contact-grid,
    .solution-layout,
    .solution-block.reverse .solution-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .solution-block.reverse .solution-figure {
        order: 0;
    }

    .solution-cards,
    .process-list,
    .why-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industry-grid,
    .industry-card:nth-child(3),
    .industry-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .solution-figure img {
        height: 380px;
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 72px;
    }

    .section {
        padding: 72px 0;
    }

    .hero-content {
        padding: 96px 0 48px;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
        max-width: none;
    }

    .hero h1 {
        max-width: 12ch;
    }

    .hero-lead {
        font-size: 0.98rem;
        margin-bottom: 22px;
    }

    .hero-scroll {
        display: none;
    }

    .logo-sub {
        display: none;
    }

    .solution-cards,
    .process-list,
    .why-grid,
    .values-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-band-inner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-privacy {
        text-align: left;
    }

    .contact-form-wrap,
    .close-box {
        padding: 24px;
    }

    .page-hero {
        padding-top: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
