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

:root {
  --bg: #0c0c0c;
  --fg: #e2e2e2;
  --muted: #888;
  --border: #1e1e1e;
  --accent: #9dff6d;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  .page-wrap { padding: 3.5rem 4rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#header       { animation: fadeUp 0.4s ease both; animation-delay: 0s; }
.description  { animation: fadeUp 0.4s ease both; animation-delay: 0.08s; }
section       { animation: fadeUp 0.4s ease both; animation-delay: 0.14s; }
#footer       { animation: fadeUp 0.4s ease both; animation-delay: 0.2s; }

/* ── Header ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  background-color: var(--bg);
  gap: 2rem;
}

@media (min-width: 768px) {
  #header { padding: 2rem 4rem; }
}

@media (max-width: 540px) {
  #header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

.page-wrap { padding-top: 7rem; }
@media (min-width: 768px) { .page-wrap { padding-top: 8rem; } }
@media (max-width: 540px) { .page-wrap { padding-top: 9rem; } }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark {
  height: 2.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

nav {
  display: flex;
  gap: 2rem;
  padding-top: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
nav a:hover  { color: var(--accent); }
nav a.active { color: var(--accent); }

/* ── Home ── */
.description {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 5rem;
}

section { margin-bottom: 3.5rem; }

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.founder-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.founder-bio {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 400px;
}

.founder-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.85rem;
}

.founder-links a {
  font-size: 0.75rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.founder-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Inner pages ── */
.page-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.empty-state {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Post list ── */
.post-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
}
.post-list .post-item:first-child { border-top: 1px solid var(--border); }
@media (hover: hover) {
  .post-item:hover { opacity: 0.55; }
}

.post-item-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.post-title {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--fg);
}

.post-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.post-date {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .post-item { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
}

/* ── Footer ── */
#footer {
  margin-top: auto;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}
