:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5d6a65;
  --paper: #f7f4ec;
  --sand: #d8c49a;
  --green: #245846;
  --teal: #0d7b83;
  --coral: #b95843;
  --line: rgba(23, 33, 31, 0.16);
  --shadow: 0 18px 45px rgba(17, 28, 25, 0.16);
  font-family: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 236, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fffaf0;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 24, 0.76) 0%, rgba(9, 26, 24, 0.46) 43%, rgba(9, 26, 24, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 33, 31, 0.36), rgba(23, 33, 31, 0));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 96px);
  padding: 80px 0 150px;
  color: #fffdf5;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd28d;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  font-weight: 700;
}

.button.primary {
  background: #fff6df;
  color: #1b2d28;
  border-color: #fff6df;
}

.button.ghost {
  color: #fffdf5;
}

.section,
.theme-band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 34px;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.article-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.article-card {
  min-height: 310px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-card a {
  display: flex;
  min-height: 310px;
  height: 100%;
  flex-direction: column;
  padding: 28px;
}

.article-card:hover {
  transform: translateY(-3px);
  transition: transform 180ms ease;
}

.category {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 4px 10px;
  border-left: 3px solid var(--teal);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
}

.article-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.48;
}

.article-card p {
  margin: 16px 0 24px;
  color: var(--muted);
}

.article-card time {
  margin-top: auto;
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 700;
}

.theme-band {
  background: #e8efe5;
  border-block: 1px solid var(--line);
}

.theme-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.theme-list > div {
  display: grid;
  grid-template-columns: 72px minmax(160px, 260px) 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: #f9fbf5;
}

.theme-list span {
  color: var(--coral);
  font-weight: 800;
}

.theme-list h3 {
  margin: 0;
  font-size: 1.2rem;
}

.theme-list p {
  margin: 0;
  color: var(--muted);
}

.about {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.about > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: #fffaf0;
  background: #17211f;
}

.footer p {
  margin: 0;
}

.post-hero {
  padding: clamp(72px, 12vw, 130px) clamp(20px, 5vw, 64px) 44px;
  background: #e8efe5;
  border-bottom: 1px solid var(--line);
}

.post-hero-inner,
.post-body {
  width: min(820px, 100%);
  margin: 0 auto;
}

.post-hero h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
}

.post-meta {
  margin-top: 22px;
  color: var(--muted);
}

.post-body {
  padding: clamp(48px, 7vw, 86px) 20px;
  font-size: 1.08rem;
}

.post-body h2 {
  margin-top: 46px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.post-body p,
.post-body li {
  color: #34423e;
}

.post-body blockquote {
  margin: 36px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--teal);
  background: #fffaf0;
}

.back-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin-inline: 20px;
    padding-bottom: 100px;
  }

  .article-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .theme-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }

  .article-card a {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
  }
}
