.section, .page-wrap { width: min(var(--content-width), calc(100% - 3rem)); margin: 0 auto; }
.section { margin-top: 5.25rem; }
.section--compact { margin-top: 2.25rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.7rem; }
.section-heading__eyebrow, .eyebrow { margin-bottom: .55rem; color: var(--gold-600); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.section-heading__copy { max-width: 400px; margin-bottom: 0; color: var(--ink-600); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .7rem 1.12rem;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--forest-800); }
.btn--primary:hover { background: var(--forest-900); }
.btn--gold, .btn-primary { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--white); }
.btn--gold:hover, .btn-primary:hover { color: var(--white); }
.btn--outline, .btn-secondary { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: var(--white); }
.btn--outline:hover, .btn-secondary:hover { background: rgba(255,255,255,.17); color: var(--white); }
.btn--light { background: var(--white); color: var(--forest-900); }
.btn--small { min-height: 37px; padding: .48rem .8rem; border-radius: 10px; font-size: .82rem; }
.text-link { color: var(--forest-800); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link--light { color: var(--gold-300); }

.card, .info-card, .page-card, .event-card, .auth-card, .list-card {
    border: 1px solid rgba(18, 59, 42, .09);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.info-card, .page-card, .auth-card, .list-card { padding: 1.5rem; }
.info-card h3, .page-card h3, .auth-card h3, .list-card h3 { margin-bottom: .55rem; }

.pill { display: inline-flex; align-items: center; width: fit-content; padding: .35rem .6rem; border-radius: 999px; background: var(--sage-100); color: var(--forest-800); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pill--gold { background: #fff4d9; color: #926015; }
.icon-circle { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--sage-100); color: var(--forest-800); font-size: 1.18rem; }

.message-stack { width: min(var(--content-width), calc(100% - 3rem)); margin: 1rem auto 0; }
.alert { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border: 1px solid var(--sage-200); border-radius: 12px; background: var(--sage-100); color: var(--forest-900); font-weight: 600; box-shadow: var(--shadow-sm); transition: opacity .2s ease, transform .2s ease; }
.alert.is-dismissing { opacity: 0; transform: translateY(-8px); }
.alert--error { border-color: #f2c9c1; background: var(--coral-100); color: var(--danger); }
.alert__close { border: 0; background: transparent; color: inherit; font-size: 1.35rem; line-height: 1; }

.stack-form { display: grid; gap: 1rem; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-field { display: grid; gap: .42rem; }
.form-field label, form > label { color: var(--ink-800); font-size: .86rem; font-weight: 700; }
input, textarea, select {
    width: 100%;
    min-height: 46px;
    padding: .72rem .82rem;
    border: 1px solid #d8dfd9;
    border-radius: 11px;
    outline: none;
    background: var(--white);
    color: var(--ink-950);
    transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(31,112,77,.12); }
form button[type="submit"] { justify-self: start; border: 0; background: var(--forest-800); color: var(--white); }
form button[type="submit"]:hover { background: var(--forest-900); }
form p { margin: 0; }
.errorlist { margin: -.3rem 0 0; padding: 0; color: var(--danger); font-size: .82rem; list-style: none; }
.helptext { color: var(--ink-600); font-size: .8rem; }

.data-search { position: relative; width: min(360px, 100%); }
.data-search input { padding-right: 2.6rem; }
.data-search::after { position: absolute; top: 50%; right: .95rem; color: var(--ink-500); content: "⌕"; font-size: 1.4rem; transform: translateY(-53%); pointer-events: none; }
.filter-empty { display: none; margin-top: 1rem; color: var(--ink-600); }
.filter-empty.is-visible { display: block; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
