:root {
  --bg: #f8f5ee;
  --paper: #fffdf8;
  --ink: #3f3a33;
  --sub: #7f756b;
  --line: #e7dfd3;
  --accent: #8e7f67;
  --shadow: 0 10px 30px rgba(63, 58, 51, 0.06);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf8f1 0%, var(--bg) 100%);
}

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

a:hover { text-decoration: underline; }

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0 24px;
}

.site-logo {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}

.home {
  display: grid;
  gap: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: 58vh;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--sub);
}

.hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.45;
}

.subtitle {
  margin-top: 18px;
  color: var(--sub);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 380px);
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.intro {
  padding: 28px;
  line-height: 1.95;
  font-size: 1rem;
}

.intro p { margin: 0 0 1em; }
.intro p:last-child { margin-bottom: 0; }
.progress-link { margin-top: 18px; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.overview-grid .card,
.single-card {
  padding: 24px;
}

.overview-grid h2,
.page-heading h1 {
  margin: 0 0 14px;
  font-weight: 500;
}

.overview-grid p,
.page-content {
  line-height: 1.9;
}

.single-page {
  width: min(860px, 100%);
  margin: 36px auto 0;
}

.site-footer {
  padding-top: 28px;
  text-align: center;
  color: var(--sub);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .overview-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    justify-content: start;
    gap: 8px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
    justify-content: center;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}
