:root {
  --ink: #172033;
  --muted: #5d687c;
  --paper: #fffdf8;
  --line: #e7e1d6;
  --accent: #d95d39;
  --accent-dark: #aa3f25;
  --wash: #f5efe5;
  --shadow: 0 18px 50px rgba(32, 28, 20, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 20px; color: var(--muted); font-size: .92rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--accent-dark); }
.hero { padding: clamp(42px, 9vw, 100px) 0 70px; max-width: 790px; }
.eyebrow { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); margin: 12px 0 22px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 14px; }
.hero p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 64ch; }
.group-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 58px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.group-jump a { padding: 8px 12px; border-radius: 999px; color: var(--accent-dark); font-size: .92rem; font-weight: 750; text-decoration: none; }
.group-jump a + a::before { content: "·"; margin-right: 18px; color: var(--line-strong); font-weight: 400; }
.group-jump a span { margin-right: 4px; font-size: 1rem; }
.group-jump a:hover { background: #f8dfd5; }
.button { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--accent-dark); }
.section-title { margin: 0 0 24px; }
.project-group { margin-bottom: 42px; }
.project-group:last-child { margin-bottom: 0; }
.project-group-title { margin: 0 0 16px; color: var(--accent-dark); font-size: 1.1rem; letter-spacing: .01em; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 16px; padding-bottom: 72px; }
.card { display: flex; flex-direction: column; min-height: 230px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.card--current { border-color: rgba(217, 93, 57, .55); }
.card-badge { align-self: flex-start; margin-bottom: 14px; padding: 3px 9px; border-radius: 999px; background: #f8dfd5; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.card-badge--ongoing { background: #dff3e8; color: #17633b; }
.card-badge--suspended { background: #fff0c9; color: #805c00; }
.card-badge--deprecated { background: #eee8e5; color: #685b56; }
.card-badge--poc { background: #e7e1f8; color: #55428e; }
.card-badge--vibecoding { background: #e4edf9; color: #31587f; }
.card-badge--archived { background: #e9e9e9; color: #555; }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card-icon-link { display: block; width: fit-content; color: inherit; text-decoration: none; }
.card-icon-link:hover { opacity: .78; }
.card-icon img { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 12px; }
.card h2 { font-size: 1.35rem; margin-bottom: 9px; }
.card p { flex: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.card-link { margin-top: 19px; color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.site-footer { padding: 28px 0 42px; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
.site-footer a { color: var(--accent-dark); }
.landing { max-width: 820px; padding: 58px 0 80px; }
.landing .back { color: var(--muted); text-decoration: none; }
.landing .back:hover { color: var(--accent-dark); }
.landing h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.landing .lead { color: var(--muted); font-size: 1.18rem; }
.availability { margin: 18px 0 0; padding: 12px 15px; border-left: 3px solid var(--accent); color: var(--accent-dark); background: rgba(248, 223, 213, .42); border-radius: 0 10px 10px 0; }
.landing section { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.landing ul { padding-left: 1.25rem; }
.landing li { margin: 8px 0; }
.landing .button { margin-top: 6px; }
.forum-link { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.forum-link a { color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.forum-link a:hover { text-decoration: underline; }
.store-link { margin: 14px 0 0; font-size: .94rem; }
.store-link a { color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.store-link a:hover { text-decoration: underline; }
.related-projects { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.related-projects p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.related-projects a { color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.related-projects a:hover { text-decoration: underline; }
.related-projects a + a::before { content: " · "; color: var(--muted); font-weight: 400; }
.project-visual { margin: 2rem 0 2.5rem; }
.project-visual img { display: block; width: 100%; max-height: 30rem; object-fit: contain; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 1rem 2.5rem rgba(25, 40, 60, .08); }
.project-visual figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.project-video { display: block; width: 100%; max-height: 32rem; border-radius: 1rem; background: #172033; box-shadow: 0 1rem 2.5rem rgba(25, 40, 60, .08); }
.media-note { color: var(--muted); font-size: .9rem; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-gallery figure { margin: 0; }
.project-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.project-gallery figcaption { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 620px) { .site-header, main, .site-footer { width: min(100% - 28px, 1120px); } nav { gap: 12px; } .site-header { align-items: flex-start; } }
