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

:root {
    --bg: #f6f6f4;
    --surface: #ffffff;
    --text: #1c1c1c;
    --muted: #5c5c5c;
    --border: #e2e2de;
    --accent: #2d5a8a;
    --accent-soft: #eef3f8;
    --max: 960px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    text-decoration: none;
}

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

/* Header */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
}

.site-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    font-size: 0.9rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

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

/* Page intro */

.page-intro {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.page-intro h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.page-intro .lead {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 42rem;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Sections */

.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.section-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: -0.5rem 0 1.5rem;
    max-width: 40rem;
}

/* Notice */

.intro-text {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.info-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem 1.125rem;
}

.info-item .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.info-item .value {
    font-size: 0.9rem;
    color: var(--text);
}

.info-item ul {
    padding-left: 1.15rem;
    margin-top: 0.25rem;
}

.info-item li + li {
    margin-top: 0.2rem;
}

/* Calendars */

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.calendar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.calendar-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: var(--accent-soft);
    border-bottom: 1px solid var(--border);
    color: var(--accent);
}

.calendar-card iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    background: var(--surface);
}

.site-footer p + p {
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-card iframe {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
