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

:root {
    --bg: #0a0a0a;
    --bg2: #111111;
    --line: #1e1e1e;
    --muted: #3a3a3a;
    --dim: #666;
    --text: #c8c4bc;
    --bright: #e8e3d8;
    --accent: #b8a98a;
    --accent2: #7a6e5f;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Mono", monospace;
    font-size: 13px;
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: crosshair;
}

/* noise overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
    opacity: 0.4;
}

.wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── NAV ── */
nav {
    padding: 36px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.nav-mark {
    font-family: "Cormorant", serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--dim);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ── HERO ── */
.hero {
    padding: 120px 0 80px;
}

.hero-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-label span {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--muted);
    vertical-align: middle;
    margin-right: 12px;
}

.hero-name {
    font-family: "Cormorant", serif;
    font-weight: 300;
    font-size: clamp(52px, 9vw, 88px);
    line-height: 0.95;
    color: var(--bright);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-name em {
    font-style: italic;
    color: var(--accent);
}

.hero-bio {
    max-width: 420px;
    color: var(--dim);
    font-size: 12.5px;
    line-height: 1.9;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
}

/* ── DIVIDER ── */
.divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 60px 0;
    opacity: 0;
    animation: fadeIn 1s ease 0.7s forwards;
}

/* ── SECTION ── */
.section {
    margin-bottom: 64px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.section-title {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 28px;
}

/* ── WORK LIST ── */
.work-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s;
    gap: 16px;
}

.work-item:first-of-type {
    border-top: 1px solid var(--line);
}

.work-item:hover .work-company {
    color: var(--bright);
}

.work-company {
    color: var(--text);
    font-size: 13px;
    transition: color 0.3s;
    margin-bottom: 4px;
}

.work-role {
    color: var(--dim);
    font-size: 11px;
    font-style: italic;
    font-family: "Cormorant", serif;
    font-size: 14px;
}

.work-year {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    padding-top: 2px;
}

/* ── SKILLS ── */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    border: 1px solid var(--line);
    padding: 5px 14px;
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.06em;
    transition: all 0.3s;
}

.skill-tag:hover {
    border-color: var(--accent2);
    color: var(--accent);
}

/* ── CONTACT ── */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--dim);
    font-size: 12px;
    transition: all 0.3s;
    /* group: true; */
}

.contact-link:first-child {
    border-top: 1px solid var(--line);
}

.contact-link i {
    font-size: 15px;
    color: var(--muted);
    transition: color 0.3s;
    width: 18px;
}

.contact-link:hover {
    color: var(--bright);
}
.contact-link:hover i {
    color: var(--accent);
}

.contact-link .arrow {
    margin-left: auto;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s;
}

.contact-link:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── FOOTER ── */
footer {
    padding: 40px 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
}

.footer-note {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* stagger sections */
.section:nth-child(2) {
    animation-delay: 0.85s;
}
.section:nth-child(3) {
    animation-delay: 0.95s;
}
.section:nth-child(4) {
    animation-delay: 1.05s;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .wrap {
        padding: 0 20px;
    }
    .hero {
        padding: 80px 0 60px;
    }
    nav {
        padding-top: 24px;
    }
    .nav-links {
        gap: 18px;
    }
}

@media (max-width: 400px) {
    .nav-links {
        display: none;
    }
}
