:root {
  --bg: #ffffff;
  --bg-alt: #f1f6fd;
  --text: #10203f;
  --text-muted: #5b6b85;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --border: #dce6f5;
  --radius: 12px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 96px 0 64px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 16px;
}

.hero-lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* Sections */
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 32px;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.project-card-top {
  display: flex;
  justify-content: flex-end;
}

.status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.status-planned {
  background: rgba(16, 32, 63, 0.06);
  color: var(--text-muted);
}

.status-in-progress {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 32, 63, 0.05);
  color: var(--text-muted);
}

.project-link {
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-link.is-disabled {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.empty {
  color: var(--text-muted);
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .nav {
    gap: 14px;
  }
  .hero {
    padding: 64px 0 40px;
  }
}
