
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #faf9f7;
    --text-color: #1a1a1a;
    --text-muted: #5c5c5c;
    --accent: #d35233;
    --border-color: #1a1a1a;
    --grid-unit: 60px;
    --margin: 40px;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
    font-family: "Inter", -apple-system, sans-serif;
    font-weight: 500;
    margin: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Inter", -apple-system, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Remove the floating grid overlay */
.grid-overlay {
    display: none;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

/* Section titles - Swiss style labels */
.section-title {
    font-family: "Space Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 0;
    padding: var(--margin);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.footer-text {
    font-size: 0.8em;
    color: var(--text-muted);
    padding: 20px var(--margin);
}

.footer-text img {
    vertical-align: middle;
    margin: 0 5px;
    height: 14px;
}

.footer-text a {
    color: var(--text-muted);
    text-decoration: underline;
}

footer {
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding: 0;
}

footer .section-title {
    border-bottom: none;
    padding-bottom: var(--margin);
}

section {
    width: 100%;
}

nav {
    display: none; /* Hide nav for now - Swiss style often uses in-page navigation */
}

.navbar-space {
    display: none;
}

/* Margin text */
.m-text, .m-left {
    margin-left: var(--margin);
}

.navbar-link {
    margin-left: 20px;
    font-size: 0.9em;
    color: var(--accent);
    text-decoration: none;
}

.navbar-link:first-of-type {
    margin-left: auto;
}