/* home.css (2026-11-08): hbar.blog home v0.2. Same palette and type as the rest of the site. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: rgba(232, 230, 227, 0.88);
  font-family: 'EB Garamond', serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.home-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.2rem 8%;
  background: linear-gradient(#000 60%, rgba(0, 0, 0, 0));
}
.home-symbol { font-family: 'EB Garamond', serif; font-size: 2.6rem; font-style: italic; color: rgba(232, 230, 227, 0.85); }
.home-nav { display: flex; gap: 2rem; }
.home-nav a {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; letter-spacing: 0.06em;
  color: rgba(232, 230, 227, 0.5); transition: color 0.3s ease;
}
.home-nav a:hover { color: rgba(232, 230, 227, 0.95); }

.home { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

.hero {
  min-height: 84vh; padding-top: 6rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  animation: rise 1.6s ease both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 8rem); letter-spacing: 0.02em; line-height: 1;
  color: rgba(232, 230, 227, 0.95);
}
.hero-whisper {
  margin-top: 1.4rem; font-family: 'Inter', sans-serif; font-size: 0.85rem;
  letter-spacing: 0.32em; color: rgba(232, 230, 227, 0.55);
}
.hero-lead { margin-top: 3.2rem; }
.hero-lead p { font-size: 1.2rem; line-height: 1.9; color: rgba(232, 230, 227, 0.7); }
.hero-down {
  margin-top: 3.5rem; font-family: 'Inter', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: rgba(232, 230, 227, 0.4);
  transition: color 0.3s ease;
}
.hero-down:hover { color: rgba(232, 230, 227, 0.9); }

.block { padding: 4.5rem 0; border-top: 1px solid rgba(232, 230, 227, 0.1); }
.block-label {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: rgba(232, 230, 227, 0.45);
  margin-bottom: 2.2rem;
}

.latest-item { display: block; padding: 1.4rem 0; border-bottom: 1px solid rgba(232, 230, 227, 0.06); }
.latest-item:last-child { border-bottom: none; }
.latest-kind {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(232, 230, 227, 0.4);
}
.latest-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 2rem;
  line-height: 1.2; margin: 0.4rem 0 0.3rem; color: rgba(232, 230, 227, 0.95);
  transition: color 0.3s ease;
}
.latest-item:hover .latest-title { color: #fff; }
.latest-sub { font-style: italic; font-size: 1.1rem; color: rgba(232, 230, 227, 0.55); }

.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(232, 230, 227, 0.08); }
.kind { display: block; background: #000; padding: 1.8rem 1.6rem; transition: background 0.3s ease; }
.kind:hover { background: #0b0b0b; }
.kind-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: rgba(232, 230, 227, 0.95); }
.kind-count { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(232, 230, 227, 0.4); margin-left: 0.6rem; }
.kind-line { margin-top: 0.5rem; font-size: 1.05rem; line-height: 1.6; color: rgba(232, 230, 227, 0.6); }

.block-question .question-line {
  font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; line-height: 1.35;
  color: rgba(232, 230, 227, 0.9); margin-bottom: 1.4rem;
}
.block-question a { font-size: 1.1rem; border-bottom: 1px solid rgba(232, 230, 227, 0.3); color: rgba(232, 230, 227, 0.7); }

.home-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: 860px; margin: 0 auto; padding: 3rem 2rem 2.5rem;
  border-top: 1px solid rgba(232, 230, 227, 0.1);
}
.home-footer > a { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: rgba(232, 230, 227, 0.4); }
.footer-right { display: flex; gap: 1.5rem; }
.footer-right a { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(232, 230, 227, 0.3); }
.home-footer a:hover { color: rgba(232, 230, 227, 0.9); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .home-header { padding: 1.4rem 6%; }
  .home-nav { gap: 1rem; }
  .home-nav a { font-size: 0.72rem; }
  .home-nav a:nth-child(n+4) { display: none; }
  .kinds { grid-template-columns: 1fr; }
  .latest-title { font-size: 1.6rem; }
}
