/* Bluegrass Cube — shared bulletin-board stylesheet.
   Built up phase by phase; see ../CLAUDE.md and ../DESIGN.md before extending. */

:root {
    --cork: #cbb289;
    --cork-vignette: rgba(58, 41, 21, 0.14);

    --rail: #221a13;
    --rail-line: rgba(232, 201, 141, 0.35);
    --accent: #c99a4f;

    --ink: #241d15;
    --ink-soft: rgba(36, 29, 21, 0.68);
    --paper: #faf7ef;
    --paper-shadow: rgba(30, 20, 8, 0.22);

    --pin: #a8402f;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--cork);
    background-image:
        radial-gradient(ellipse 120% 60% at 50% 0%, rgba(255, 250, 235, 0.16), transparent 65%),
        radial-gradient(ellipse 140% 90% at 50% 110%, var(--cork-vignette), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: auto, auto, 180px 180px;
}

a {
    color: inherit;
}

/* Header — a flat, quiet rail above the board; not a floating SaaS bar. */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
    background: var(--rail);
    border-bottom: 1px solid var(--rail-line);
    position: relative;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--paper);
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--accent);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--paper);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.05rem;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

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

/* Board — the cork itself is the page background; this is just where content pins. */

.board {
    position: relative;
    min-height: 60vh;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem) 5rem;
}

.board-anchor {
    position: relative;
    top: -1rem;
}

.pinned-note {
    position: relative;
    display: inline-block;
    max-width: 260px;
    background: var(--paper);
    color: var(--ink);
    padding: 1.15rem 1.35rem;
    border-radius: 2px;
    box-shadow: 0 1px 2px var(--paper-shadow), 0 12px 24px -8px var(--paper-shadow);
    transform: rotate(-1.5deg);
}

.pinned-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.pinned-note::before {
    content: "";
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--pin);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
