:root {
    --yx-ink: #1a2332;
    --yx-muted: #5c6b7c;
    --yx-paper: #f3eee6;
    --yx-card: #fffdfb;
    --yx-line: #e3d8c8;
    --yx-copper: #c45c26;
    --yx-navy: #16324f;
    --yx-navy-2: #0e2438;
    --yx-sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --yx-serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", "Noto Serif SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--yx-sans);
    background: var(--yx-paper);
    color: var(--yx-ink);
    line-height: 1.65;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yx-copper); }

.yx-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.yx-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 251, 0.94);
    border-bottom: 1px solid var(--yx-line);
    backdrop-filter: blur(10px);
}

.yx-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.yx-logo { text-decoration: none; color: inherit; }
.yx-logo-mark {
    display: block;
    font-family: var(--yx-serif);
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    color: var(--yx-navy);
}
.yx-logo-name { display: block; font-size: 0.75rem; color: var(--yx-muted); margin-top: 2px; }

.yx-nav ul { display: flex; gap: 4px; list-style: none; }
.yx-nav a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--yx-ink);
    font-size: 0.92rem;
    border-bottom: 2px solid transparent;
}
.yx-nav a:hover,
.yx-nav a.is-on { color: var(--yx-copper); border-bottom-color: var(--yx-copper); }

.yx-menu {
    display: none;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--yx-navy);
    background: transparent;
    color: var(--yx-navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.yx-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
    background: var(--yx-navy);
    color: #f7f3ec;
}

.yx-hero-copy { padding: 72px 6vw 64px; max-width: 640px; margin-left: auto; }
.yx-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e7b599;
    margin-bottom: 16px;
}
.yx-hero h1 {
    font-family: var(--yx-serif);
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 18px;
}
.yx-hero p { color: #d7e2ec; font-size: 1.05rem; margin-bottom: 14px; }
.yx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.yx-hero-photo { position: relative; min-height: 320px; }
.yx-hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.yx-btn {
    display: inline-block;
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
}
.yx-btn-solid { background: var(--yx-copper); color: #fff; }
.yx-btn-solid:hover { background: #a84b1c; }
.yx-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.yx-btn-ghost:hover { border-color: #fff; }
.yx-btn-line { color: var(--yx-navy); border: 1px solid var(--yx-navy); background: transparent; }
.yx-btn-line:hover { background: var(--yx-navy); color: #fff; }

.yx-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
}
.yx-metric {
    background: var(--yx-card);
    border: 1px solid var(--yx-line);
    padding: 18px 16px 16px;
}
.yx-metric b {
    display: block;
    font-family: var(--yx-serif);
    font-size: 1.7rem;
    color: var(--yx-copper);
    font-weight: 600;
}
.yx-metric span { color: var(--yx-muted); font-size: 0.88rem; }

.yx-section { padding: 72px 0; }
.yx-section h2 {
    font-family: var(--yx-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
    margin: 8px 0 14px;
}
.yx-lead { max-width: 640px; color: var(--yx-muted); margin-bottom: 28px; }
.yx-defer { content-visibility: auto; contain-intrinsic-size: auto 520px; }

.yx-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.yx-split p { margin-bottom: 14px; }
.yx-photo { overflow: hidden; }
.yx-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.yx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.yx-card {
    background: var(--yx-card);
    border: 1px solid var(--yx-line);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.yx-card:hover { border-color: var(--yx-copper); }
.yx-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.yx-card div { padding: 14px 14px 18px; }
.yx-card small { color: var(--yx-copper); letter-spacing: 0.12em; font-size: 0.72rem; }
.yx-card h3 { font-size: 1.05rem; margin: 6px 0; font-family: var(--yx-serif); font-weight: 600; }
.yx-card p { color: var(--yx-muted); font-size: 0.88rem; }

.yx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.yx-step { border-top: 3px solid var(--yx-copper); padding-top: 14px; }
.yx-step em { font-style: normal; color: var(--yx-copper); font-family: var(--yx-serif); font-size: 1.3rem; }
.yx-step h3 { margin: 6px 0; font-size: 1.05rem; }
.yx-step p { color: var(--yx-muted); font-size: 0.92rem; }

.yx-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yx-note {
    display: block;
    background: var(--yx-card);
    border: 1px solid var(--yx-line);
    padding: 20px 18px 22px;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
}
.yx-note:hover { border-color: var(--yx-navy); }
.yx-note time { color: var(--yx-copper); font-size: 0.82rem; }
.yx-note h3 { font-family: var(--yx-serif); font-size: 1.15rem; margin: 8px 0; font-weight: 600; }
.yx-note p { color: var(--yx-muted); font-size: 0.92rem; }

.yx-band {
    color: #f7f3ec;
    background:
        linear-gradient(100deg, rgba(14, 36, 56, 0.88), rgba(22, 50, 79, 0.55)),
        url("https://whh6.com/static/ygx-banner.jpg?v=20261116") center 40% / cover no-repeat;
    padding: 78px 0 64px;
}
.yx-band h1 {
    font-family: var(--yx-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    max-width: 16em;
}
.yx-band p { max-width: 38em; margin-top: 12px; color: #e4edf4; }

.yx-rows { display: flex; flex-direction: column; gap: 28px; }
.yx-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: var(--yx-card);
    border: 1px solid var(--yx-line);
    text-decoration: none;
    color: inherit;
    align-items: center;
}
.yx-row:nth-child(even) { grid-template-columns: 1fr 280px; }
.yx-row:nth-child(even) img { order: 2; }
.yx-row img { width: 100%; height: 180px; object-fit: cover; }
.yx-row div { padding: 8px 18px 8px 0; }
.yx-row:nth-child(even) div { padding: 8px 0 8px 18px; }
.yx-row h3 { font-family: var(--yx-serif); font-size: 1.35rem; margin-bottom: 6px; }
.yx-row p { color: var(--yx-muted); }

.yx-prose { max-width: 740px; }
.yx-prose p { margin-bottom: 14px; }
.yx-prose h2 { font-size: 1.35rem; margin: 22px 0 8px; }
.yx-specs { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 0.95rem; }
.yx-specs th, .yx-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--yx-line); vertical-align: top; }
.yx-specs th { width: 28%; color: var(--yx-navy); font-weight: 650; background: rgba(255,255,255,.55); }

.yx-desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--yx-navy);
    color: #f4efe8;
}
.yx-desk-copy { padding: 48px 40px; }
.yx-desk h2 { font-family: var(--yx-serif); font-size: 2rem; margin-bottom: 10px; }
.yx-desk a { color: #f0c7ad; }
.yx-desk ul { list-style: none; margin-top: 16px; }
.yx-desk li { margin: 8px 0; }
.yx-desk-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.yx-caption { font-size: 0.8rem; color: var(--yx-muted); margin-top: 8px; }

.yx-foot { background: var(--yx-navy-2); color: #d5e0ea; padding: 36px 0 28px; font-size: 0.92rem; }
.yx-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.yx-foot strong { color: #fff; display: block; margin-bottom: 8px; }
.yx-foot a { color: #f0c7ad; text-decoration: none; display: block; margin: 4px 0; }
.yx-foot a:hover { text-decoration: underline; }
.yx-fine { width: min(1120px, calc(100% - 40px)); margin: 22px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.78rem; color: #9aafc0; }

.yx-crumb { font-size: 0.85rem; color: var(--yx-muted); margin-bottom: 18px; }
.yx-crumb a { color: var(--yx-navy); text-decoration: none; }

@media (max-width: 900px) {
    .yx-menu { display: inline-flex; align-items: center; }
    .yx-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
    .yx-nav.is-open { display: block; }
    .yx-bar-row { flex-wrap: wrap; padding: 10px 0; }
    .yx-nav ul { flex-direction: column; }
    .yx-hero, .yx-split, .yx-desk, .yx-foot-grid, .yx-metrics, .yx-grid, .yx-steps, .yx-notes {
        grid-template-columns: 1fr;
    }
    .yx-hero-copy { padding: 42px 22px 28px; margin: 0; }
    .yx-hero-photo { min-height: 240px; }
    .yx-hero-photo img { position: static; height: 240px; }
    .yx-metrics { margin-top: 0; }
    .yx-section { padding: 48px 0; }
    .yx-row, .yx-row:nth-child(even) { grid-template-columns: 1fr; }
    .yx-row img, .yx-row:nth-child(even) img { order: 0; height: 200px; }
    .yx-row div, .yx-row:nth-child(even) div { padding: 14px 16px 18px; }
    .yx-desk-copy { padding: 32px 22px; }
    .yx-wrap { width: min(1120px, calc(100% - 32px)); }
}

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