:root {
  --ink: #2c2622;
  --ink-soft: #6b5d52;
  --paper: #fbf6ee;
  --paper-alt: #f3e9d8;
  --accent: #b5563d;
  --accent-soft: #e8c9a8;
  --line: #e3d5c0;
  --max-width: 880px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 1.25rem 1.5rem;
}

.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
}

.site-header nav a {
  color: var(--paper);
  margin-left: 1.25rem;
  font-size: 0.92rem;
}

.site-header nav a:first-child { margin-left: 0; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  position: relative;
  border-radius: 20px;
  padding: 3.5rem 2rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.35) 0%, rgba(20, 16, 12, 0.72) 100%);
  z-index: -1;
}

.hero .eyebrow { color: var(--accent-soft); }

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.hero p {
  color: #f1e7db;
  max-width: 60ch;
  margin: 0;
}

.photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin: 0 0 0.4rem;
}

.photo-credit {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.card { display: flex; flex-direction: column; }
.card .photo { height: 150px; border-radius: 12px; margin-bottom: 0.9rem; }
.card .photo-sm-credit { display: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h1, h2, h3 { line-height: 1.35; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: #6b3b26;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.notice {
  background: #fff8e8;
  border: 1px solid #eddca4;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #6b5a1f;
  margin: 1.5rem 0;
}

article.post h1 { margin-bottom: 0.25rem; }
article.post .meta { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 1.75rem; }
article.post h2 { margin-top: 2.25rem; font-size: 1.3rem; }
article.post p { margin: 0.9rem 0; }
article.post ul { padding-left: 1.3rem; }
article.post li { margin: 0.4rem 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.site-footer a { color: var(--ink-soft); text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
