/*
 * No Type Studio
 * Using Eczar for title, Geist for body text
 */

@font-face {
    font-family: 'Eczar';
    src: url('static/eczarvariable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

html {
    font-size: 16px;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    line-height: 28px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    width: 100%;
    max-width: 540px;
    padding: 60px 24px;
}

/* Divider line - matches interfacecraft.dev */
.divider {
    width: 40px;
    height: 1px;
    background-color: #171717;
    margin-bottom: 32px;
}

header {
    margin-bottom: 50px;
}

h1 {
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 16px;
}

.tagline {
    font-size: 18px;
    color: #666666;
    line-height: 26px;
}

h2 {
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 8px;
}

/* Add space only when h2 follows other content */
p + h2 {
    margin-top: 40px;
}

h3 {
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
}

.content {
    margin-bottom: 40px;
}

.content .divider {
    margin-top: 64px;
    margin-bottom: 32px;
}

p {
    margin-bottom: 16px;
    color: #cccccc;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 2px;
}

a:hover {
    color: #cccccc;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.updated {
    font-size: 14px;
    color: #888888;
    margin-top: 0;
    margin-bottom: 24px;
}

footer p {
    font-size: 14px;
    color: #888888;
}

/* Navigation */
nav {
    width: 100%;
    padding: 24px 40px;
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-logo {
    font-family: 'Eczar', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    color: #ffffff;
    position: absolute;
    left: 0;
}

.nav-logo:hover {
    color: #cccccc;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #888888;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
}

/* Home header - hide on homepage since nav shows brand */
.home-header {
    display: none;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #222222;
}

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

.footer-links a {
    color: #666666;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a.active {
    color: #888888;
}

/* Address styling */
address {
    font-style: normal;
    margin-bottom: 32px;
}

address .company-name {
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-details {
    margin-top: 32px;
}

.contact-details p {
    margin-bottom: 24px;
}

.contact-details strong {
    color: #888888;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project styling */
.project {
    margin-bottom: 48px;
}

.project-tagline {
    color: #888888;
    margin-bottom: 16px;
}

.project-video {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #222222;
    margin-bottom: 16px;
}

/* Lists */
ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

li {
    color: #cccccc;
    margin-bottom: 8px;
}

/* Section divider - hidden */
.section-divider {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    main {
        padding: 40px 20px 60px;
    }

    nav {
        padding: 20px;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-logo {
        position: static;
    }

    .nav-links {
        gap: 16px;
    }

    h1 {
        font-size: 20px;
        letter-spacing: -0.25px;
    }

    h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    p + h2 {
        margin-top: 32px;
    }

    body {
        font-size: 16px;
        line-height: 26px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
