:root {
  color-scheme: light;
  --ink: #1f292b;
  --muted: #66736f;
  --line: #d9dfd7;
  --paper: #fffdf8;
  --soft: #f3efe6;
  --green: #2f5e58;
  --green-2: #6f9b87;
  --clay: #b7604b;
  --gold: #c78f4b;
  --blue: #3d6672;
  --shadow: 0 18px 45px rgba(36, 48, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 94, 88, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 94, 88, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 223, 215, 0.82);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  color: #fffdf8;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--green);
  border-bottom-color: currentColor;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(42px, 7vw, 78px) 0 28px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #43504d;
  font-size: 1.08rem;
}

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

.primary-link,
.secondary-link,
.subscribe-panel button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
}

.primary-link,
.subscribe-panel button {
  background: var(--ink);
  color: #fffdf8;
  box-shadow: 4px 4px 0 var(--gold);
}

.secondary-link {
  background: #fffdf8;
  color: var(--ink);
}

.hero-visual {
  margin: 0;
  align-self: end;
}

.hero-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(26px, 4vw, 48px);
  padding: 30px 0 70px;
  align-items: start;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.search-box,
.subscribe-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(111, 155, 135, 0.25);
  border-color: var(--green-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fffdf8;
}

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

.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.post-card[hidden] {
  display: none;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 94, 88, 0.45);
  box-shadow: 0 14px 32px rgba(36, 48, 49, 0.08);
}

.post-card a {
  display: block;
  padding: clamp(18px, 3vw, 26px);
}

.post-meta {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.post-card p,
.panel p,
.now-list {
  color: #4d5a56;
}

.post-card p {
  margin: 0;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--clay);
  font-weight: 900;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
}

.side-column {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.92);
}

.panel h2 {
  font-size: 1.35rem;
}

.panel p {
  margin: 10px 0 0;
}

.now-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.now-list li + li {
  margin-top: 8px;
}

.subscribe-panel form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.subscribe-panel button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 1.4em;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.link-row a {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11ch;
  }

  .side-column {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  main {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .hero-visual figcaption {
    display: none;
  }
}
