/* ==========================================================================
   RescueHub — public design system
   Tokens, base typography, page furniture, editorial blocks.
   ========================================================================== */

:root {
    --paper: #fbf9f5;
    --paper-2: #f4f1ea;
    --paper-3: #eeeae0;
    --card: #ffffff;
    --ink: #16211c;
    --ink-2: #3a4a42;
    --muted: #6b7a73;
    --muted-2: #8a988f;
    --line: #e4ded2;
    --line-2: #d3cbba;

    --forest: #123a2e;
    --forest-2: #1d5847;
    --forest-3: #2f7a62;
    --wash: #eaf1ec;
    --wash-2: #dfe9e3;

    --clay: #a9502c;
    --clay-wash: #f7e7e0;
    --brass: #94662a;
    --brass-wash: #f6eedd;

    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

    --radius: 6px;
    --radius-sm: 3px;
    --wrap: 1140px;
    --gutter: clamp(18px, 4vw, 40px);
    --shadow-lift: 0 2px 4px rgba(22, 33, 28, .04), 0 14px 30px -18px rgba(22, 33, 28, .28);
    --shadow-deep: 0 24px 60px -28px rgba(22, 33, 28, .45);
    --ease: cubic-bezier(.32, .72, .28, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.015em;
    color: var(--forest);
}

h1 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
}

h2 {
    font-size: clamp(1.6rem, 2.9vw, 2.3rem);
}

h3 {
    font-size: 1.24rem;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--forest-2);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    width: min(var(--wrap), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

.narrow {
    max-width: 720px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 10px 16px;
    background: var(--forest);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* Icons ------------------------------------------------------------------- */

.icon {
    width: 18px;
    height: 18px;
    flex: none;
    display: block;
}

.icon--solid {
    width: 1em;
    height: 1em;
}

.icon--back {
    transform: rotate(180deg);
}

.icon--sm {
    width: 15px;
    height: 15px;
}

/* Labels ------------------------------------------------------------------ */

.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--brass);
    flex: none;
}

.kicker--quiet {
    color: var(--muted-2);
    margin-bottom: 10px;
}

.kicker--quiet::before {
    width: 14px;
}

.kicker--invert {
    color: rgba(255, 255, 255, .72);
}

.kicker--invert::before {
    background: rgba(255, 255, 255, .5);
}

.tag {
    display: inline-block;
    padding: 3px 9px 4px;
    border-radius: var(--radius-sm);
    background: var(--wash);
    color: var(--forest-2);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tag--urgent {
    background: var(--clay-wash);
    color: var(--clay);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid var(--forest);
    border-radius: var(--radius);
    background: var(--forest);
    color: #fff;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

.btn:hover {
    background: var(--forest-2);
    border-color: var(--forest-2);
    transform: translateY(-1px);
}

.btn .icon {
    width: 16px;
    height: 16px;
}

.btn--sm {
    padding: 9px 16px;
    font-size: 12.5px;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line-2);
    color: var(--forest);
}

.btn--ghost:hover {
    background: var(--wash);
    border-color: var(--forest-3);
    color: var(--forest);
}

.btn--invert {
    background: #fff;
    border-color: #fff;
    color: var(--forest);
}

.btn--invert:hover {
    background: var(--paper-2);
    border-color: var(--paper-2);
    color: var(--forest);
}

.btn[disabled] {
    opacity: .6;
    cursor: progress;
    transform: none;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--forest-2);
}

.link-more .icon {
    width: 15px;
    height: 15px;
    transition: transform .18s var(--ease);
}

.link-more:hover .icon {
    transform: translateX(3px);
}

.link-quiet {
    color: var(--muted);
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 1px;
}

.link-quiet:hover {
    color: var(--forest);
    border-color: var(--forest-3);
}

/* Top bar ----------------------------------------------------------------- */

.topbar {
    background: var(--forest);
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    letter-spacing: .02em;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.topbar__motto {
    color: rgba(255, 255, 255, .55);
}

/* Masthead ---------------------------------------------------------------- */

.masthead {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 249, 245, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.masthead.is-scrolled {
    box-shadow: 0 1px 0 rgba(22, 33, 28, .04), 0 10px 24px -20px rgba(22, 33, 28, .5);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--forest);
    color: var(--paper);
    font-size: 19px;
}

.brand__name {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--forest);
    line-height: 1;
}

.brand__name em {
    display: block;
    margin-top: 3px;
    font-family: var(--sans);
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav__link {
    position: relative;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: var(--radius-sm);
    transition: color .16s var(--ease), background .16s var(--ease);
}

.nav__link:hover {
    color: var(--forest);
    background: var(--wash);
}

.nav__link.is-active {
    color: var(--forest);
    font-weight: 600;
}

.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 1.5px;
    background: var(--forest-3);
}

.masthead__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--forest);
}

/* Hero -------------------------------------------------------------------- */

.hero {
    padding: clamp(52px, 7vw, 92px) 0 clamp(44px, 5vw, 70px);
    background:
        linear-gradient(180deg, var(--paper-2) 0%, rgba(244, 241, 234, 0) 62%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.hero__title {
    margin: 0 0 22px;
    font-size: clamp(2.35rem, 5.2vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: -.028em;
    max-width: 15ch;
}

.hero__title em {
    font-style: italic;
    color: var(--forest-3);
}

.hero__deck {
    max-width: 58ch;
    color: var(--ink-2);
    font-size: 1.06rem;
    line-height: 1.72;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 26px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    list-style: none;
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
}

.hero__trust .icon {
    width: 15px;
    height: 15px;
    color: var(--forest-3);
}

.digest {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    padding: 22px 24px 20px;
    box-shadow: var(--shadow-lift);
}

.digest__title {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.digest__list {
    list-style: none;
    counter-reset: digest;
}

.digest__list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.digest__list li:last-child {
    border-bottom: 0;
}

.digest__list a {
    flex: 1;
    font-family: var(--serif);
    font-size: 1.02rem;
    line-height: 1.4;
    color: var(--forest);
}

.digest__list a:hover {
    color: var(--forest-3);
}

.digest__list span {
    flex: none;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.digest .link-more {
    margin-top: 6px;
}

/* Figures ----------------------------------------------------------------- */

.figures {
    background: var(--forest);
    color: #fff;
}

.figures__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.figure {
    padding: 30px 26px 30px 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.figure:last-child {
    border-right: 0;
}

.figure__value {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.1vw, 2.5rem);
    line-height: 1;
    letter-spacing: -.02em;
}

.figure__value sup {
    font-size: .45em;
    vertical-align: super;
    margin-left: 2px;
    color: rgba(255, 255, 255, .6);
}

.figure__label {
    display: block;
    margin-top: 10px;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.figures--inline {
    margin-bottom: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.figures--inline .figures__grid {
    gap: 0;
}

.figures--inline .figure {
    border-right: 1px solid var(--line);
    padding: 24px 24px;
}

.figures--inline .figure:last-child {
    border-right: 0;
}

.figures--inline .figure__value {
    color: var(--forest);
}

.figures--inline .figure__value sup {
    color: var(--muted);
}

.figures--inline .figure__label {
    color: var(--muted);
}

/* Sections ---------------------------------------------------------------- */

.section {
    padding: clamp(52px, 6.5vw, 92px) 0;
}

.section--tint {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.section-head__note {
    max-width: 46ch;
    color: var(--muted);
    font-size: 14.5px;
}

/* Grid & cards ------------------------------------------------------------ */

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 26px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.card:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--wash);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.card:hover .media img {
    transform: scale(1.03);
}

.media--blank {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, var(--wash) 0%, var(--paper-2) 100%);
}

.media__mark {
    font-family: var(--serif);
    font-size: 4.2rem;
    line-height: 1;
    color: var(--forest-3);
    opacity: .34;
}

.card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.card__kicker {
    margin-bottom: 12px;
}

.card__title {
    margin: 0 0 10px;
    font-size: 1.24rem;
    line-height: 1.28;
}

.card__title a:hover {
    color: var(--forest-3);
}

.card__text {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.62;
}

.card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 11.5px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.card__meta strong {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0;
    color: var(--forest);
}

.case-progress {
    margin-top: auto;
}

.progress {
    height: 3px;
    border-radius: 99px;
    background: var(--paper-3);
    overflow: hidden;
}

.progress__bar {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--forest-3);
}

/* Feature tiles ----------------------------------------------------------- */

.feature {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.feature:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    color: var(--forest-2);
    background: var(--paper);
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.62;
}

.feature__meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* Lead story -------------------------------------------------------------- */

.lead {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
}

.article-page .lead,
.lead+.chip-row {
    margin-bottom: 40px;
}

.lead__figure {
    position: relative;
    min-height: 320px;
    background: var(--forest);
    border-right: 1px solid var(--line);
}

.lead__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead__figure--blank {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
}

.lead__figure--blank span {
    font-family: var(--serif);
    font-size: 7rem;
    line-height: 1;
    color: rgba(255, 255, 255, .22);
}

.lead__body {
    padding: clamp(26px, 3.4vw, 44px);
    align-self: center;
}

.lead__title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
}

.lead__title a:hover {
    color: var(--forest-3);
}

.lead__text {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.7;
}

.lead__meta {
    margin: 16px 0 24px;
    font-size: 11.5px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* Mission ----------------------------------------------------------------- */

.mission {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.mission__panel {
    padding: 40px 36px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-lift);
}

.mission__quote {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    line-height: 1.34;
    letter-spacing: -.02em;
    color: var(--forest);
}

.mission__quote::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-bottom: 22px;
    background: var(--brass);
}

.mission__source {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.mission__body h2 {
    margin-bottom: 16px;
    max-width: 24ch;
}

.mission__body>p {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.74;
}

.rule-list {
    list-style: none;
    margin: 26px 0 30px;
    border-top: 1px solid var(--line);
}

.rule-list li {
    position: relative;
    padding: 14px 0 14px 26px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink-2);
}

.rule-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 23px;
    width: 8px;
    height: 1.5px;
    background: var(--brass);
}

.rule-list--small li {
    font-size: 14px;
}

/* Story list -------------------------------------------------------------- */

.story-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.story {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.tile {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
    font-family: var(--serif);
    font-size: 2.1rem;
    line-height: 1;
    color: var(--forest-3);
}

.story__name {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brass);
}

.story__title {
    margin: 8px 0 10px;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.story__text {
    max-width: 66ch;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.74;
}

/* Call to action ---------------------------------------------------------- */

.cta {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    padding: clamp(44px, 5vw, 68px) 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: clamp(30px, 3.6vw, 46px);
    border-radius: var(--radius);
    background: var(--forest);
    color: #fff;
}

.cta__inner h2 {
    color: #fff;
    margin-bottom: 10px;
}

.cta__inner p {
    color: rgba(255, 255, 255, .72);
    max-width: 52ch;
}

/* Page head --------------------------------------------------------------- */

.page-head {
    padding: clamp(44px, 5vw, 72px) 0 clamp(30px, 3.4vw, 46px);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.page-head h1 {
    max-width: 24ch;
}

.page-head__lead {
    max-width: 62ch;
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

/* Footer ------------------------------------------------------------------ */

.footer {
    padding-top: clamp(48px, 5vw, 68px);
    background: var(--forest);
    color: rgba(255, 255, 255, .72);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 44px;
}

.footer__brand .brand__mark {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.footer__brand .brand__name {
    color: #fff;
}

.footer__brand p {
    max-width: 38ch;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .58);
}

.footer__title {
    margin-bottom: 16px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.footer__col a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .74);
    transition: color .16s var(--ease);
}

.footer__col a:hover {
    color: #fff;
}

.footer__note {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .5);
    word-break: break-word;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}

/* Chips ------------------------------------------------------------------- */

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--line-2);
    border-radius: 99px;
    background: var(--card);
    font-size: 13px;
    color: var(--ink-2);
    transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}

.chip span {
    font-size: 11.5px;
    color: var(--muted-2);
}

.chip:hover {
    border-color: var(--forest-3);
    color: var(--forest);
}

.chip.is-active {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

.chip.is-active span {
    color: rgba(255, 255, 255, .65);
}

/* Pagination -------------------------------------------------------------- */

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.pager-info {
    font-size: 13px;
    color: var(--muted);
}

.pager-links {
    display: flex;
    gap: 6px;
}

.pager-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: var(--card);
    font-size: 13px;
    color: var(--forest);
    transition: border-color .16s var(--ease), background .16s var(--ease);
}

.pager-link:hover {
    border-color: var(--forest-3);
    background: var(--wash);
}

.pager-link.active {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

.pager-link.disabled {
    opacity: .4;
    pointer-events: none;
}

.empty {
    padding: 30px 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.1rem;
}
