:root {
    --ink: #12110f;
    --coal: #1b1a17;
    --paper: #f7f3ea;
    --muted: #8f8678;
    --line: rgba(18, 17, 15, .14);
    --gold: #b9975b;
    --bronze: #7a5735;
    --jade: #627f6b;
    --fire: #9e4437;
    --stone: #d7d0c3;
    --radius: 8px;
}
* { box-sizing: border-box; }
html { min-width: 320px; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: geometricPrecision;
    -webkit-tap-highlight-color: rgba(185,151,91,.18);
    overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.site-header {
    position: fixed;
    z-index: 30;
    top: max(12px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 24px));
    min-height: 64px;
    padding: 10px 12px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(18,17,15,.72);
    color: #fff;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 54px rgba(0,0,0,.18);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.35); color: var(--gold); font-weight: 700;
}
.brand strong { display: block; line-height: 1; font-size: 16px; }
.brand em { display: block; color: rgba(255,255,255,.68); font-size: 11px; font-style: normal; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link, .lang-switch a {
    min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 12px; text-decoration: none; color: rgba(255,255,255,.72); border-radius: var(--radius);
    font-size: 14px; white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active, .lang-switch a.is-active { color: #fff; background: rgba(255,255,255,.11); }
.lang-switch { display: inline-flex; border-left: 1px solid rgba(255,255,255,.18); margin-left: 8px; padding-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 7px auto; background: currentColor; }
.hero-shell { min-height: 86svh; position: relative; display: grid; align-items: end; overflow: hidden; background: #111; }
.hero-shell picture, .hero-shell img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(11,10,9,.86), rgba(11,10,9,.42) 42%, rgba(11,10,9,.1)); }
.hero-shell::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 18svh;
    background: linear-gradient(0deg, var(--paper), rgba(247,243,234,0));
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2; width: min(1120px, calc(100% - 36px)); margin: 0 auto;
    padding: 132px 0 9svh; color: #fff;
}
.eyebrow { color: var(--gold); text-transform: uppercase; font-size: 12px; letter-spacing: .18em; font-weight: 700; margin: 0 0 18px; }
.eyebrow.dark { color: var(--bronze); }
h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 650; letter-spacing: 0; overflow-wrap: anywhere; }
.hero-content h1 { width: min(850px, 100%); font-size: clamp(44px, 7vw, 96px); }
.hero-copy { width: min(680px, 100%); color: rgba(255,255,255,.78); font-size: clamp(17px, 2vw, 22px); margin: 22px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
    min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius); text-decoration: none; border: 1px solid currentColor; font-weight: 650;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn.primary { background: var(--gold); border-color: var(--gold); color: #18140e; }
.btn.ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.btn:hover { transform: translateY(-1px); }
.hero-signals {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: min(760px, 100%);
    margin-top: 20px;
}
.hero-signals span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.78);
    font-size: 13px;
}
.section { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 88px 0; }
.intro-grid { display: grid; grid-template-columns: .75fr 1.5fr; gap: clamp(22px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.section-kicker { color: var(--bronze); font-weight: 700; }
.intro-grid h2, .page-hero h1 { font-size: clamp(34px, 5vw, 68px); }
.intro-grid p, .split-feature p, .page-hero p, .contact-aside p { color: #5f574d; font-size: 18px; }
.split-feature { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 6vw, 78px); align-items: center; }
.split-feature.reverse { grid-template-columns: .95fr 1.05fr; }
.split-feature.reverse img { order: 2; }
.split-feature img, .case-hero img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 28px 80px rgba(18,17,15,.18); }
.split-feature h2 { font-size: clamp(32px, 4vw, 58px); margin-bottom: 18px; }
.text-link { display: inline-flex; margin-top: 10px; color: var(--bronze); font-weight: 700; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards-3 article, .timeline article, .contact-form, .contact-aside {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.42);
}
.cards-3 span, .timeline b { color: var(--gold); font-size: 13px; font-weight: 800; }
.cards-3 h3, .timeline h3 { font-size: 24px; margin: 14px 0 10px; }
.cards-3 p, .timeline p { color: #655d52; margin: 0; }
.signature-band {
    margin: 26px 0;
    padding: 82px max(18px, calc((100vw - 1120px) / 2));
    background:
        linear-gradient(90deg, rgba(19,18,15,.96), rgba(19,18,15,.78)),
        url("/assets/images/collection-wuxing.webp") center / cover;
    color: #fff;
}
.signature-inner {
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    gap: clamp(28px, 6vw, 84px);
    align-items: center;
}
.signature-inner h2 { max-width: 700px; font-size: clamp(34px, 4.8vw, 66px); }
.signature-inner p { color: rgba(255,255,255,.72); font-size: 18px; }
.signature-points { display: grid; gap: 12px; }
.signature-points p {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.18);
}
.signature-points p:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.signature-points strong { color: var(--gold); font-size: 18px; }
.signature-points span { color: rgba(255,255,255,.7); }
.element-system {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: start;
    border-top: 1px solid var(--line);
}
.element-system h2, .package-head h2 { font-size: clamp(32px, 4vw, 58px); margin-bottom: 18px; }
.element-system p, .package-head p { color: #5f574d; font-size: 17px; }
.element-list { display: grid; gap: 10px; }
.element-list p {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.38);
}
.element-list strong { display: inline-block; min-width: 78px; color: var(--bronze); }
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid var(--line);
}
.package-head { grid-column: 1 / -1; max-width: 760px; margin-bottom: 8px; }
.package-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,.26));
}
.package-grid span { color: var(--gold); font-size: 13px; font-weight: 800; }
.package-grid h3 { font-size: 25px; margin: 14px 0 10px; }
.package-grid p { margin: 0; color: #655d52; }
.service-precision {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(24px, 5vw, 70px);
    border-top: 1px solid var(--line);
}
.service-precision h2 { font-size: clamp(32px, 4vw, 54px); }
.precision-list {
    display: grid;
    gap: 12px;
}
.precision-list p {
    margin: 0;
    padding: 18px 20px;
    border-left: 3px solid var(--gold);
    background: rgba(255,255,255,.46);
    color: #5f574d;
}
.page-hero.compact {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 176px max(18px, calc((100vw - 1120px) / 2)) 72px;
    overflow: hidden;
    color: #fff;
    background: #15130f;
}
.page-hero.compact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12,11,9,.9), rgba(12,11,9,.5)), url("/assets/images/craft-detail.webp") center / cover;
    transform: scale(1.02);
}
.page-hero.compact > * { position: relative; width: min(860px, 100%); }
.page-hero.compact .eyebrow.dark { color: var(--gold); }
.page-hero.compact h1 { color: #fff; }
.prose-rich { max-width: 920px; font-size: 18px; color: #5f574d; }
.prose-rich h2 { color: var(--ink); margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); }
.prose-rich h2:not(:first-child) { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.prose-rich p { margin: 0 0 18px; }
.service-list p { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.case-hero { min-height: 86svh; display: grid; align-items: end; position: relative; overflow: hidden; color: #fff; background: #111; }
.case-hero img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; filter: brightness(.62); }
.case-hero div { position: relative; width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 150px 0 90px; }
.case-hero h1 { width: min(760px, 100%); font-size: clamp(42px, 6vw, 86px); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.timeline.refined { grid-template-columns: repeat(3, 1fr); }
.process-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 0;
}
.process-control article {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.process-control span {
    color: var(--bronze);
    font-weight: 800;
}
.process-control p {
    margin: 10px 0 0;
    color: #5f574d;
}
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form label { display: grid; gap: 6px; color: #4d453c; font-weight: 650; }
.contact-form .field.full, .contact-form .btn, .contact-form .notice { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
    width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
    background: #fffaf0; color: var(--ink); font: inherit; min-height: 46px;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid rgba(185,151,91,.38);
    border-color: rgba(185,151,91,.72);
    background: #fffdf8;
}
.contact-form textarea { resize: vertical; }
.notice { padding: 12px 14px; background: rgba(98,127,107,.16); border: 1px solid rgba(98,127,107,.32); border-radius: var(--radius); }
.contact-aside {
    position: sticky;
    top: 96px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.28)),
        linear-gradient(135deg, rgba(185,151,91,.12), rgba(98,127,107,.08));
}
.contact-aside h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 16px; }
.contact-notes { display: grid; gap: 9px; margin-top: 22px; }
.contact-notes span {
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.38);
    color: #4e463c;
    font-weight: 650;
}
.site-footer {
    display: flex; justify-content: space-between; gap: 20px; align-items: end;
    padding: 36px max(18px, calc((100vw - 1120px) / 2)); background: var(--coal); color: #fff;
}
.site-footer p { color: rgba(255,255,255,.62); margin: 6px 0 0; }
.footer-links { display: flex; gap: 16px; color: rgba(255,255,255,.72); }
.mobile-dock { display: none; }
@media (max-width: 900px) {
    body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    body.menu-open { overflow: hidden; }
    .site-header {
        z-index: 50;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        min-height: calc(66px + env(safe-area-inset-top));
        padding: max(10px, env(safe-area-inset-top)) 14px 10px 16px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        background: rgba(18,17,15,.86);
    }
    .brand-mark { width: 38px; height: 38px; }
    .brand strong { font-size: 15px; }
    .menu-toggle { display: block; width: 52px; height: 52px; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(0) rotate(-45deg); }
    .menu-toggle span { transition: transform .18s ease; }
    .site-nav {
        position: fixed;
        top: calc(66px + env(safe-area-inset-top));
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100svh - 66px - env(safe-area-inset-top));
        display: none;
        align-content: start;
        padding: 14px 14px calc(104px + env(safe-area-inset-bottom));
        background: rgba(18,17,15,.98);
        border-bottom: 1px solid rgba(255,255,255,.12);
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        overflow: auto;
    }
    .site-nav.is-open { display: grid; }
    .nav-link, .lang-switch a {
        min-height: 54px;
        justify-content: flex-start;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.08);
        font-size: 15px;
        font-weight: 700;
    }
    .lang-switch { grid-column: 1 / -1; border-left: 0; margin: 0; padding: 0; gap: 8px; }
    .hero-shell { min-height: 76svh; }
    .hero-shell picture, .hero-shell img { object-position: 58% center; }
    .hero-overlay { background: linear-gradient(0deg, rgba(11,10,9,.88), rgba(11,10,9,.26)); }
    .hero-content { width: calc(100% - 36px); padding: calc(88px + env(safe-area-inset-top)) 0 5svh; }
    .hero-content h1 {
        width: min(100%, 9.5em);
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.06;
        word-break: normal;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
    .hero-copy { font-size: 15px; line-height: 1.62; margin-top: 16px; }
    .hero-actions { margin-top: 22px; gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .btn { min-height: 52px; padding: 0 18px; }
    .hero-signals {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .hero-signals::-webkit-scrollbar { display: none; }
    .hero-signals span {
        flex: 0 0 auto;
        min-width: 104px;
        justify-content: center;
        min-height: 36px;
        scroll-snap-align: start;
        white-space: nowrap;
    }
    .section { width: calc(100% - 28px); padding: 52px 0; }
    .page-hero.compact {
        min-height: 300px;
        display: grid;
        align-items: end;
        padding: calc(104px + env(safe-area-inset-top)) 18px 42px;
    }
    .page-hero.compact h1 { font-size: clamp(31px, 8.8vw, 44px); line-height: 1.08; }
    .page-hero.compact p { font-size: 16px; }
    .intro-grid, .split-feature, .split-feature.reverse, .cards-3, .timeline, .timeline.refined, .contact-layout, .element-system, .package-grid, .signature-inner, .service-precision, .process-control { grid-template-columns: 1fr; }
    .intro-grid h2, .element-system h2, .package-head h2, .split-feature h2, .service-precision h2 { font-size: clamp(30px, 8.4vw, 38px); }
    .intro-grid p, .split-feature p, .element-system p, .package-head p { font-size: 16px; }
    .signature-band { margin: 4px 0; padding: 54px 14px; }
    .signature-inner h2 { font-size: clamp(32px, 8.4vw, 40px); }
    .signature-inner p { font-size: 16px; }
    .signature-points p { grid-template-columns: 1fr; gap: 6px; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .field.full, .contact-form .btn, .contact-form .notice { grid-column: auto; }
    .contact-aside { position: static; }
    .package-head { grid-column: auto; }
    .split-feature.reverse img { order: 0; }
    .cards-3, .package-grid, .timeline, .timeline.refined, .process-control, .precision-list, .element-list { gap: 10px; }
    .cards-3 article, .timeline article, .contact-form, .contact-aside, .package-grid article {
        padding: 18px;
        background: rgba(255,255,255,.5);
    }
    .cards-3 h3, .timeline h3 { font-size: 22px; }
    .case-hero { min-height: 76svh; }
    .case-hero div { width: calc(100% - 28px); padding: calc(116px + env(safe-area-inset-top)) 0 54px; }
    .case-hero h1 { font-size: clamp(34px, 9vw, 48px); }
    .contact-form { gap: 16px; }
    .contact-form label { gap: 8px; font-size: 15px; }
    .contact-form input, .contact-form textarea {
        min-height: 56px;
        padding: 15px 16px;
        font-size: 16px;
        line-height: 1.35;
    }
    .contact-form textarea { min-height: 180px; }
    .contact-form .btn { min-height: 56px; }
    .contact-notes span { padding: 13px 14px; }
    .site-footer { display: grid; padding: 28px 18px calc(32px + env(safe-area-inset-bottom)); }
    .mobile-dock {
        position: fixed;
        z-index: 40;
        left: 0;
        right: auto;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        min-height: calc(74px + env(safe-area-inset-bottom));
        padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255,255,255,.16);
        background: rgba(18,17,15,.92);
        color: #fff;
        backdrop-filter: blur(18px);
        box-shadow: 0 -18px 50px rgba(0,0,0,.26);
        transition: opacity .18s ease, transform .18s ease;
    }
    body.menu-open .mobile-dock { opacity: 0; pointer-events: none; transform: translateY(12px); }
    .mobile-dock a {
        min-width: 0;
        min-height: 58px;
        display: grid;
        grid-template-rows: 24px auto;
        place-items: center;
        align-content: center;
        gap: 2px;
        text-decoration: none;
        color: rgba(255,255,255,.64);
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        overflow: hidden;
    }
    .mobile-dock a.is-active {
        color: var(--gold);
    }
    .dock-icon {
        position: relative;
        width: 24px;
        height: 24px;
        color: currentColor;
    }
    .dock-icon::before, .dock-icon::after {
        content: "";
        position: absolute;
        border-color: currentColor;
    }
    .dock-home::before {
        left: 5px;
        top: 10px;
        width: 14px;
        height: 10px;
        border: 2px solid currentColor;
        border-top: 0;
    }
    .dock-home::after {
        left: 6px;
        top: 5px;
        width: 12px;
        height: 12px;
        border-left: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
    }
    .dock-services::before {
        left: 3px;
        top: 4px;
        width: 18px;
        height: 16px;
        border: 2px solid currentColor;
    }
    .dock-services::after {
        left: 8px;
        top: 9px;
        width: 8px;
        height: 6px;
        border-top: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
    }
    .dock-cases::before {
        left: 4px;
        top: 4px;
        width: 16px;
        height: 16px;
        border: 2px solid currentColor;
    }
    .dock-cases::after {
        left: 8px;
        top: 8px;
        width: 8px;
        height: 8px;
        border-left: 2px solid currentColor;
        border-top: 2px solid currentColor;
    }
    .dock-contact::before {
        left: 7px;
        top: 3px;
        width: 10px;
        height: 10px;
        border: 2px solid currentColor;
        border-radius: 50%;
    }
    .dock-contact::after {
        left: 4px;
        top: 15px;
        width: 16px;
        height: 6px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 0 0 10px 10px;
    }
}
@media (max-width: 420px) {
    .brand em { display: none; }
    .hero-actions .btn { width: 100%; }
    .intro-grid h2, .page-hero h1 { font-size: 34px; }
}
