*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: #0b1015;
  color: #e3e8ef;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid #1f2933;
  background: #0b1015e6;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-title {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.nav a:hover {
  background: #111827;
}

.site-main {
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.hero p {
  max-width: 40rem;
  color: #9ca3af;
}

.home-section {
  margin-top: 2rem;
}

.home-section h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 1rem;
}

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

.card {
  background: #111827;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #1f2933;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #d1d5db;
}

.meta-list li {
  background: #030712;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.post-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.post-date {
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  color: #6b7280;
}

.site-footer {
  border-top: 1px solid #1f2933;
  padding: 1rem 0 2rem;
  font-size: 0.8rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.about-avatar {
  max-width: 200px;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 2px solid #1f2933;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid #1f2933;
  object-fit: cover;
}
