:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #6b6560;
  --line: #e7e0d8;
  --paper: #faf7f2;
  --surface: #ffffff;
  --night: #141820;
  --night-soft: #232a36;
  --amber: #e85d04;
  --mint: #2a9d6a;
  --shadow: 0 18px 50px rgba(20, 24, 32, .12);
  font-family: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(232, 93, 4, .04) 1px, transparent 1px),
    linear-gradient(rgba(232, 93, 4, .04) 1px, transparent 1px);
  background-size: 48px 48px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  background: var(--night);
  color: #f5f1ea;
  border-bottom: 3px solid var(--amber);
}
.header-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-text { font-size: 1.15rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  color: #d8dde6;
  font-size: .95rem;
}
.nav a:hover { background: var(--night-soft); color: #fff; }

.banner {
  background: linear-gradient(135deg, var(--night) 0%, #2a3140 55%, #1f2937 100%);
  color: #f8f4ef;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, .35), transparent 70%);
}
.banner-inner { position: relative; z-index: 1; max-width: 680px; }
.prompt {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(42, 157, 106, .18);
  color: #7dffb8;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: .85rem;
}
.banner h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.banner-lead {
  margin: 18px 0 0;
  max-width: 560px;
  color: #c8cfd8;
  line-height: 1.75;
  font-size: 1.05rem;
}
.banner-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #f8f4ef;
  border: 1px solid rgba(255, 255, 255, .28);
}

.block { padding: 56px 0; }
.block-head { margin-bottom: 28px; }
.block-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -.02em;
}
.block-head p { margin: 10px 0 0; color: var(--muted); max-width: 520px; line-height: 1.7; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento-item {
  grid-column: span 3;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.bento-item.wide { grid-column: span 6; }
.bento-item.third { grid-column: span 4; }
.bento-item.tall img { height: 140px; object-fit: cover; border-radius: 8px; }
.bento-item img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.bento-item h3 { margin: 0; font-size: 1.05rem; }
.bento-item p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .94rem; flex: 1; }
.link-btn {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 6px;
  background: #fff4eb;
  color: #9a3412;
  font-weight: 700;
  font-size: .88rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.strip-card {
  padding: 20px 18px;
  border-left: 4px solid var(--mint);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 8px 24px rgba(28, 25, 23, .06);
}
.strip-card h3 { margin: 0 0 8px; font-size: 1rem; }
.strip-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-item time { color: var(--muted); font-size: .88rem; padding-top: 4px; }
.timeline-body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.timeline-body h3 a:hover { color: var(--amber); }
.timeline-body p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .93rem; }
.thumb-wrap { margin-bottom: 12px; }
.thumb-wrap img {
  width: 100%;
  max-width: 280px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row a {
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf7f1;
  color: #166534;
  font-size: .86rem;
  font-weight: 600;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 48px 0;
  align-items: start;
}
.article-main, .article-aside {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.article-main { padding: clamp(24px, 4vw, 44px); }
.article-main h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 12px; line-height: 1.15; }
.article-main h2 { margin-top: 32px; font-size: 1.35rem; }
.article-main h3 { margin-top: 22px; font-size: 1.1rem; }
.kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.meta-line { color: var(--muted); margin: 0 0 24px; }
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 28px;
}
.article-aside { position: sticky; top: 88px; padding: 20px; }
.article-aside h2 { margin: 18px 0 10px; font-size: .95rem; }
.article-aside h2:first-child { margin-top: 0; }
.article-aside a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0ebe4;
  color: #44403c;
  font-size: .92rem;
}
.video-block {
  margin-top: 36px;
  padding: 22px;
  border-radius: 12px;
  background: #f4f8f5;
  border: 1px solid #dceee3;
}
.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--night);
  aspect-ratio: 16 / 9;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}
.video-poster span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
  font-size: .88rem;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.list-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, .06);
}
.list-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.list-card time { color: var(--muted); font-size: .85rem; }
.list-card h2, .list-card h3 { margin: 8px 0; font-size: 1.05rem; }
.list-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .92rem; }

.site-footer {
  margin-top: 40px;
  padding: 40px 0;
  background: var(--night);
  color: #e8edf3;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.footer-wrap h2 { margin: 0 0 10px; font-size: 1.1rem; }
.footer-wrap p { margin: 0; color: #a8b4c4; max-width: 480px; line-height: 1.7; }
.footer-wrap nav { display: grid; gap: 8px; min-width: 160px; }
.footer-wrap nav a { color: #d5dde8; font-size: .92rem; }

@media (max-width: 960px) {
  .bento-item, .bento-item.wide, .bento-item.third { grid-column: span 6; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1140px); }
  .header-row, .footer-wrap { flex-direction: column; align-items: flex-start; }
  .bento-item, .bento-item.wide, .bento-item.third { grid-column: span 12; }
  .strip, .list-grid { grid-template-columns: 1fr; }
  .banner { padding: 48px 0; }
}
