/* sycheah.com — minimal dark theme */

:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --border: #1f1f1f;
    --text: #e6e6e6;
    --text-2: #a0a0a0;
    --text-3: #666666;
    --accent: #d4a574;
    --accent-dim: #a88560;
    --max-width: 680px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

/* Typography */
h1, h2, h3 {
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #ffffff;
    line-height: 1.25;
}

h1 { font-size: 2.1rem; margin-bottom: 0.4rem; }
h2 { font-size: 1.45rem; margin: 3rem 0 0.6rem; }
h3 { font-size: 1.02rem; margin: 1.25rem 0 0.4rem; color: var(--text); }

p {
    margin: 0 0 1rem;
    color: var(--text);
}

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

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover,
a:focus-visible {
    border-bottom-color: var(--accent-dim);
    outline: none;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.tagline {
    color: var(--text-2);
    font-size: 1rem;
    margin: 0;
}

/* Nav */
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

nav a {
    color: var(--text-2);
    font-size: 0.88rem;
    border-bottom: none;
    padding: 0.15rem 0;
    transition: color 0.15s ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--accent);
    border-bottom: none;
}

/* Section intro */
#intro {
    margin-bottom: 2rem;
}

#intro p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

.section-sub {
    color: var(--text-3);
    font-size: 0.88rem;
    font-style: italic;
    margin: 0 0 1.25rem;
}

.meta {
    color: var(--text-3);
    font-size: 0.85rem;
}

.role {
    color: var(--accent);
    font-size: 0.95rem;
    margin: -0.25rem 0 1rem;
    font-style: italic;
    letter-spacing: 0.005em;
}

/* Lists */
ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding: 0.55rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

ul li:last-child {
    border-bottom: none;
}

/* Now list */
.now-list li {
    display: flex;
    gap: 0.85rem;
    align-items: baseline;
}

.now-list .emoji {
    flex-shrink: 0;
    width: 1.4rem;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
}

/* Gear list */
.gear-list li {
    display: flex;
    gap: 0.85rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.gear-key {
    flex-shrink: 0;
    width: 5.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    font-weight: 500;
}

/* Thinking list */
.thinking-list li {
    padding-left: 1rem;
    position: relative;
    color: var(--text);
}

.thinking-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-dim);
}

/* Stack grid */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.5rem 1.75rem;
    margin: 1rem 0 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.stack-grid > div {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.stack-grid h3 {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
}

.stack-grid p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

/* Contact */
.contact-links {
    font-size: 1rem;
}

.contact-links .sep {
    color: var(--text-3);
    margin: 0 0.5rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

footer p {
    margin: 0;
}

/* Focus visibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 2.5rem 1.15rem 4rem;
    }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.25rem; margin-top: 2.25rem; }
    nav {
        gap: 1.05rem;
        font-size: 0.85rem;
    }
    .stack-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .stack-grid > div {
        padding: 0.65rem 0;
    }
    .gear-list li {
        flex-direction: column;
        gap: 0.15rem;
    }
    .gear-key {
        width: auto;
    }
}

/* Print */
@media print {
    body { background: white; color: black; }
    nav, footer { display: none; }
}