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

:root {
    --bg: #fffdf9;
    --surface: #ffffff;
    --border: #ece8e0;
    --text: #1c1917;
    --muted: #9a8f85;
    --green: #2d6a4f;
    --green-light: #d8f3dc;
    --coral: #e07a5f;
    --yellow: #f2cc8f;
    --purple: #7c6fcd;
    --blue: #3d9be9;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,253,249,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    display: flex; justify-content: space-between; align-items: center;
    height: 58px;
}
.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
nav ul li a:hover { color: var(--text); }

/* ── HERO ── */
header {
    padding: 130px 2.5rem 70px;
    max-width: 780px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--green-light);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.4rem;
}
.hero-badge span { font-size: 0.8rem; }
header h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
    color: var(--text);
}
header h1 em {
    font-style: italic;
    color: var(--coral);
}
.hero-desc {
    font-size: 1.05rem;
    color: #6b6560;
    max-width: 520px;
    line-height: 1.75;
}
.hero-desc strong { color: var(--text); font-weight: 500; }

/* ── CONTAINER ── */
.container { max-width: 780px; margin: 0 auto; padding: 0 2.5rem 8rem; }

/* ── SECTION HEADER ── */
.section-header {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 2.2rem;
}
.section-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
}
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
section { margin-bottom: 5.5rem; }

/* ── ABOUT ── */
.about-text p {
    font-size: 1rem;
    color: #4a4440;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about-text p:last-of-type { margin-bottom: 0; }

.skills {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-top: 1.8rem;
}
.skill-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    color: #5a5450;
    transition: all 0.2s;
    cursor: default;
}
.skill-tag:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: #fff5f3;
}

.easter-egg-btn {
    margin-top: 1.5rem;
    background: none;
    border: 1.5px dashed var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s;
}
.easter-egg-btn:hover { border-color: var(--coral); color: var(--coral); border-style: solid; }

/* ── DEVLOG FEATURED ── */
.devlog-card {
    background: var(--text);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}
.devlog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--yellow), var(--green));
}
.devlog-top {
    padding: 2.2rem 2.5rem 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.devlog-eyebrow {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 1rem;
}
.star-badge {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--yellow);
    background: rgba(242,204,143,0.15);
    padding: 0.25rem 0.7rem; border-radius: 20px;
}
.devlog-top h3 {
    font-family: 'Fraunces', serif;
    font-size: 2rem; font-weight: 300;
    color: #fff; letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.devlog-top .sub {
    font-size: 0.88rem; color: rgba(255,255,255,0.5);
}
.devlog-bottom { padding: 1.8rem 2.5rem; }
.devlog-bottom p {
    font-size: 0.95rem; color: rgba(255,255,255,0.7);
    line-height: 1.75; margin-bottom: 1.5rem;
}
.devlog-chips {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-bottom: 1.6rem;
}
.chip {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem; border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
}
.devlog-actions { display: flex; gap: 0.75rem; }
.btn-glow {
    font-size: 0.82rem; font-weight: 600;
    padding: 0.6rem 1.4rem; border-radius: 20px;
    background: var(--coral);
    color: #fff; text-decoration: none;
    transition: opacity 0.2s;
}
.btn-glow:hover { opacity: 0.85; }
.btn-ghost {
    font-size: 0.82rem; font-weight: 500;
    padding: 0.6rem 1.4rem; border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6); text-decoration: none;
    transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); }

/* ── PROJECT ROWS ── */
.projects-list { display: flex; flex-direction: column; }
.project-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}
.project-row:first-child { border-top: 1px solid var(--border); }
.project-left { display: flex; align-items: center; gap: 1rem; flex: 1; }
.project-emoji {
    width: 38px; height: 38px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.project-info h4 {
    font-size: 0.92rem; font-weight: 600;
    margin-bottom: 0.4rem; color: var(--text);
}
.project-info p {
    font-size: 0.78rem; color: var(--muted); line-height: 1.4;
    margin-bottom: 0.5rem;
}
.project-info p:last-child { margin-bottom: 0; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.mini-chip {
    font-size: 0.67rem; font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.18rem 0.55rem; border-radius: 20px;
    background: #f4f1eb; color: #7a6f65;
    transition: all 0.2s;
}
.mini-chip:hover { background: var(--green-light); color: var(--green); }
.project-row-links { display: flex; gap: 0.75rem; flex-shrink: 0; }
.project-row-links a {
    font-size: 0.75rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    padding: 0.3rem 0.7rem;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
}
.project-row-links a:hover { border-color: var(--text); color: var(--text); }
.badge {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    background: #f0edf5; color: var(--purple);
    border-radius: 4px; margin-left: 0.4rem; vertical-align: middle;
}
.in-progress {
    font-size: 0.62rem; font-weight: 600;
    padding: 0.15rem 0.45rem;
    background: #fff8ec; color: #b45309;
    border-radius: 4px; margin-left: 0.4rem; vertical-align: middle;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 2.5rem;
    max-width: 780px;
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
footer p { font-size: 0.78rem; color: var(--muted); }
.contact-links { display: flex; gap: 1.2rem; }
.contact-links a {
    font-size: 0.8rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
}
.contact-links a:hover { color: var(--text); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.fade-in { animation: fadeUp 0.4s ease; }