:root {
  --ivory: #faf7f0; --honey: #d4952b; --honey-light: #e0a94a; --honey-pale: rgba(212,149,43,0.08);
  --walnut: #5c4033; --cream: #f0e8d8; --cream-deep: #e8dece; --charcoal: #3a3530;
  --text: #3a3530; --text-light: #7a7268; --text-lighter: #a09888; --white: #ffffff; --border: #e5ddd0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-ui: 'DM Sans', 'Noto Sans JP', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --max-width: 1200px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--ivory); line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 48px; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,247,240,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.4s, box-shadow 0.4s; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 24px rgba(92,64,51,0.05); }
.nav-logo { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--walnut); letter-spacing: 3px; transition: color 0.3s; }
.nav-logo:hover { color: var(--honey); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); position: relative; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--honey); transition: width 0.3s var(--ease-out); }
.nav-link:hover { color: var(--walnut); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--walnut); }
.nav-link.active::after { width: 100%; }
.nav-cta { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); background: var(--walnut); padding: 10px 24px; border-radius: 4px; transition: background 0.3s; }
.nav-cta:hover { background: var(--charcoal); }
.nav-toggle { display: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--walnut); margin: 5px 0; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.page-hero { padding: 160px 48px 80px; background: linear-gradient(165deg, var(--ivory) 0%, var(--cream) 100%); text-align: center; position: relative; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.page-hero-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 500; color: var(--walnut); margin-bottom: 20px; }
.page-hero-desc { font-size: 15px; color: var(--text-light); max-width: 480px; margin: 0 auto; line-height: 2; }

/* Category filter */
.blog-filter { padding: 32px 48px 0; display: flex; justify-content: center; gap: 12px; }
.filter-btn {
  font-family: var(--font-ui); font-size: 12px; font-weight: 500;
  letter-spacing: 1px; padding: 8px 20px; border-radius: 20px;
  border: 1.5px solid var(--border); color: var(--text-light);
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--honey); color: var(--honey); background: var(--honey-pale); }

/* Blog grid */
.blog-section { padding: 48px 48px 120px; }
.blog-inner { max-width: var(--max-width); margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(92,64,51,0.08); border-color: var(--honey); }
.blog-thumb {
  aspect-ratio: 16/10; background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-lighter); font-family: var(--font-ui);
}
.blog-body { padding: 24px; }
.blog-meta { font-family: var(--font-ui); font-size: 11px; color: var(--text-lighter); display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.blog-meta .cat { color: var(--honey); font-weight: 600; }
.blog-title { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--walnut); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.page-btn {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; border-radius: 6px;
  border: 1.5px solid var(--border); color: var(--text-light);
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.page-btn:hover { border-color: var(--honey); color: var(--honey); }
.page-btn.active { background: var(--walnut); color: var(--white); border-color: var(--walnut); }

/* Footer */
.footer { background: var(--charcoal); padding: 64px 48px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ivory); letter-spacing: 3px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-nav { display: flex; gap: 64px; }
.footer-nav-title { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-nav-link { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.3s; }
.footer-nav-link:hover { color: var(--honey-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255,255,255,0.35); font-size: 13px; transition: color 0.3s; }
.footer-social a:hover { color: var(--honey-light); }

@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .page-hero { padding-left: 32px; padding-right: 32px; }
  .blog-section { padding: 40px 32px 80px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 40px; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--ivory); padding: 24px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 20px; }
  .nav-toggle { display: block; }
  .page-hero { padding: 120px 20px 60px; }
  .blog-filter { padding: 24px 20px 0; flex-wrap: wrap; }
  .blog-section { padding: 32px 20px 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 20px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
