:root {
    --bg: #f8f4ed;
    --card: #fffaf2;
    --ink: #201914;
    --muted: #6b5f55;
    --brand: #4b2d16;
    --brand2: #8b5b2e;
    --border: #e7dac9;
    --soft: #efe1cf;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(55, 36, 18, .11);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(139, 91, 46, .17), transparent 34rem),
        linear-gradient(180deg, #fffaf2 0%, var(--bg) 48%, #f4ecdf 100%);
    line-height: 1.6;
}

a {
    color: var(--brand);
}

.wrap {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 250, 242, .86);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: clamp(250px, 28vw, 320px);
    max-height: 100px;
    object-fit: contain;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.navlinks a {
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    background: var(--brand);
    color: white !important;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(75, 45, 22, .22);
}

.button.secondary {
    background: var(--soft);
    color: var(--brand) !important;
    box-shadow: none;
}

main {
    min-height: 65vh;
}

.hero {
    padding: clamp(48px, 8vw, 92px) 0 38px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 30px;
    align-items: stretch;
}

.hero-card,
.panel {
    background: rgba(255, 250, 242, .9);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: clamp(28px, 5vw, 54px);
}

.kicker {
    color: var(--brand2);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .1em;
    font-size: .78rem;
}

h1 {
    font-size: clamp(2.35rem, 6vw, 4.7rem);
    line-height: .98;
    margin: 14px 0 18px;
    letter-spacing: -.05em;
}

h2 {
    margin-top: 34px;
    color: var(--brand);
}

.lead {
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.22rem);
    max-width: 68ch;
}

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.piano-fact {
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(255,255,255,.9), rgba(239,225,207,.55));
    box-shadow: 0 10px 24px rgba(55, 36, 18, .08);
}

.piano-fact-label {
    color: var(--brand2);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.piano-fact-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}

.piano-fact-author {
    margin-top: 12px;
    color: var(--muted);
    font-style: italic;
    font-size: .92rem;
}

.panel {
    padding: 24px;
}

.panel h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.activity-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.activity-item {
    display: block;
    padding: 17px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
}

.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(55, 36, 18, .09);
}

.activity-title {
    font-weight: 900;
    margin-bottom: 7px;
}

.activity-desc {
    color: var(--muted);
    font-size: .95rem;
}

.activity-date {
    margin-top: 9px;
    color: var(--brand2);
    font-size: .82rem;
    font-weight: 800;
}

.empty {
    padding: 18px;
    border: 1px dashed var(--border);
    background: #fff;
    border-radius: 18px;
    color: var(--muted);
}

.sections {
    padding: 24px 0 60px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

.mini-card h3 {
    margin-top: 0;
    color: var(--brand);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 14px 34px rgba(50, 35, 20, .08);
}

.content-page {
    padding: 44px 0;
}

.muted {
    color: var(--muted);
}

ul {
    padding-left: 22px;
}

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

.debug {
    margin: 24px 0;
    background: #111;
    color: #eee;
    border-radius: 18px;
    padding: 18px;
    overflow: auto;
    font-family: Consolas, Monaco, monospace;
    font-size: .86rem;
    white-space: pre-wrap;
}

@media (max-width: 860px) {
    .hero-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    header {
        position: static;
    }

    nav {
        justify-content: center;
        text-align: center;
    }

    .navlinks {
        justify-content: center;
    }

    .logo img {
        width: min(300px, 90vw);
        max-height: 90px;
    }
}