:root {
  --accent: #16a34a;
  --accent-bg: #f0fdf4;
  --accent-muted: rgba(22,163,74,0.4);
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #f3f4f6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */

header {
  padding: 80px 24px 72px;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.header-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.header-label-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-muted);
  transition: text-decoration-color 0.2s;
}

.header-label-link:hover {
  text-decoration-color: var(--accent);
}

header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0a0a0a;
}

.header-sub {
  margin-top: 28px;
  font-size: 1rem;
  color: #6b7280;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Projects ── */

main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.section-label {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 8px;
}

.project {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}

.project:first-of-type {
  border-top: 1px solid #f3f4f6;
  margin-top: 16px;
}

.project:hover .project-body h2 {
  color: var(--accent);
}

.project:hover .project-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.project-icon {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.project-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 4px;
  padding: 2px 7px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.project-body {
  flex: 1;
}

.project-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.15s;
}

.project-body p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
}

.project-arrow {
  font-size: 20px;
  color: #d1d5db;
  flex-shrink: 0;
  margin-top: 4px;
  transition: color 0.15s, transform 0.15s;
}

/* ── Footer ── */

footer {
  background: #111827;
  color: #9ca3af;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b5563;
}

.author-links {
  display: flex;
  gap: 12px;
}

.author-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.author-links a:hover {
  color: #f9fafb;
}

.author-links a svg {
  width: 26px;
  height: 26px;
}

.copyright {
  font-size: 0.8rem;
}
