:root {
  --bg: #fefcfa;
  --bg-card: #ffffff;
  --text: #1f1b17;
  --text-dim: #746b62;
  --accent: #f2711c;
  --accent-2: #d1550e;
  --border: #efe4d8;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.brand span,
.hero h1,
.section h2,
.card h3,
.product-card h3,
article.post h1,
.button {
  font-weight: 800;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-icon { flex-shrink: 0; border-radius: 50%; object-fit: cover; }
nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--accent-2); }

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0;
}

/* Sections */
.section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.section h2 {
  font-size: 1.4rem;
  margin: 0 0 20px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(31, 27, 23, 0.04);
}
.card h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent-2); }
.card p { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 12px; }

.tag {
  display: inline-block;
  background: rgba(242, 113, 28, 0.12);
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.date {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
}
.button:hover { background: var(--accent-2); }

/* Product cards (Japan Finds) */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(31, 27, 23, 0.04);
}
.product-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3ede6;
  flex-shrink: 0;
}
.product-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.product-card p { color: var(--text-dim); margin: 0 0 10px; font-size: 0.92rem; }

/* Article */
article.post {
  padding: 40px 0;
}
article.post h1 { font-size: 2rem; margin-bottom: 6px; }
article.post .meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 28px; }
article.post p { margin: 0 0 18px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 60px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  nav a { margin-left: 14px; font-size: 0.85rem; }
}
