/**
 * Brutalism aesthetic. No animations. No transitions.
 * High contrast, raw layout, visible borders.
 */

:root {
    --bg: #0a0a0a;
    --surface: #111;
    --border: #333;
    --text: #fff;
    --text-muted: #888;
    --accent: #fff;
    --font-heading: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-width: 960px;
    --border-width: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

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

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

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

/* Header */
.site-header {
    border-bottom: var(--border-width) solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo a:hover {
    color: var(--text-muted);
}

.logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: var(--border-width) solid var(--border);
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: var(--border-width) solid var(--border);
    background: var(--bg);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero */
.hero {
    padding: 4rem 0;
    border-bottom: var(--border-width) solid var(--border);
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 42em;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: var(--border-width) solid var(--border);
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
}

.btn:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--text-muted);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
}

/* Content sections */
.content-sections {
    padding: 3rem 0 4rem;
}

.block {
    border: var(--border-width) solid var(--border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.block-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.block h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.block h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.block p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.block .note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.list {
    list-style: none;
    margin-bottom: 1rem;
}

.list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
    color: var(--text-muted);
}

.list.ordered {
    list-style: decimal;
    padding-left: 1.5rem;
}

.list.ordered li {
    border-left: none;
    padding-left: 0.25rem;
}

.link {
    color: var(--accent);
    text-decoration: underline;
}

.link:hover {
    color: var(--text-muted);
}

/* Deck */
.deck {
    min-height: 80vh;
    padding: 3rem 0;
}

.deck-frame {
    border: var(--border-width) solid var(--border);
    padding: 2rem;
}

.deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.deck-counter {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.deck-controls {
    display: flex;
    gap: 1rem;
}

.btn-control {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
}

.btn-control:hover {
    color: var(--text-muted);
}

.deck-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.deck-content {
    color: var(--text-muted);
}

.deck-content .deck-tagline {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.deck-content .deck-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.deck-content .list {
    margin-top: 1rem;
}

.deck-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.deck-footer a:hover {
    color: var(--text-muted);
}

/* Materials page */
.materials {
    padding: 4rem 0;
}

.materials h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.materials .block {
    margin-top: 1.5rem;
}

/* Contact page / block */
.contact-block {
    margin-top: 2rem;
}

.contact-block .btn {
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    border-top: var(--border-width) solid var(--border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo,
.footer-logo-img {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    filter: invert(1);
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
}

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