/* === 博客作品集 · 文艺有故事 === */

:root {
    --bg: #f5f1e8;
    --bg-paper: #faf8f3;
    --fg: #2c3e50;
    --fg-light: #4a5868;
    --muted: #8a8378;
    --accent: #c47a4f;
    --border: #ddd5c4;
    --serif: 'Lora', 'Noto Serif SC', Georgia, serif;
    --zh: 'Noto Serif SC', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--serif);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.kicker {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    font-family: var(--serif);
    font-weight: 500;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4vw, 48px); }

/* === 顶部 === */
.nav {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border);
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-zh {
    font-family: var(--zh);
    font-size: 28px;
    font-weight: 500;
    color: var(--fg);
}
.brand-en {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--muted);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    font-family: var(--zh);
    font-size: 15px;
    color: var(--fg-light);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* === Hero === */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 48px 80px;
}
.hero-text .kicker { margin-bottom: 32px; }
.hero h1 {
    margin-bottom: 24px;
    color: var(--fg);
}
.lead {
    font-size: 19px;
    color: var(--fg-light);
    margin-bottom: 32px;
    font-style: italic;
}
.meta {
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.meta span { color: var(--accent); font-weight: 500; }
.hero-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* === 故事 === */
.stories {
    padding: 100px 48px;
    max-width: 1400px;
    margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 80px; }
.section-head .kicker { margin-bottom: 16px; }

.featured-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--bg-paper);
    border: 1px solid var(--border);
    overflow: hidden;
}
.fs-img {
    aspect-ratio: 5/6;
    overflow: hidden;
}
.fs-img img { transition: transform 1s ease; }
.featured-story:hover .fs-img img { transform: scale(1.04); }
.fs-text {
    padding: 60px 60px 60px 0;
}
.cat {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    background: rgba(196, 122, 79, 0.1);
    padding: 6px 14px;
    margin-bottom: 24px;
}
.fs-text h3 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
    line-height: 1.2;
}
.excerpt {
    font-size: 17px;
    color: var(--fg-light);
    margin-bottom: 24px;
    line-height: 1.8;
}
.meta-row {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.05em;
}
.meta-row span { margin-right: 8px; }

/* 故事网格 */
.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}
.story-card {
    background: var(--bg-paper);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.sc-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.story-card .cat,
.story-card h4,
.story-card .excerpt,
.story-card .date {
    display: block;
    margin: 0;
}
.story-card .cat { margin: 28px 32px 16px; }
.story-card h4 {
    margin: 0 32px 16px;
    font-size: 26px;
    color: var(--fg);
}
.story-card .excerpt {
    margin: 0 32px 24px;
    font-size: 15px;
}
.story-card .date {
    margin: 0 32px 28px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.btn-more {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    font-size: 15px;
    color: var(--accent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    transition: background 0.2s;
}
.btn-more:hover { background: var(--bg-paper); }

/* === 归档 === */
.archives {
    background: var(--bg-paper);
    padding: 100px 48px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.archive-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}
.archive-col h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.archive-col ul { list-style: none; }
.archive-col li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}
.archive-col a {
    font-size: 15px;
    color: var(--fg-light);
    transition: color 0.2s;
}
.archive-col a:hover { color: var(--accent); }

/* === 关于 === */
.about {
    padding: 100px 48px;
}
.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.about-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.about-text h2 { margin: 16px 0 24px; }
.about-text p {
    font-size: 17px;
    color: var(--fg-light);
    line-height: 1.9;
}
.signature {
    font-style: italic;
    color: var(--accent);
    font-size: 19px;
    margin-top: 32px;
}

/* === 联系 / 订阅 === */
.contact {
    background: var(--fg);
    color: white;
    padding: 100px 48px;
    text-align: center;
}
.contact-card { max-width: 600px; margin: 0 auto; }
.contact .kicker { color: var(--accent); margin-bottom: 16px; }
.contact h2 { color: white; margin-bottom: 16px; }
.contact > .contact-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 17px;
}
.subscribe {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    background: white;
    padding: 6px;
}
.subscribe input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
    color: var(--fg);
}
.subscribe input:focus { outline: none; }
.subscribe button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 32px;
    font-family: var(--zh);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.subscribe button:hover { background: #b06a3f; }

.contact-other p {
    font-family: var(--zh);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 16px;
}
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    font-family: var(--zh);
    font-size: 14px;
}
.links a {
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.links a:hover { border-color: var(--accent); }

/* === 页脚 === */
.footer {
    background: #1a2530;
    color: rgba(255,255,255,0.6);
    padding: 64px 48px 40px;
    text-align: center;
}
.footer .brand { justify-content: center; }
.footer .brand-zh { color: white; }
.footer-quote {
    font-style: italic;
    font-size: 16px;
    margin: 32px 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 24px;
}

/* === 响应式 === */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 32px; }
    .featured-story { grid-template-columns: 1fr; gap: 32px; }
    .fs-text { padding: 0 32px 32px; }
    .story-grid { grid-template-columns: 1fr; gap: 32px; }
    .archive-grid { grid-template-columns: 1fr; gap: 40px; max-width: 500px; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .nav { padding: 16px 24px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 13px; }
    .stories { padding: 60px 24px; }
    .archives { padding: 60px 24px; }
    .about { padding: 60px 24px; }
    .contact { padding: 60px 24px; }
    .subscribe { flex-direction: column; gap: 8px; padding: 0; background: transparent; }
    .subscribe input { background: white; }
}
