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

:root {
    --bg:      #0e0e0e;
    --surface: #161616;
    --border:  #222;
    --muted:   #555;
    --text:    #d4d0c8;
    --accent:  #c8b89a;
    --white:   #f0ece4;
    --font:    'Inter', system-ui, -apple-system, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* Layout */
.wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo mark */
.logo-mark {
    display: inline-block;
    margin-bottom: 28px;
    opacity: .9;
    transition: opacity .2s;
}

.logo-mark:hover { opacity: 1; }

.logo-mark img {
    display: block;
    border-radius: 3px;
}

/* Header */
header {
    padding: 80px 0 64px;
}

header .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

header h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

header .tagline {
    font-size: 1.05rem;
    color: var(--accent);
    font-weight: 400;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}

.nav-links a:hover {
    color: var(--white);
    border-color: var(--accent);
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* Section */
section {
    padding: 56px 0;
}

section + section {
    border-top: 1px solid var(--border);
}

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

/* About */
.about p {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 560px;
}

/* Work list */
.work-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.work-list li a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    transition: color .15s;
}

.work-list li:first-child a {
    border-top: 1px solid var(--border);
}

.work-list li a:hover .work-title {
    color: var(--white);
}

.work-title {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
    transition: color .15s;
    white-space: nowrap;
}

.work-desc {
    font-size: .85rem;
    color: var(--muted);
    text-align: left;
}

.work-arrow {
    font-size: .8rem;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform .15s, color .15s;
}

.work-list li a:hover .work-arrow {
    transform: translateX(3px);
    color: var(--accent);
}

/* Contact */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--white);
    border-bottom: 1px solid var(--muted);
    padding-bottom: 2px;
    transition: border-color .2s, color .2s;
}

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

/* Footer */
footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

footer span {
    font-size: 12px;
    color: var(--muted);
}

footer .footer-links {
    display: flex;
    gap: 16px;
}

footer .footer-links a {
    font-size: 12px;
    color: var(--muted);
    transition: color .2s;
}

footer .footer-links a:hover { color: var(--white); }

/* PDF Viewer */
.pdf-container {
    margin: 40px 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: auto;
    background: var(--surface);
    display: flex;
    justify-content: center;
    max-height: 90vh;
}

.pdf-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 480px) {
    header { padding: 56px 0 48px; }
    .work-desc { display: none; }
    .pdf-container { max-height: 70vh; }
}
