:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #2a2620;
  --ink-2: #5c564c;
  --ink-3: #8a8276;
  --line: rgba(42, 38, 32, 0.1);
  --green: #1f4d3a;
  --green-2: #16382b;
  --cream: #faf7f1;
  --radius: 12px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --num: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-2);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand span {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

.rail-mark {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--green);
  margin-right: 10px;
  vertical-align: -3px;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

.home-stage {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  min-height: 72dvh;
  align-items: stretch;
}

.rail {
  background: var(--paper-2);
  padding: 28px 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rail h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.rail p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

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

.rail-list a {
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rail-list span {
  color: var(--ink-3);
  font-family: var(--num);
  font-size: 13px;
}

.stage-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
}

.stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.stage-copy {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  max-width: 520px;
  color: #f3eee4;
}

.stage-copy h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
}

.stage-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 238, 228, 0.88);
}

.section {
  margin-top: 56px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--ink-2);
  max-width: 42em;
}

.strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.strip-list a {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.strip-list time {
  font-family: var(--num);
  color: var(--ink-3);
  font-size: 14px;
}

.strip-list strong {
  font-weight: 500;
}

.strip-list em {
  font-style: normal;
  color: var(--green);
  font-size: 13px;
}

.desk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.desk-grid img {
  border-radius: 12px;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.note-stack {
  display: grid;
  gap: 16px;
}

.note-stack article {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.note-stack h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.note-stack p {
  margin: 0;
  color: var(--ink-2);
}

.pitch-band {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  background: var(--green-2);
  color: #f3eee4;
  border-radius: 16px;
  overflow: hidden;
}

.pitch-band img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.pitch-copy {
  padding: 28px 28px 28px 0;
}

.pitch-copy h2 {
  color: #f3eee4;
}

.pitch-copy p {
  margin: 0;
  color: rgba(243, 238, 228, 0.86);
}

.late-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.late-card {
  background: var(--paper-2);
  padding: 24px;
  border-radius: 12px;
}

.late-card h2 {
  margin-top: 0;
}

.late-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.late-card li {
  margin: 0 0 12px;
}

.late-card a {
  color: var(--ink);
}

.crumb {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 20px;
}

.crumb a {
  color: var(--ink-2);
}

.page-h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
}

.cat-lead {
  max-width: 42em;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.cat-head img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.entry-list a {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.entry-list a strong {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.entry-list a span {
  color: var(--ink-2);
  font-size: 14px;
}

.article-shell {
  display: grid;
  gap: 40px;
}

.article-meta {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 24px;
}

.article-meta .author {
  color: var(--ink-2);
}

.prose {
  max-width: 42em;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 500;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.prose img {
  border-radius: 12px;
  margin: 8px 0 24px;
  width: 100%;
}

.layout-split .lead-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.layout-split .lead-row img {
  margin: 0;
  height: 280px;
  object-fit: cover;
}

.layout-band .band-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin: 8px 0 28px;
}

.related {
  background: var(--paper-2);
  padding: 24px;
  border-radius: 12px;
}

.related h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
}

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

.related a {
  color: var(--ink);
}

.back-cat {
  margin-top: 28px;
  font-size: 14px;
}

.faq {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.8;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
}

.footer-name {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 500;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .home-stage,
  .desk-grid,
  .pitch-band,
  .late-grid,
  .layout-split .lead-row {
    grid-template-columns: 1fr;
  }

  .pitch-copy {
    padding: 24px;
  }

  .stage-visual,
  .stage-visual img {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .header-inner,
  .wrap,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 8px 0 16px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .strip-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .page-h1,
  .stage-copy h1 {
    font-size: 24px;
  }
}

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

  a,
  button {
    transition: none;
  }
}
