* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Georgia, serif; background: #fafaf8; color: #2c2c2c; }
a { text-decoration: none; }

.top-bar { background:#fff; padding:0 24px; display:flex; justify-content:space-between; align-items:center; font-family:-apple-system,sans-serif; font-size:.8125rem; height:48px; border-bottom:1px solid #e5e5e0; }
.top-bar-left { display:flex; align-items:center; gap:4px; }
.top-bar-left a { color:#333; font-weight:600; text-decoration:none; padding:6px 12px; border-radius:6px; transition:background .15s; }
.top-bar-left a:hover { background:#f0f0ec; }
.top-bar-left a.site { color:#111; font-size:.875rem; font-weight:700; letter-spacing:-.3px; }
.top-bar-left .sep { color:#ccc; font-size:.75rem; }
.top-bar-right { display:flex; align-items:center; gap:8px; }
.top-bar-right a { color:#666; font-weight:500; text-decoration:none; padding:6px 12px; border-radius:6px; transition:background .15s; }
.top-bar-right a:hover { background:#f0f0ec; color:#333; }

.brand-nav { background:#111827; border-bottom:1px solid #1e293b; position:sticky; top:0; z-index:100; }
.brand-nav-inner { display:flex; align-items:center; max-width:1200px; margin:0 auto; padding:0 16px; position:relative; }
.brand-tab { padding:11px 16px; color:#c0c8d4; font-family:-apple-system,sans-serif; font-size:.8125rem; font-weight:500; letter-spacing:.3px; border-bottom:2px solid transparent; white-space:nowrap; transition:color .15s,border-color .15s; }
.brand-tab:hover { color:#fff; }
.brand-tab.active { color:#fff; font-weight:600; border-bottom-color:#60a5fa; }
.brand-more { padding:14px 16px; color:#555; font-family:-apple-system,sans-serif; font-size:.8rem; cursor:pointer; white-space:nowrap; transition:color .15s; }
.brand-more:hover { color:#888; }
.brand-more.open { color:#8ecae6; }
.brand-overlay { display:none; background:#1a1a2e; border-top:1px solid #333; overflow:hidden; max-height:0; transition:max-height .3s ease; }
.brand-overlay.open { display:block; max-height:500px; }
.brand-overlay-inner { max-width:1200px; margin:0 auto; padding:20px 16px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.brand-overlay-inner a { display:block; padding:12px 16px; color:#bbb; font-family:-apple-system,sans-serif; font-size:.82rem; border-radius:6px; transition:all .12s; }
.brand-overlay-inner a:hover { color:#fff; background:rgba(142,202,230,.1); }
.brand-overlay-backdrop { display:none; position:fixed; inset:0; z-index:99; }
.brand-overlay-backdrop.open { display:block; }
.nav-scroll { display:flex; overflow-x:auto; flex:1; scrollbar-width:none; }
.nav-scroll::-webkit-scrollbar { display:none; }
.nav-scroll-fade { display:none; position:absolute; right:60px; top:0; bottom:0; width:40px; background:linear-gradient(to right,transparent,#111); pointer-events:none; z-index:2; }

.hero { background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%); color:#fff; padding:48px 24px 36px; text-align:center; }
.hero-brand { font-size:.7rem; text-transform:uppercase; letter-spacing:3px; color:#8ecae6; margin-bottom:10px; }
.hero h1 { font-size:2.2rem; font-weight:400; margin-bottom:6px; letter-spacing:-.5px; }
.hero .tagline { font-size:1rem; color:#b8c9d9; font-style:italic; margin-bottom:16px; }
.hero-stats { display:flex; justify-content:center; gap:24px; font-family:-apple-system,sans-serif; font-size:.8rem; color:#7a9bb5; }
.hero-stats strong { color:#8ecae6; }

.timeline-nav { background:#f0efe9; border-bottom:1px solid #e0ddd5; position:sticky; top:46px; z-index:90; }
.timeline-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; padding:0 16px; font-family:-apple-system,sans-serif; }
.year-nav { display:flex; gap:0; border-right:1px solid #ddd; padding-right:16px; margin-right:16px; }
.year-pill { padding:10px 12px; font-size:.75rem; color:#888; cursor:pointer; border-bottom:2px solid transparent; font-weight:500; }
.year-pill:hover { color:#555; }
.year-pill.active { color:#1a1a2e; border-bottom-color:#1a1a2e; font-weight:700; }
.year-pill .yr-count { font-size:.6rem; color:#aaa; display:block; text-align:center; margin-top:1px; }
.month-nav { display:flex; gap:0; overflow-x:auto; flex:1; scrollbar-width:none; }
.month-nav::-webkit-scrollbar { display:none; }
.month-pill { padding:10px 10px; font-size:.7rem; color:#999; cursor:pointer; white-space:nowrap; text-transform:uppercase; letter-spacing:.5px; border-bottom:2px solid transparent; }
.month-pill:hover { color:#555; }
.month-pill.active { color:#1a1a2e; border-bottom-color:#8ecae6; }
.month-pill .mo-count { font-size:.6rem; color:#bbb; margin-left:3px; }

.indie-nav { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; padding:16px 24px; background:#f5f4ee; border-bottom:1px solid #e0ddd5; }
.indie-pill { display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border-radius:20px; font-family:-apple-system,sans-serif; font-size:.78rem; color:#666; background:#fff; border:1px solid #ddd; transition:all .15s; white-space:nowrap; }
.indie-pill:hover { border-color:#8ecae6; color:#1a1a2e; }
.indie-pill.active { background:#1a1a2e; color:#fff; border-color:#1a1a2e; }
.indie-pill.active .indie-count { color:#8ecae6; }
.indie-count { font-size:.65rem; color:#aaa; }

.layout { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 280px; gap:32px; padding:32px 16px; }

.week-section { margin-bottom:40px; }
.week-section-header { margin:32px 0 16px; }
.week-section-header:first-child { margin-top:0; }
.week-header { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; padding-bottom:8px; border-bottom:2px solid #1a1a2e; }
.week-label { font-family:-apple-system,sans-serif; font-size:.7rem; text-transform:uppercase; letter-spacing:2px; color:#999; }
.week-date { font-size:1.1rem; color:#2c3e50; font-weight:600; }
.week-count { font-family:-apple-system,sans-serif; font-size:.75rem; color:#8ecae6; }

a.feature-card, a.feature-card:visited { color:inherit; text-decoration:none; }
.feature-card { position:relative; border-radius:8px; overflow:hidden; margin-bottom:20px; height:320px; display:flex; align-items:flex-end; background:#1a1a2e; }
.feature-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.6; transition:opacity .2s; }
.feature-card:hover img { opacity:.5; }
.feature-card-content { position:relative; z-index:1; padding:24px; background:linear-gradient(to top,rgba(0,0,0,.85),transparent); width:100%; padding-top:140px; }
.feature-tag { display:inline-block; font-family:-apple-system,sans-serif; font-size:.6rem; text-transform:uppercase; letter-spacing:1.5px; color:#8ecae6; background:rgba(142,202,230,.15); padding:3px 8px; border-radius:3px; margin-bottom:8px; }
.feature-card h3 { color:#fff; font-size:1.4rem; font-weight:400; margin-bottom:6px; line-height:1.25; }
.feature-meta { font-family:-apple-system,sans-serif; font-size:.75rem; color:#b0c4d4; }
a.feature-card .feature-summary { font-family:-apple-system,sans-serif; font-size:.85rem; color:#c8d6e0; margin-top:8px; line-height:1.4; }

.article-row { display:flex; gap:16px; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid #eee; }
.article-row:last-child { border-bottom:none; }
.article-row-img { width:160px; height:110px; border-radius:6px; object-fit:cover; flex-shrink:0; background:#e8e4dc; }
.article-row-content { flex:1; display:flex; flex-direction:column; justify-content:center; }
.article-row-topic { font-family:-apple-system,sans-serif; font-size:.65rem; text-transform:uppercase; letter-spacing:1px; color:#8ecae6; margin-bottom:4px; }
.article-row h4 { font-size:1.05rem; font-weight:600; color:#1a1a2e; margin-bottom:4px; line-height:1.3; }
.article-row h4:hover { color:#0f3460; }
.article-row a h4 { color:#1a1a2e; }
.article-row a:hover h4 { color:#0f3460; }
.article-row-author { font-family:-apple-system,sans-serif; font-size:.75rem; color:#999; margin-bottom:6px; }
.article-row-summary { font-size:.85rem; line-height:1.5; color:#666; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.article-row-stats { font-family:-apple-system,sans-serif; font-size:.7rem; color:#aaa; margin-top:4px; }
.article-row-stats span { margin-right:10px; }

.load-more { text-align:center; padding:24px; }
.load-more-btn { display:inline-block; padding:12px 32px; border:1px solid #ddd; border-radius:6px; font-family:-apple-system,sans-serif; font-size:.85rem; color:#555; cursor:pointer; transition:all .15s; }
.load-more-btn:hover { border-color:#8ecae6; color:#1a1a2e; }

.sidebar { font-family:-apple-system,sans-serif; }
.sidebar-section { margin-bottom:32px; background:#fff; border:1px solid #eee; border-radius:8px; padding:20px; }
.sidebar-title { font-size:.7rem; text-transform:uppercase; letter-spacing:1.5px; color:#888; margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid #eee; }
.contributor { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.contributor-avatar { width:32px; height:32px; border-radius:50%; background:#1a1a2e; color:#8ecae6; display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:600; flex-shrink:0; }
.contributor-name { font-size:.85rem; font-weight:600; color:#2c3e50; }
.contributor-count { font-size:.7rem; color:#999; }
.popular-item { display:block; margin-bottom:12px; padding-bottom:12px; border-bottom:1px solid #f5f5f5; }
.popular-item:last-child { border-bottom:none; }
.popular-title { font-size:.85rem; font-weight:600; color:#1a1a2e; line-height:1.3; }
.popular-title:hover { color:#0f3460; }
.popular-meta { font-size:.7rem; color:#999; margin-top:3px; }
.archive-year-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; }
.archive-year-btn { padding:8px; text-align:center; border:1px solid #eee; border-radius:4px; font-size:.8rem; color:#555; cursor:pointer; transition:all .15s; }
.archive-year-btn:hover { border-color:#8ecae6; color:#1a1a2e; }
.archive-year-btn.active { background:#1a1a2e; color:#fff; border-color:#1a1a2e; }
.archive-year-btn .ay-count { display:block; font-size:.6rem; color:#aaa; margin-top:2px; }
.archive-year-btn.active .ay-count { color:#8ecae6; }
.subscribe-card { background:#1a1a2e; border-radius:8px; padding:24px; text-align:center; color:#fff; border:none; }
.subscribe-card h4 { font-weight:400; font-size:.95rem; margin-bottom:6px; }
.subscribe-card p { font-size:.75rem; color:#7a9bb5; margin-bottom:12px; }
.subscribe-card input { width:100%; padding:8px 12px; border:1px solid #334; background:#0f1629; color:#fff; border-radius:4px; font-size:.8rem; margin-bottom:8px; }
.subscribe-card button { width:100%; padding:8px; background:#8ecae6; color:#1a1a2e; border:none; border-radius:4px; font-weight:600; font-size:.8rem; cursor:pointer; }

.ad-slot { background:#f0efe9; border:1px dashed #ccc; border-radius:6px; padding:20px; text-align:center; font-family:-apple-system,sans-serif; font-size:.7rem; color:#bbb; text-transform:uppercase; letter-spacing:1px; }
.ad-slot-sidebar { margin-bottom:32px; }

.breadcrumb { font-family:-apple-system,sans-serif; font-size:.8rem; padding:12px 24px; background:#111; color:#aaa; }
.breadcrumb a { color:#8ecae6; text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb .sep { margin:0 6px; color:#444; }

.article-hero { position:relative; height:520px; display:flex; align-items:flex-end; overflow:hidden; background:#1a1a2e; }
.article-hero img.hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; }
.article-hero-content { position:relative; z-index:1; max-width:740px; padding:48px; background:linear-gradient(to top,rgba(0,0,0,.85) 0%,transparent 100%); width:100%; padding-top:200px; color:#fff; }
.article-topic-tag { display:inline-block; font-family:-apple-system,sans-serif; font-size:.7rem; text-transform:uppercase; letter-spacing:2px; color:#8ecae6; background:rgba(142,202,230,.15); padding:4px 12px; border-radius:3px; margin-bottom:12px; }
.article-hero h1 { font-size:2.6rem; font-weight:400; line-height:1.2; margin-bottom:12px; letter-spacing:-.5px; }
.article-hero .meta { font-family:-apple-system,sans-serif; font-size:.85rem; color:#b0c4d4; }
.article-hero .meta a { color:#8ecae6; text-decoration:none; }

.author-card { display:flex; align-items:center; gap:16px; padding:20px 0; margin-bottom:24px; border-bottom:1px solid #e0ddd5; }
.author-avatar { width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid #8ecae6; }
.author-info { font-family:-apple-system,sans-serif; }
.author-name { font-weight:600; color:#2c3e50; font-size:.95rem; }
.author-bio { font-size:.8rem; color:#666; margin-top:2px; }

.article-container { max-width:740px; margin:0 auto; padding:40px 24px; }
.thread-stats { display:flex; gap:24px; padding:16px 0 24px; border-bottom:1px solid #e0ddd5; margin-bottom:32px; font-family:-apple-system,sans-serif; font-size:.8rem; color:#666; }
.thread-stats strong { color:#2c3e50; }

.original-post { font-size:1.15rem; line-height:1.85; color:#333; margin-bottom:32px; }
.original-post p { margin-bottom:20px; }
.original-post .drop-cap::first-letter { float:left; font-size:3.5rem; line-height:1; padding-right:8px; color:#1a1a2e; font-weight:400; }
.original-post img { display:block; max-width:100%; height:auto; border-radius:6px; margin:24px auto; }
.original-post .MsoNormal { margin-bottom:16px; }
.original-post b, .original-post strong { font-weight:normal; color:#1a1a2e; }
.original-post br + br { display:none; }

.post-gallery { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:28px 0; }
.post-gallery.single { grid-template-columns:1fr; }
.post-gallery img { width:100%; border-radius:6px; object-fit:cover; }
.post-gallery.single img { height:420px; }
.post-gallery:not(.single) img { height:260px; }
.img-caption { grid-column:1/-1; font-family:-apple-system,sans-serif; font-size:.75rem; color:#999; text-align:center; font-style:italic; }

.takeaways { background:#f0efe9; border-radius:8px; padding:24px; margin:32px 0; }
.takeaways h3 { font-family:-apple-system,sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:1.5px; color:#1a1a2e; margin-bottom:12px; }
.takeaways ul { list-style:none; padding:0; }
.takeaways li { padding:6px 0 6px 20px; position:relative; font-size:.95rem; line-height:1.6; color:#444; }
.takeaways li::before { content:'\25C6'; position:absolute; left:0; color:#8ecae6; font-size:.6rem; top:12px; }

.discussion-section { margin-top:40px; padding-top:32px; border-top:2px solid #1a1a2e; }
.discussion-header { font-family:-apple-system,sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:2px; color:#888; margin-bottom:24px; }
.discussion-header strong { color:#2c3e50; font-size:.85rem; }
.comment-card { margin-bottom:28px; padding-bottom:28px; border-bottom:1px solid #eee; }
.comment-card:last-of-type { border-bottom:none; }
.comment-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.comment-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; background:#1a1a2e; color:#8ecae6; display:flex; align-items:center; justify-content:center; font-family:-apple-system,sans-serif; font-weight:600; font-size:.85rem; flex-shrink:0; }
.comment-author { font-family:-apple-system,sans-serif; font-weight:600; color:#2c3e50; font-size:.9rem; }
.comment-date { font-family:-apple-system,sans-serif; font-size:.75rem; color:#aaa; }
.comment-body { font-size:1rem; line-height:1.75; color:#444; padding-left:52px; }
.comment-highlight { border-left:3px solid #8ecae6; padding-left:16px; margin:8px 0; color:#555; font-style:italic; }

.join-discussion { text-align:center; padding:40px; background:#1a1a2e; border-radius:8px; margin:40px 0; }
.join-discussion h3 { color:#fff; font-size:1.3rem; font-weight:400; margin-bottom:8px; }
.join-discussion p { color:#7a9bb5; font-size:.9rem; margin-bottom:16px; }
.join-btn { display:inline-block; padding:12px 32px; background:#8ecae6; color:#1a1a2e; text-decoration:none; border-radius:6px; font-family:-apple-system,sans-serif; font-weight:600; font-size:.9rem; }
.join-btn:hover { background:#a8d8ea; }

.related-section { margin-top:40px; padding-top:32px; border-top:1px solid #e0ddd5; }
.related-section h3 { font-family:-apple-system,sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:2px; color:#888; margin-bottom:16px; }
.related-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.related-card { display:flex; gap:12px; text-decoration:none; padding:12px; border-radius:6px; border:1px solid #eee; transition:all .15s; }
.related-card:hover { border-color:#8ecae6; }
.related-card img { width:80px; height:80px; border-radius:4px; object-fit:cover; flex-shrink:0; }
.related-card .rc-title { font-size:.9rem; font-weight:600; color:#1a1a2e; margin-bottom:4px; }
.related-card .rc-meta { font-family:-apple-system,sans-serif; font-size:.75rem; color:#999; }

.site-footer { text-align:center; padding:32px; font-family:-apple-system,sans-serif; font-size:.8rem; color:#aaa; border-top:1px solid #eee; margin-top:48px; }
.site-footer a { color:#888; }

@media (max-width:900px) {
  .layout { grid-template-columns:1fr; }
  .sidebar { display:none; }
  .feature-card { height:260px; }
  .article-row { flex-direction:column; }
  .article-row-img { width:100%; height:180px; }
  .brand-tab { padding:12px 10px; font-size:.7rem; }
  .nav-scroll { scroll-behavior:smooth; }
  .nav-scroll-fade { display:block; }
  .brand-overlay-inner { grid-template-columns:repeat(3,1fr); }
  .year-nav { overflow-x:auto; scrollbar-width:none; border-right:none; padding-right:0; margin-right:0; }
  .year-nav::-webkit-scrollbar { display:none; }
  .timeline-inner { flex-direction:column; align-items:stretch; padding:0; }
  .month-nav { padding:0 12px; }
  .year-nav { padding:0 12px; }
  .indie-nav { padding:12px 12px; gap:6px; justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; }
  .indie-nav::-webkit-scrollbar { display:none; }
  .indie-pill { font-size:.7rem; padding:5px 10px; }
}
@media (max-width:700px) {
  .brand-overlay-inner { grid-template-columns:repeat(2,1fr); }
  .brand-overlay-inner a { padding:10px 12px; font-size:.78rem; }
  .article-hero { height:360px; }
  .article-hero-content { padding:24px; }
  .article-hero h1 { font-size:1.6rem; }
  .post-gallery { grid-template-columns:1fr; }
  .related-grid { grid-template-columns:1fr; }
  .comment-body { padding-left:0; }
}
.ref-overview { background:#f8f7f3; border-radius:8px; padding:28px; margin:32px 0; border:1px solid #e0ddd5; }
.ref-overview h3 { font-family:-apple-system,sans-serif; font-size:1rem; font-weight:600; color:#1a1a2e; margin-bottom:12px; }
.ref-desc { font-size:.95rem; line-height:1.75; color:#444; margin-bottom:20px; }
.spec-cards { display:grid; grid-template-columns:1fr; gap:12px; }
.spec-card { background:#fff; border:1px solid #e8ede8; border-radius:10px; padding:14px 16px; }
.spec-card .sg-hd { font-size:.75rem; font-weight:700; color:#4b5563; text-transform:uppercase; letter-spacing:.07em; margin:0 0 10px; padding-bottom:8px; border-bottom:2px solid #d1ddd1; }
.spec-card .sps.sg { margin:0; }
.spec-card .sp { display:flex; margin:0; padding:7px 0; border-bottom:1px solid #eef2ee; }
.spec-card .sp:last-child { border-bottom:none; }
.spec-card .sp dt { flex:1; font-family:-apple-system,sans-serif; font-size:.8rem; color:#6b7280; }
.spec-card .sp dd { flex:none; font-size:.85rem; font-weight:600; color:#1f2937; text-align:right; }

.share-row { display:flex; gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid #eee; margin-bottom:24px; }
.share-row a { color:#666; font-size:.85rem; text-decoration:none; transition:color .15s; }
.share-row a:hover { color:#1a1a2e; }
.author-link { color:inherit; text-decoration:none; border-bottom:1px dotted #8ecae6; }
.author-link:hover { color:#8ecae6; }
.author-hero { text-align:center;  padding:40px 20px; }
.author-avatar-lg { width:120px; height:120px; border-radius:50%; border:3px solid #8ecae6; object-fit:cover; }
.author-initials-lg { width:120px; height:120px; border-radius:50%; border:3px solid #8ecae6; background:#1a1a2e; color:#8ecae6; display:inline-flex; align-items:center; justify-content:center; font-size:2.5rem; font-weight:600; font-family:-apple-system,sans-serif; }
.author-hero h1 { font-size:2rem; font-weight:400; margin:16px 0 4px; color:#1a1a2e; }
.author-hero .author-since { font-size:.9rem; color:#888; font-style:italic; }
.author-stats-row { display:flex; gap:32px; justify-content:center; margin:20px 0; font-family:-apple-system,sans-serif; font-size:.9rem; color:#666; }
.author-stats-row .stat-num { display:block; font-size:1.5rem; font-weight:700; color:#1a1a2e; }
.year-pills { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; padding:16px 24px; background:#f5f4ee; border-bottom:1px solid #e0ddd5; }
.year-pills a { display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border-radius:20px; font-family:-apple-system,sans-serif; font-size:.78rem; color:#666; background:#fff; border:1px solid #ddd; transition:all .15s; }
.year-pills a:hover { border-color:#8ecae6; color:#1a1a2e; }
.year-pills a.active { background:#1a1a2e; color:#fff; border-color:#1a1a2e; }
.year-pills .yp-count { font-size:.65rem; color:#aaa; }
.year-pills a.active .yp-count { color:#8ecae6; }
.author-articles { max-width:900px; margin:0 auto; padding:32px 16px; }
.digest-pagination { display:flex; justify-content:center; gap:24px; padding:32px 0; font-family:-apple-system,sans-serif; font-size:.85rem; }
.digest-pagination a { color:#1a1a2e; text-decoration:none; padding:8px 20px; border:1px solid #ddd; border-radius:6px; transition:all .15s; }
.digest-pagination a:hover { border-color:#8ecae6; color:#0f3460; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE STYLES (d.home)
   ═══════════════════════════════════════════════════ */

/* ── Homepage Hero ── */
.home-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #1a1a2e;
}
.home-hero-link { text-decoration: none; color: inherit; display: block; }
.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,.95) 0%, rgba(10,10,20,.4) 50%, rgba(10,10,20,.2) 100%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 48px;
}
.home-hero-label {
  font-family: -apple-system, sans-serif;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8ecae6;
  margin-bottom: 12px;
}
.home-hero h1 {
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  max-width: 700px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.home-hero .hero-excerpt {
  font-size: 1.05rem;
  color: #b8c9d9;
  font-style: italic;
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.home-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: -apple-system, sans-serif;
  font-size: .8rem;
  color: #7a9bb5;
}
.home-hero-meta .forum-badge {
  background: rgba(142,202,230,.15);
  color: #8ecae6;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3px;
}
.home-hero-meta .author { color: #ccc; }
.home-hero-meta .stats { color: #666; }

/* ── Section headers ── */
.section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-header h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}

/* ── Featured Grid (Editor's Picks) ── */
.featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.featured-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a2e;
  height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform .15s;
  text-decoration: none;
  color: inherit;
}
.featured-card:hover { transform: translateY(-2px); }
.featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: opacity .2s;
}
.featured-card:hover img { opacity: .5; }
.featured-card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  width: 100%;
  padding-top: 100px;
}
.featured-card .card-badge {
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8ecae6;
  background: rgba(142,202,230,.15);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.featured-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
}
.featured-card .card-meta {
  font-family: -apple-system, sans-serif;
  font-size: .7rem;
  color: #888;
}
.featured-card .card-meta .forum-name { color: #8ecae6; }

/* ── Latest Articles ── */
.latest-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}
.latest-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e6e0;
  cursor: pointer;
  transition: background .1s;
  text-decoration: none;
  color: inherit;
}
.latest-row:hover { background: #f5f4f0; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
.latest-row:first-child { border-top: 1px solid #e8e6e0; }
.latest-img {
  width: 200px;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.latest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.latest-info .category-pill {
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8ecae6;
  margin-bottom: 6px;
}
.latest-info h4 {
  font-size: 1.05rem;
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 6px;
}
.latest-info .excerpt {
  font-size: .85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-info .row-meta {
  font-family: -apple-system, sans-serif;
  font-size: .7rem;
  color: #999;
  display: flex;
  gap: 12px;
}
.latest-info .row-meta .forum-name { color: #8ecae6; font-weight: 600; }

/* ── Homepage Sidebar ── */
.home-sidebar .sidebar-card {
  background: #fff;
  border: 1px solid #e8e6e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.home-sidebar .sidebar-card h3 {
  font-family: -apple-system, sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 16px;
}
.trending-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0efe9;
}
.trending-item:last-child { border-bottom: none; }
.trending-num {
  font-family: -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ddd;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.trending-info { text-decoration: none; color: inherit; }
.trending-info h4 {
  font-size: .85rem;
  font-weight: 400;
  color: #2c2c2c;
  line-height: 1.3;
  margin-bottom: 3px;
}
.trending-info .trending-meta {
  font-family: -apple-system, sans-serif;
  font-size: .65rem;
  color: #aaa;
}

/* ── From the Archives ── */
.archives-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 48px 16px 56px;
}
.archives-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.archives-section h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.archives-subtitle {
  font-family: -apple-system, sans-serif;
  font-size: .8rem;
  color: #7a9bb5;
  margin-bottom: 28px;
  font-style: italic;
}
.archives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.archive-card {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .15s, border-color .15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.archive-card:hover { transform: translateY(-3px); border-color: rgba(142,202,230,.3); }
.archive-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: .8;
  transition: opacity .2s;
}
.archive-card:hover .archive-card-img { opacity: 1; }
.archive-card-body { padding: 16px; }
.archive-card-body .archive-year {
  font-family: -apple-system, sans-serif;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8ecae6;
  margin-bottom: 8px;
}
.archive-card-body h4 {
  font-size: .9rem;
  font-weight: 400;
  color: #e8e8e8;
  line-height: 1.35;
  margin-bottom: 8px;
}
.archive-card-body .archive-meta {
  font-family: -apple-system, sans-serif;
  font-size: .65rem;
  color: #666;
}
.archive-card-body .archive-meta .archive-forum { color: #8ecae6; }

/* ── Homepage Responsive ── */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-section { grid-template-columns: 1fr; }
  .archives-grid { grid-template-columns: repeat(2, 1fr); }
  .home-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
  .home-hero { height: 380px; }
  .home-hero h1 { font-size: 1.6rem; }
  .latest-img { width: 120px; height: 90px; }
  .home-sidebar { grid-template-columns: 1fr; }
  .archives-grid { grid-template-columns: 1fr; }
}
/* ── Search ── */
.search-section { max-width:900px; margin:24px auto; padding:0 20px; }
.search-form { margin-bottom:12px; }
.search-input-wrap { display:flex; align-items:center; border:2px solid #e0e0e0; border-radius:8px; padding:10px 16px; background:#fff; transition:border-color .2s; }
.search-input-wrap:focus-within { border-color:#1a1a2e; }
.search-icon { color:#999; margin-right:12px; flex-shrink:0; }
.search-input-wrap input[type=text] { flex:1; border:none; outline:none; font-size:1rem; font-family:inherit; }
.search-clear { border:none; background:none; font-size:1.3rem; color:#999; cursor:pointer; padding:0 4px; }
.search-clear:hover { color:#333; }
.popular-searches { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.popular-label { font-size:.75rem; text-transform:uppercase; letter-spacing:.1em; color:#999; }
.popular-searches a { font-size:.8rem; padding:4px 12px; border:1px solid #e0e0e0; border-radius:20px; color:#666; text-decoration:none; transition:border-color .15s, color .15s; }
.popular-searches a:hover { border-color:#1a1a2e; color:#1a1a2e; }
.search-results-header { margin-bottom:16px; }
.search-results-header h2 { font-size:1.1rem; font-weight:500; color:#666; }
.article-desc { font-size:.85rem; color:#666; margin-top:4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media (max-width:600px) {
  .search-section { padding:0 12px; margin:16px auto; }
  .search-input-wrap { padding:8px 12px; }
  .popular-searches a { font-size:.7rem; padding:3px 8px; }
}



