/* lede folio — diagonal hairline backdrop (color from currentColor of the decor layer) and Bootstrap-gap layout/typography (no colors) */
.lede-folio {
    isolation: isolate;
}

.lede-folio__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: repeating-linear-gradient(-8deg, transparent 0, transparent 2.5rem, currentColor 2.5rem, currentColor 2.5625rem);
}

.lede-folio__rule {
    height: 5px;
}

.lede-folio__copy {
    min-width: 0;
}

.lede-folio__kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
}

.lede-folio__dot {
    width: 0.625rem;
    height: 0.625rem;
}

.lede-folio__title {
    max-width: 45rem;
    letter-spacing: -0.03em;
}

.lede-folio__accent {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.lede-folio__text {
    max-width: 35rem;
}

.lede-folio__actions {
    max-width: 20rem;
}

.lede-folio__btn {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lede-folio__card-rule {
    height: 0.25rem;
}

.lede-folio__toc-link {
    grid-template-columns: auto 1fr;
    font-size: 0.875rem;
    line-height: 1.35;
    transition: padding 0.2s ease, color 0.2s ease;
}

.lede-folio__toc-link:last-of-type {
    border-bottom-width: 0;
}

.lede-folio__toc-link:hover {
    padding-left: 0.25rem;
}

.lede-folio__toc-num {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
}

.lede-folio__note {
    border-top-style: dashed;
    font-size: 0.75rem;
    line-height: 1.55;
}

@media (min-width: 640px) {
    .lede-folio__actions {
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .lede-folio__grid {
        grid-template-columns: minmax(0, 1fr) minmax(13.75rem, 18.75rem);
        gap: 3rem;
    }

    .lede-folio__aside {
        margin-top: 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lede-folio__btn,
    .lede-folio__toc-link {
        transition: none;
    }
}

/* charter notes — Bootstrap-gap layout and em-dash marker (no colors; TW paints the dash via before:) */
.charter-notes__head {
    max-width: 40rem;
}

.charter-notes__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.charter-notes__item::before {
    content: "\2014";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

@media (min-width: 768px) {
    .charter-notes__grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
        gap: 3rem;
    }
}

/* dispatch cards — alternate paper tilt, desktop stagger, straighten + lift on hover, Bootstrap-gap layout/typography (no colors) */
.dispatch-cards__head {
    max-width: 35rem;
}

.dispatch-cards__card {
    grid-template-rows: auto auto 1fr auto;
    transform: rotate(-0.4deg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.dispatch-cards__card:nth-child(even) {
    transform: rotate(0.5deg);
}

.dispatch-cards__card:hover {
    transform: translateY(-0.25rem) rotate(0);
}

.dispatch-cards__meta {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
}

.dispatch-cards__icon {
    font-size: 1.75rem;
}

.dispatch-cards__link {
    justify-self: start;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

@media (min-width: 768px) {
    .dispatch-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.375rem 1.25rem;
    }

    .dispatch-cards__card:nth-child(2) {
        margin-top: 1.75rem;
    }

    .dispatch-cards__card:nth-child(3) {
        margin-top: -0.75rem;
    }

    .dispatch-cards__card:nth-child(4) {
        margin-top: 1.125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dispatch-cards__card,
    .dispatch-cards__card:nth-child(even),
    .dispatch-cards__card:hover {
        transition: none;
        transform: none;
    }
}

/* pledge table — Bootstrap-gap table layout and header typography (no colors) */
.pledge-table__head {
    max-width: 35rem;
}

.pledge-table__table {
    border-collapse: collapse;
}

.pledge-table__th {
    width: 22%;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.pledge-table__row:last-child {
    border-bottom-width: 0;
}

/* source tiles — 3px top rule in the card text color, Bootstrap-gap grid (no colors) */
.source-tiles__card {
    border-top: 3px solid currentColor;
}

@media (min-width: 768px) {
    .source-tiles__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.125rem;
    }
}

/* bulletin frame — offset outer frame (color comes from the framework classes), button typography (no colors) */
.bulletin-frame__box {
    max-width: 45rem;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: 0.5rem;
}

.bulletin-frame__btn {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .bulletin-frame__btn {
        transition: none;
        transform: none;
    }
}

/* query fold — collapsible answers once the script is armed, rotating plus, Bootstrap-gap sizes (no colors) */
.query-fold__btn {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
}

.query-fold__lead {
    max-width: 35rem;
}

.query-fold__list {
    max-width: 45rem;
}

.query-fold__sign {
    width: 1.875rem;
    height: 1.875rem;
    place-items: center;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.query-fold--armed .query-fold__panel {
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.query-fold--armed .query-fold__item.is-open .query-fold__panel {
    max-height: 56.25rem;
}

.query-fold__item.is-open .query-fold__sign {
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .query-fold__sign,
    .query-fold--armed .query-fold__panel {
        transition: none;
    }
}

/* inquiry desk — form control resets, sizes and Bootstrap-gap layout (no colors) */
.inquiry-desk__lead {
    max-width: 35rem;
}

.inquiry-desk__group {
    min-width: 0;
}

.inquiry-desk__label {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
}

.inquiry-desk__input {
    font-size: 0.875rem;
}

.inquiry-desk__error,
.inquiry-desk__fine {
    font-size: 0.75rem;
}

.inquiry-desk__message {
    min-height: 8rem;
    resize: vertical;
}

.inquiry-desk__submit {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .inquiry-desk__pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .inquiry-desk__grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
        gap: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inquiry-desk__submit {
        transition: none;
        transform: none;
    }
}

