/* ============================================
   HAUGE DESIGN — Adorno-style, serif edition
   ============================================ */

:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --gray: #444444;
    --gray-light: #a3a3a3;
    --gray-border: #e5e5e5;
    --accent: #8b6d5c;

    --font-display: Arial, Helvetica, sans-serif;
    --font-body: Arial, Helvetica, sans-serif;

    --nav-h: 60px;
    --max-w: 1200px;
    --px: 32px;
}

/* ── Reset ────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    color: var(--gray);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--black);
    color: var(--white);
}

/* ── Layout ───────────────────────────────── */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

.section {
    padding: 80px 0;
}

/* ── Navigation ───────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--black);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.5;
}

.btn-nav {
    background: var(--black);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px !important;
    transition: background 0.2s !important;
}

.btn-nav:hover {
    background: #333 !important;
    opacity: 1 !important;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--black);
    transition: 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-family: var(--font-display);
        font-size: 1.8rem;
    }
}

/* ── Hero ─────────────────────────────────── */

.hero {
    margin-top: var(--nav-h);
}

.hero-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px var(--px);
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.hero-overlay h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-overlay h1 em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 100px;
    width: fit-content;
    transition: background 0.25s, border-color 0.25s;
}

.btn-hero:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .hero-inner {
        aspect-ratio: 4 / 3;
    }
}

/* ── Intro strip ──────────────────────────── */

.strip {
    padding: 64px 0;
    border-bottom: 1px solid var(--gray-border);
}

.intro-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.7;
    max-width: 700px;
}

/* ── Section headers ──────────────────────── */

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
}

.link-arrow {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--black);
    transition: opacity 0.2s;
}

.link-arrow:hover {
    opacity: 0.5;
}

/* ── Projects ─────────────────────────────── */

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--gray-border);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.project-row:last-child {
    border-bottom: 1px solid var(--gray-border);
}

.project-row:hover {
    opacity: 0.75;
}

.project-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img-label {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
}

.project-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 12px;
}

.project-info p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 440px;
}

@media (max-width: 768px) {
    .project-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Contact (dark section) ───────────────── */

.section-dark {
    background: var(--black);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-grid h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.contact-sub {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 32px;
}

.btn-outline-light {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 100px;
    transition: background 0.25s, border-color 0.25s;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.contact-cols {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-cols h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.contact-cols a,
.contact-cols span {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--white);
}

.contact-cols a {
    transition: opacity 0.2s;
}

.contact-cols a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── Footer ───────────────────────────────── */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 32px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-light);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 24px;
}

.footer-bottom span {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-light);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Scrollbar ────────────────────────────── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-border);
    border-radius: 3px;
}
