*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--text, var(--ink));
    font-family: var(--font-body, "Noto Sans TC", "Microsoft JhengHei", sans-serif);
    font-size: var(--font-size, 16px);
    line-height: 1.85;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

p {
    margin: 0;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.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;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 0;
    transform: translateY(-120%);
    background: var(--green);
    color: #1a140c;
    padding: 10px 14px;
    z-index: 20;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section {
    padding: 96px 0;
}

.section-kicker {
    display: block;
    margin: 0 0 12px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.22em;
}

.section-title {
    margin: 0;
    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--ink);
}

.section-lead {
    max-width: 640px;
    margin: 16px auto 0;
    text-align: center;
    color: var(--muted);
}

.section[id],
.band[id] {
    scroll-margin-top: var(--header-offset);
}
