:root {
    --bg: #ffffff;
    --card: #f5f5f7;
    --text: #111111;
    --muted: #6b7280;
    --accent: #2563eb; /* BLUE */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center; /* center everything horizontally */
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

.icon-button,
.menu-trigger {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.icon-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-button:hover,
.menu-trigger:hover {
    color: var(--accent);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: none;
    align-items: flex-start;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 84px 20px 20px 20px;
    box-sizing: border-box;
}

.menu-overlay.is-open {
    display: flex;
}

.menu-panel {
    width: 100%;
    max-width: 900px;
    min-height: 280px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-nav {
    display: grid;
    gap: 18px;
}

.menu-nav a {
    color: var(--text);
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}

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

.menu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.menu-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* HERO */
.hero {
    max-width: 900px;
    width: 100%;
    padding: 100px 20px 50px 20px;
    text-align: center;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.hero p {
    color: var(--muted);
    font-size: 20px;
    margin: 0;
}

.page-content {
    max-width: 900px;
    width: 100%;
    padding: 40px 20px 80px 20px;
    box-sizing: border-box;
    text-align: center;
}

.page-content h2 {
    font-size: 36px;
    margin: 0 0 22px 0;
}

.page-content p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}

.page-content p + p {
    margin-top: 22px;
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 28px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.page-button:hover {
    background: #1d4ed8;
}

/* LOGO */
.logo {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    object-fit: cover;
}

/* EPISODES */
.episodes {
    max-width: 900px;
    width: 100%;
    padding: 40px 20px 80px 20px;
    display: grid;
    gap: 18px;
    box-sizing: border-box;
}

.card {
    display: grid;
    gap: 22px;
    background: var(--card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 160ms ease, border-color 160ms ease;
}

.card:hover {
    background: #ececf0;
}

.card.is-active {
    background: #ffffff;
    border-color: #d1d5db;
}

/* BLUE TITLES */
.meta h3 {
    margin: 0;
    color: var(--accent);
}

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

.guests {
    margin-bottom: 0;
}

.card:hover .meta h3 {
    text-decoration: underline;
}

/* EPISODE PLAYER */
.episode-player {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* BLUE PLAY BUTTON */
.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: white;
}

.track {
    flex: 1;
    min-width: 0;
}

/* FULL WIDTH WAVEFORM */
.waveform-wrapper {
    width: 100%;
    overflow: hidden;
}

.waveform {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 1px; /* smaller gap for fuller look */
    height: 46px;
}

/* WAVEFORM COLORS */
.bar {
    flex: 1;
    background: #d1d5db;
    border-radius: 999px;
}

.bar.active {
    background: var(--accent);
}

/* TIME */
.time {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.site-footer {
    width: 100%;
    max-width: 900px;
    padding: 28px 20px 36px 20px;
    border-top: 1px solid #e5e5e5;
    box-sizing: border-box;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer .site-version {
    margin-top: 6px;
    font-size: 12px;
}

.ghana-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    margin-left: 4px;
    vertical-align: -1px;
}

@media (max-width: 640px) {
    header {
        padding: 16px 20px;
    }

    .menu-overlay {
        padding: 72px 16px 16px 16px;
    }

    .menu-panel {
        min-height: 240px;
        padding: 56px 20px 28px 20px;
    }

    .menu-nav {
        gap: 16px;
    }

    .menu-nav a {
        font-size: 24px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .card {
        padding: 20px;
    }

    .page-content {
        padding-top: 24px;
    }

    .page-content h2 {
        font-size: 30px;
    }

    .page-content p {
        font-size: 18px;
    }

    .episode-player {
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 34px;
    }

    .menu-nav a {
        font-size: 21px;
    }
}
