:root {
    --forest: #1f5134;
    --forest-dark: #143723;
    --leaf: #6e9b62;
    --sun: #d9a441;
    --clay: #b96f45;
    --lake: #3f7f8f;
    --paper: #fbfaf6;
    --mist: #eef3ed;
    --white: #ffffff;
    --ink: #18231d;
    --text: #31443a;
    --muted: #6b7a70;
    --line: #dbe3d9;
    --line-strong: #c4d1c2;
    --shadow-sm: 0 1px 2px rgba(24, 35, 29, 0.06);
    --shadow: 0 12px 28px rgba(24, 35, 29, 0.10);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-serif: 'Noto Serif SC', 'Songti SC', serif;
    --radius: 8px;
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--paper);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(251, 250, 246, 0.88);
    border-bottom: 1px solid rgba(219, 227, 217, 0.8);
    backdrop-filter: blur(18px);
    transition: background var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
    background: rgba(251, 250, 246, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    background: var(--forest);
    transition: right var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--forest);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    right: 0;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: min(760px, 100vh);
    display: flex;
    align-items: flex-end;
    padding: 120px 0 52px;
    color: var(--white);
    isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    z-index: -2;
}

.hero-media img {
    object-fit: cover;
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 26, 20, 0.72), rgba(15, 26, 20, 0.34) 48%, rgba(15, 26, 20, 0.18)),
        linear-gradient(180deg, rgba(15, 26, 20, 0.12), rgba(15, 26, 20, 0.72));
}

.hero-inner {
    max-width: 1180px;
}

.eyebrow {
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--sun);
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    max-width: 820px;
    font-size: clamp(46px, 8vw, 92px);
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--white);
}

.hero-desc {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.88);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--sun);
    color: var(--forest-dark);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.64);
    color: var(--white);
    background: rgba(255, 255, 255, 0.10);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 1px;
    width: min(100%, 520px);
    margin-top: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-stats div {
    padding: 18px;
    background: rgba(15, 26, 20, 0.22);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--white);
}

.hero-stats span {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
}

.section {
    padding: 92px 0;
}

.section-intro {
    background: var(--paper);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading h2,
.visual-copy h2,
.about-grid h2,
.contact-grid h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.visual-copy p:not(.eyebrow),
.about-grid p,
.contact-grid p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.split-heading {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 32px;
    align-items: end;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.service-num {
    display: inline-flex;
    margin-bottom: 42px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--clay);
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    color: var(--ink);
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.visual-band {
    background: var(--mist);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 44px;
    align-items: center;
}

.visual-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
}

.visual-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.brand-lines {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.brand-lines p {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.brand-lines span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--clay);
    letter-spacing: 0;
}

.brand-lines strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
}

.experience-section {
    background: var(--paper);
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    min-height: 38px;
    padding: 0 15px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--white);
}

.search-box {
    position: relative;
    width: min(100%, 310px);
}

.search-box input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    outline: none;
}

.search-box input:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(31, 81, 52, 0.12);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: var(--muted);
}

.experience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.post-cover {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms ease;
}

.post-card:hover .post-cover img {
    transform: scale(1.04);
}

.post-cover-category {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: var(--radius);
    background: rgba(251, 250, 246, 0.94);
    color: var(--forest);
    font-size: 12px;
    font-weight: 800;
}

.post-card-body {
    min-width: 0;
    padding: 24px;
}

.post-card-header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--clay);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
}

.post-duration::before {
    content: "/";
    margin-right: 10px;
    color: var(--line-strong);
}

.post-card-title {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.post-card-title a {
    transition: color var(--transition);
}

.post-card-title a:hover {
    color: var(--forest);
}

.post-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.post-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.post-tag,
.tag-item {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}

.post-meta-info {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.page-btn,
.page-num {
    min-width: 42px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.page-btn:disabled {
    opacity: 0.36;
    cursor: not-allowed;
}

.page-num.active,
.page-btn:hover:not(:disabled),
.page-num:hover {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--white);
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.brand-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--forest-dark);
    color: var(--white);
}

.panel-kicker {
    margin: 0 0 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--sun);
}

.panel-block h3 {
    margin: 0;
    font-size: 30px;
    color: var(--white);
}

.panel-block p:not(.panel-kicker) {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.metric-grid div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.metric-grid strong,
.metric-grid span {
    display: block;
}

.metric-grid strong {
    font-family: var(--font-mono);
    font-size: 26px;
}

.metric-grid span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-panel .tag-item {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.hot-posts {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hot-posts a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.hot-num {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--sun);
    color: var(--forest-dark);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 auto;
}

.about-section {
    background: var(--mist);
    border-top: 1px solid var(--line);
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.principle-list {
    display: grid;
    gap: 14px;
}

.principle-list div {
    padding: 20px;
    border-left: 4px solid var(--forest);
    background: var(--white);
    border-radius: var(--radius);
}

.principle-list span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--clay);
}

.principle-list p {
    margin: 0;
    color: var(--muted);
}

.contact-section {
    color: var(--white);
    background: var(--forest);
}

.contact-grid h2,
.contact-grid p:not(.eyebrow) {
    color: var(--white);
}

.contact-grid p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--sun);
}

.footer {
    padding: 38px 0;
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.74);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    margin: 0;
    font-family: var(--font-mono);
    color: var(--white);
    font-weight: 800;
}

.footer-copy {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.empty-state {
    min-height: 180px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
}

.post-featured-image {
    height: 420px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero {
    padding: 132px 0 42px;
    background: var(--mist);
}

.post-hero-inner {
    width: min(100% - 40px, 860px);
    margin: 0 auto;
}

.post-meta-top,
.post-meta-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
}

.post-category {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: var(--radius);
    background: var(--forest);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.post-hero-title {
    margin: 18px 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.08;
    color: var(--ink);
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}

.post-content-section {
    padding: 72px 0 96px;
}

.post-layout {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 44px;
}

.article-body {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.95;
    color: var(--text);
}

.article-body .lead {
    margin: 0 0 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-size: 21px;
    color: var(--ink);
}

.article-body h2 {
    margin: 42px 0 14px;
    font-family: var(--font-main);
    font-size: 28px;
    color: var(--ink);
}

.article-body p,
.article-body li {
    margin-bottom: 16px;
}

.article-body ol,
.article-body ul {
    padding-left: 26px;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--clay);
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--ink);
}

.article-body pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--forest-dark);
    color: var(--white);
}

.article-body code {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.post-footer,
.post-nav {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.share-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--forest);
    cursor: pointer;
}

.share-btn svg {
    width: 17px;
    height: 17px;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.post-nav-prev,
.post-nav-next,
.post-sidebar .sidebar-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.post-nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.nav-title {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-weight: 800;
}

.post-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
    position: sticky;
    top: 96px;
}

.sidebar-title {
    margin: 0 0 12px;
    color: var(--ink);
}

.toc ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc a {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .service-grid,
    .visual-grid,
    .experience-layout,
    .about-grid,
    .contact-grid,
    .post-layout {
        grid-template-columns: 1fr;
    }

    .brand-panel,
    .post-sidebar {
        position: static;
    }

    .post-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        min-height: 66px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 10px;
    }

    .hero {
        min-height: 720px;
        padding: 104px 0 32px;
    }

    .hero-title {
        font-size: clamp(42px, 16vw, 68px);
    }

    .hero-desc {
        font-size: 17px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .section {
        padding: 68px 0;
    }

    .split-heading,
    .filter-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .search-box {
        width: 100%;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-cover {
        min-height: 210px;
    }

    .post-card-footer,
    .contact-actions,
    .footer-content,
    .post-nav {
        grid-template-columns: 1fr;
        display: grid;
        justify-items: stretch;
        text-align: left;
    }

    .post-meta-info {
        flex: initial;
    }
}

@media (max-width: 460px) {
    .hero-actions {
        display: grid;
    }

    .filter-categories {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-card-body,
    .service-card,
    .brand-panel {
        padding: 20px;
    }
}
