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

body {
    background-color: #fff;
    color: #1a1a1a;
    padding: 40px 20px 80px;
}

.container {
    max-width: 640px;
    margin: 0 auto;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: clamp(13px, 3.8vw, 32px);
    line-height: 1.2;
    margin-bottom: 8px;
    color: #1a1a1a;
    white-space: nowrap;
}

h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

p {
    font-family: "Crimson Text", serif;
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #333;
}

.byline {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.divider {
    height: 4px;
    background-color: #f16913;
    margin: 16px 0 24px;
}

.chart-container {
    margin: 32px 0 36px;
    width: 100%;
}

.chart-container svg,
.chart-container img {
    display: block;
    width: 100%;
    height: auto;
}

.about-text {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Chart typography */
.chart-title {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    fill: #1a1a1a;
}

.chart-subtitle {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    fill: #888;
    font-style: italic;
}

.chart-note {
    font-family: "Roboto", sans-serif;
    fill: #999;
}

.chart-source {
    font-family: "Roboto", sans-serif;
    fill: #999;
}

a {
    color: #E8833A;
}

a:hover {
    color: #c96a2a;
}

/* Wide photos */
.wide-photo {
    width: 110%;
    margin-left: -5%;
    margin-top: 36px;
    margin-bottom: 36px;
}

.wide-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.wide-photo figcaption {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-style: italic;
    color: #888;
    padding: 6px 0;
    line-height: 1.4;
}

/* Carousel */
.carousel {
    overflow: hidden;
    margin: 20px 0 12px;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    animation: scroll-carousel 30s linear infinite;
    width: max-content;
}

.carousel-track img {
    height: 200px;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-credits {
    margin-top: 12px;
    margin-bottom: 24px;
}

.carousel-credits p {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #888;
    margin-bottom: 4px;
}
