/* Fundusz Szerokopasmowy: Kamnet project pages share the navy and orange editorial system. */
.page-broadband-fund .broadband-fund {
    --bf-ink: #090844;
    --bf-copy: #4f596b;
    --bf-muted: #798392;
    --bf-orange: #f58200;
    --bf-orange-dark: #bd5700;
    --bf-ground: #f4f6f9;
    --bf-line: #dfe4eb;
    color: var(--bf-ink);
    background: #fff;
    overflow: clip;
}

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

.broadband-fund .container {
    width: 100%;
    margin-inline: auto;
}

.broadband-fund section[id],
.broadband-fund [id] {
    scroll-margin-top: 7.5rem;
}

.broadband-fund h1,
.broadband-fund h2,
.broadband-fund h3,
.broadband-fund p,
.broadband-fund figure,
.broadband-fund dl {
    margin-top: 0;
}

.bf-eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
    color: var(--bf-orange-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.4;
}

.bf-eyebrow::before {
    width: .42rem;
    height: .42rem;
    flex: 0 0 .42rem;
    border-radius: 50%;
    background: var(--bf-orange);
    content: "";
}

.bf-hero {
    position: relative;
    padding: clamp(8.5rem, 12vw, 10.5rem) 0 0;
    background:
        radial-gradient(ellipse at 87% 16%, rgba(255, 255, 255, .95), transparent 35%),
        var(--bf-ground);
    isolation: isolate;
}

.bf-hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: min(58vw, 58rem);
    height: 100%;
    background: url("/assets/img/backgrounds/fiber-network.svg") right -8rem top 4rem / min(57rem, 66vw) auto no-repeat;
    opacity: .28;
    content: "";
    pointer-events: none;
}

.bf-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(22rem, .94fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5.5rem);
    padding-bottom: clamp(2.8rem, 5.5vw, 5rem);
}

.bf-hero__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.bf-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(2.9rem, 5.4vw, 4.65rem);
    font-weight: 600;
    letter-spacing: -.05em;
    line-height: 1.02;
    text-wrap: balance;
}

.bf-hero__lead {
    max-width: 57ch;
    margin: 1.25rem 0 0;
    color: var(--bf-copy);
    font-size: clamp(1.03rem, 1.4vw, 1.18rem);
    line-height: 1.7;
    text-wrap: pretty;
}

.bf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem 1.7rem;
    margin-top: 1.9rem;
}

.bf-button {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.6rem;
    border: 1px solid var(--bf-orange);
    border-radius: 999px;
    background: var(--bf-orange);
    color: #fff;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.bf-button:hover {
    transform: translateY(-1px);
    border-color: #df7900;
    background: #df7900;
    color: #fff;
}

.bf-text-link,
.bf-area-card__link,
.bf-next-step__operator,
.bf-contact-strip__links a:last-child {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--bf-ink);
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
}

.bf-text-link svg,
.bf-area-card__link svg,
.bf-next-step__operator svg,
.bf-contact-strip__links svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    color: var(--bf-orange);
    transition: transform .18s ease;
}

.bf-text-link:hover,
.bf-area-card__link:hover,
.bf-next-step__operator:hover,
.bf-contact-strip__links a:last-child:hover {
    color: var(--bf-orange-dark);
}

.bf-text-link:hover svg,
.bf-area-card__link:hover svg,
.bf-next-step__operator:hover svg,
.bf-contact-strip__links a:last-child:hover svg {
    transform: translateX(.2rem);
}

.bf-hero__visual {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.43;
    overflow: hidden;
    margin: 0;
    border-radius: 1.15rem;
    background: #111c33;
    box-shadow: 0 18px 44px rgba(6, 8, 54, .12);
    isolation: isolate;
}

.bf-hero__visual::after {
    position: absolute;
    z-index: 0;
    inset: 42% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 43, .72) 100%);
    content: "";
    pointer-events: none;
}

.bf-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bf-hero__visual figcaption {
    position: absolute;
    z-index: 1;
    right: 1.1rem;
    bottom: 1.05rem;
    left: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    color: #fff;
    font-size: .84rem;
    font-weight: 650;
}

.bf-hero__visual figcaption span {
    color: rgba(255, 255, 255, .75);
    font-size: .72rem;
    font-weight: 500;
}

.bf-hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 1.45rem 0 1.7rem;
    border-top: 1px solid rgba(9, 8, 68, .12);
}

.bf-hero-facts > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .1rem .95rem;
    min-width: 0;
    padding: .2rem clamp(.8rem, 2.3vw, 2rem);
    border-left: 1px solid rgba(9, 8, 68, .12);
}

.bf-hero-facts > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.bf-hero-facts dt {
    grid-column: 2;
    grid-row: 1;
    max-width: 22ch;
    margin: 0;
    color: var(--bf-muted);
    font-size: .88rem;
    line-height: 1.4;
}

.bf-hero-facts dd {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.05em;
    line-height: 1;
    white-space: nowrap;
}

.bf-hero-facts > div:nth-child(2) dd,
.bf-hero-facts > div:nth-child(3) dd {
    color: var(--bf-orange-dark);
}

.bf-hero-facts dd small {
    font-size: .52em;
    font-weight: 650;
    letter-spacing: -.01em;
}

.bf-hero-facts > div > small {
    grid-column: 2;
    grid-row: 2;
    margin-top: -.15rem;
    color: var(--bf-muted);
    font-size: .74rem;
    line-height: 1.3;
}

.bf-anchor-nav {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--bf-line);
    background: #fff;
}

.bf-anchor-nav .container {
    overflow-x: auto;
    scrollbar-width: thin;
}

.bf-anchor-nav ul {
    display: flex;
    min-width: max-content;
    align-items: center;
    gap: clamp(1.35rem, 3.5vw, 3.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.bf-anchor-nav a {
    display: inline-flex;
    min-height: 3.75rem;
    align-items: center;
    color: var(--bf-muted);
    font-size: .87rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .16s ease;
}

.bf-anchor-nav a:hover {
    color: var(--bf-ink);
}

.bf-intro,
.bf-areas,
.bf-documents {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.bf-editorial-heading,
.bf-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
    align-items: end;
    gap: 2rem clamp(2.5rem, 7vw, 7rem);
}

.bf-editorial-heading h2,
.bf-section-heading h2,
.bf-parameters h2 {
    max-width: 18ch;
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(2rem, 3.35vw, 3.1rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.bf-intro__copy {
    max-width: 55ch;
}

.bf-intro__copy > p:first-child {
    margin: 0;
    color: var(--bf-copy);
    font-size: 1rem;
    line-height: 1.75;
    text-wrap: pretty;
}

.bf-intro__note {
    margin: 1rem 0 0;
    padding-left: .9rem;
    border-left: 2px solid var(--bf-orange);
    color: var(--bf-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.bf-projects {
    padding-block: clamp(4.5rem, 8vw, 7rem);
    background: var(--bf-ground);
}

.bf-section-heading {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bf-section-heading > p {
    max-width: 43ch;
    margin: 0 0 .2rem;
    color: var(--bf-copy);
    font-size: .98rem;
    line-height: 1.65;
}

.bf-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bf-project {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(1.4rem, 2.6vw, 2.2rem);
    border: 1px solid rgba(9, 8, 68, .1);
    border-top: 2px solid var(--bf-orange);
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(5, 8, 43, .035);
}

.bf-project__header {
    display: flex;
    min-height: 6rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--bf-line);
}

.bf-project__header h3 {
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-wrap: balance;
}

.bf-project__label {
    margin: 0 0 .35rem;
    color: var(--bf-orange-dark);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.bf-project__scope {
    margin: .35rem 0 0;
    color: var(--bf-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.bf-project__municipality-logo {
    display: block;
    width: clamp(5.2rem, 9vw, 7.5rem);
    max-height: 3.4rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.bf-project__municipality-logo--szczawno {
    width: clamp(6.5rem, 11vw, 9rem);
}

.bf-project__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin: 0;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--bf-line);
}

.bf-project__metrics > div {
    display: grid;
    align-content: start;
    gap: .32rem;
    min-width: 0;
    padding-left: .85rem;
    border-left: 1px solid var(--bf-line);
}

.bf-project__metrics > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.bf-project__metrics dt,
.bf-project__details dt,
.bf-project__funding dt {
    margin: 0;
    color: var(--bf-muted);
    font-size: .75rem;
    line-height: 1.35;
}

.bf-project__metrics dd {
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.bf-project__metrics dd small {
    font-size: .55em;
    font-weight: 600;
    letter-spacing: 0;
}

.bf-project__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.2rem;
    margin: 0;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bf-line);
}

.bf-project__details > div {
    display: grid;
    align-content: start;
    gap: .25rem;
    min-width: 0;
}

.bf-project__details > div:last-child {
    grid-column: 1 / -1;
}

.bf-project__details dd {
    margin: 0;
    color: var(--bf-ink);
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.4;
    text-wrap: pretty;
}

.bf-project__funding {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.bf-project__funding dl {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-width: 0;
    margin: 0;
}

.bf-project__funding dl + dl {
    padding-left: 1rem;
    border-left: 1px solid var(--bf-line);
}

.bf-project__funding dd {
    margin: 0;
    color: var(--bf-ink);
    font-size: clamp(1.05rem, 1.65vw, 1.42rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.035em;
    line-height: 1.25;
    white-space: nowrap;
}

.bf-project__funding dl:last-child dd {
    color: var(--bf-orange-dark);
}

.bf-project__funding dd small {
    font-size: .7em;
    font-weight: 600;
    letter-spacing: 0;
}

.bf-projects__note,
.bf-source-note {
    margin: 1.1rem 0 0;
    color: var(--bf-muted);
    font-size: .8rem;
    line-height: 1.55;
}

.bf-source-note a {
    color: var(--bf-ink);
    text-decoration: underline;
    text-decoration-color: var(--bf-orange);
    text-underline-offset: .18em;
}

.bf-areas {
    background: #fff;
}

.bf-section-heading--areas {
    margin-bottom: 2rem;
}

.bf-area-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 1rem;
}

.bf-area-card {
    min-width: 0;
    padding: clamp(1.4rem, 3vw, 2.35rem);
    border: 1px solid var(--bf-line);
    border-radius: .95rem;
    background: var(--bf-ground);
}

.bf-area-card__heading {
    display: flex;
    align-items: center;
    gap: .95rem;
    margin-bottom: 1rem;
}

.bf-area-card__index {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    place-items: center;
    border: 1px solid rgba(245, 130, 0, .32);
    border-radius: 50%;
    color: var(--bf-orange-dark);
    font-size: .78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bf-area-card__heading p {
    margin: 0 0 .2rem;
    color: var(--bf-muted);
    font-size: .77rem;
    font-weight: 600;
}

.bf-area-card__heading h3 {
    margin: 0;
    color: var(--bf-ink);
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.bf-area-card__copy {
    max-width: 60ch;
    margin: 0 0 1.1rem;
    color: var(--bf-copy);
    font-size: .91rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.bf-locality-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bf-locality-list li {
    min-width: 0;
    padding: .42rem .5rem;
    border-radius: .35rem;
    background: #fff;
    color: var(--bf-ink);
    font-size: .76rem;
    line-height: 1.3;
}

.bf-area-card--city {
    display: flex;
    flex-direction: column;
    border-color: #090844;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(72, 78, 146, .25), transparent 45%),
        #090844;
    color: #fff;
}

.bf-area-card--city .bf-area-card__heading p {
    color: rgba(255, 255, 255, .65);
}

.bf-area-card--city .bf-area-card__heading h3 {
    color: #fff;
}

.bf-area-card--city .bf-area-card__index {
    border-color: rgba(255, 176, 85, .5);
    color: #ffb255;
}

.bf-area-card--city .bf-area-card__copy {
    color: rgba(255, 255, 255, .78);
}

.bf-area-card__callout {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: auto 0 1.2rem;
    padding: 1.1rem 0 .3rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.bf-area-card__callout strong {
    color: #ff9a1f;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.05em;
    line-height: 1;
}

.bf-area-card__callout span {
    max-width: 15ch;
    color: rgba(255, 255, 255, .76);
    font-size: .88rem;
    line-height: 1.45;
}

.bf-area-card__link {
    align-self: flex-start;
    color: #fff;
}

.bf-area-card__link svg {
    color: #ff9a1f;
}

.bf-area-card__link:hover {
    color: #ffd49e;
}

.bf-parameters {
    padding-block: clamp(3.5rem, 6vw, 5.5rem);
    background:
        radial-gradient(ellipse at 100% 20%, rgba(72, 78, 146, .28), transparent 38%),
        #090844;
    color: #fff;
}

.bf-parameters__layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(25rem, 1.15fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.bf-parameters .bf-eyebrow,
.bf-next-step .bf-eyebrow {
    color: #ffb255;
}

.bf-parameters h2 {
    max-width: 14ch;
    margin-bottom: .8rem;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.bf-parameters__copy > p:not(.bf-eyebrow) {
    max-width: 49ch;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .93rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.bf-parameters__copy .bf-text-link {
    margin-top: 1.15rem;
    color: #fff;
}

.bf-parameters__copy .bf-text-link svg {
    color: #ff9a1f;
}

.bf-parameters__copy .bf-text-link:hover {
    color: #ffd49e;
}

.bf-parameter-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.bf-parameter-values > div {
    display: grid;
    align-content: center;
    gap: .35rem;
    min-height: 8rem;
    padding: 1.15rem clamp(1rem, 2vw, 1.8rem);
    border-right: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.bf-parameter-values strong {
    color: #ff9a1f;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.055em;
    line-height: 1;
}

.bf-parameter-values strong small {
    font-size: .43em;
    font-weight: 600;
    letter-spacing: -.01em;
}

.bf-parameter-values span {
    max-width: 25ch;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    line-height: 1.4;
}

.bf-parameter-values__wide {
    grid-column: 1 / -1;
    min-height: 6.6rem !important;
}

.bf-parameter-values__wide strong {
    font-size: 2rem;
}

.bf-documents {
    background: var(--bf-ground);
}

.bf-section-heading--documents {
    margin-bottom: 2rem;
}

.bf-documents-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
    align-items: stretch;
    gap: 1rem;
}

.bf-document-list {
    display: grid;
    gap: .65rem;
    min-width: 0;
}

.bf-document-list > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .3rem 1rem;
    min-width: 0;
    padding: 1rem 1.2rem;
    border: 1px solid var(--bf-line);
    border-radius: .65rem;
    background: #fff;
    color: var(--bf-ink);
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.bf-document-list > a:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 130, 0, .5);
    background: #fffdfa;
}

.bf-document-list__format {
    grid-column: 1 / -1;
    color: var(--bf-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.bf-document-list__format span {
    color: var(--bf-orange);
}

.bf-document-list strong {
    min-width: 0;
    color: var(--bf-ink);
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.4;
}

.bf-document-list__action {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--bf-orange-dark);
    font-size: .77rem;
    font-weight: 700;
    white-space: nowrap;
}

.bf-document-list__action svg {
    width: 1rem;
    height: 1rem;
}

.bf-next-step {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: .85rem;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(72, 78, 146, .24), transparent 45%),
        #090844;
    color: #fff;
}

.bf-next-step h3 {
    max-width: 16ch;
    margin: 0 0 .7rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.15;
    text-wrap: balance;
}

.bf-next-step > p:not(.bf-eyebrow) {
    max-width: 44ch;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, .75);
    font-size: .88rem;
    line-height: 1.6;
}

.bf-next-step .bf-button {
    margin-top: auto;
}

.bf-next-step__operator {
    margin-top: 1rem;
    color: #fff;
    font-size: .8rem;
}

.bf-next-step__operator svg {
    color: #ff9a1f;
}

.bf-next-step__operator:hover {
    color: #ffd49e;
}

.bf-partner-marks {
    display: flex;
    min-height: 6.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem clamp(1.5rem, 4vw, 4.5rem);
    margin-top: 2.25rem;
    padding: 1.3rem 1.5rem;
    border: 1px solid var(--bf-line);
    border-radius: .75rem;
    background: #fff;
}

.bf-partner-marks img {
    display: block;
    width: auto;
    max-width: 22%;
    height: auto;
    max-height: 3.25rem;
    object-fit: contain;
}

.bf-partner-marks img:first-child {
    max-height: 3.8rem;
}

.bf-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--bf-line);
}

.bf-contact-strip .bf-eyebrow {
    margin-bottom: .35rem;
    font-size: .73rem;
}

.bf-contact-strip h3 {
    margin: 0;
    color: var(--bf-ink);
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -.025em;
}

.bf-contact-strip__links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 2.5rem);
}

.bf-contact-strip__links a:first-child {
    color: var(--bf-ink);
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    white-space: nowrap;
}

.bf-contact-strip__links a:first-child:hover {
    color: var(--bf-orange-dark);
}

.bf-contact-strip__links a:last-child {
    color: var(--bf-orange-dark);
    font-size: .88rem;
    white-space: nowrap;
}

.broadband-fund a:focus-visible {
    outline: 3px solid var(--bf-orange);
    outline-offset: 3px;
}

@media (max-width: 1020px) {
    .bf-hero__grid {
        grid-template-columns: minmax(0, 1.03fr) minmax(20rem, .97fr);
        gap: 2.5rem;
    }

    .bf-hero-facts > div {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .bf-hero-facts dt,
    .bf-hero-facts dd,
    .bf-hero-facts > div > small {
        grid-column: 1;
        grid-row: auto;
    }

    .bf-hero-facts > div > small {
        margin-top: 0;
    }

    .bf-project__funding dd {
        white-space: normal;
    }

    .bf-locality-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .bf-hero {
        padding-top: 8rem;
    }

    .bf-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bf-hero__copy {
        max-width: 48rem;
    }

    .bf-hero h1 {
        max-width: 15ch;
        font-size: clamp(2.85rem, 7vw, 4.25rem);
    }

    .bf-hero__visual {
        width: 100%;
        max-height: 30rem;
        aspect-ratio: 1.85;
    }

    .bf-editorial-heading,
    .bf-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: .85rem;
    }

    .bf-editorial-heading > div:last-child,
    .bf-section-heading > p {
        max-width: 64ch;
    }

    .bf-parameters__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bf-parameters__copy {
        max-width: 50rem;
    }

    .bf-documents-layout {
        grid-template-columns: 1fr;
    }

    .bf-next-step {
        min-height: 0;
    }

    .bf-next-step .bf-button {
        margin-top: .2rem;
    }
}

@media (max-width: 640px) {
    .broadband-fund section[id],
    .broadband-fund [id] {
        scroll-margin-top: 6.25rem;
    }

    .bf-hero {
        padding-top: 7.5rem;
    }

    .bf-hero::before {
        background-position: 68% center;
        background-size: auto 88%;
        opacity: .27;
        -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 45%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 5%, #000 45%, #000 100%);
    }

    .bf-hero__grid {
        gap: 1.4rem;
        padding-bottom: 1.8rem;
    }

    .bf-hero h1 {
        max-width: 12ch;
        font-size: clamp(2.5rem, 11vw, 3.5rem);
    }

    .bf-hero__lead {
        margin-top: .9rem;
        font-size: .98rem;
        line-height: 1.62;
    }

    .bf-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
        margin-top: 1.3rem;
    }

    .bf-hero__actions .bf-button {
        width: 100%;
    }

    .bf-text-link {
        min-height: 2.8rem;
        padding-inline: .15rem;
    }

    .bf-hero__visual {
        aspect-ratio: 1.35;
        border-radius: .8rem;
    }

    .bf-hero-facts {
        grid-template-columns: 1fr;
        gap: 0;
        padding: .3rem 0 .7rem;
    }

    .bf-hero-facts > div,
    .bf-hero-facts > div:first-child {
        grid-template-columns: 5.5rem minmax(0, 1fr);
        align-items: center;
        gap: .12rem .8rem;
        min-height: 4.45rem;
        padding: .6rem 0;
        border-top: 1px solid rgba(9, 8, 68, .1);
        border-left: 0;
    }

    .bf-hero-facts > div:first-child {
        border-top: 0;
    }

    .bf-hero-facts dt {
        grid-column: 2;
        grid-row: 1;
        font-size: .83rem;
    }

    .bf-hero-facts dd {
        grid-column: 1;
        grid-row: 1 / span 2;
        font-size: 1.8rem;
    }

    .bf-hero-facts > div > small {
        grid-column: 2;
        grid-row: 2;
        font-size: .7rem;
    }

    .bf-anchor-nav ul {
        gap: 1.3rem;
    }

    .bf-anchor-nav a {
        min-height: 3.3rem;
        font-size: .8rem;
    }

    .bf-intro,
    .bf-areas,
    .bf-documents,
    .bf-projects {
        padding-block: 3.5rem;
    }

    .bf-editorial-heading,
    .bf-section-heading {
        gap: .65rem;
        margin-bottom: 1.65rem;
    }

    .bf-editorial-heading h2,
    .bf-section-heading h2,
    .bf-parameters h2 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .bf-intro__copy > p:first-child,
    .bf-section-heading > p {
        font-size: .92rem;
        line-height: 1.62;
    }

    .bf-project-grid,
    .bf-area-grid {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .bf-project {
        padding: 1.1rem .95rem;
        border-radius: .7rem;
    }

    .bf-project__header {
        min-height: 5rem;
        gap: .7rem;
        padding-bottom: .9rem;
    }

    .bf-project__header h3 {
        font-size: 1.4rem;
    }

    .bf-project__scope {
        font-size: .75rem;
    }

    .bf-project__municipality-logo {
        width: 5.3rem;
        max-height: 2.6rem;
    }

    .bf-project__municipality-logo--szczawno {
        width: 6.5rem;
    }

    .bf-project__metrics {
        gap: .25rem;
        padding-block: 1rem;
    }

    .bf-project__metrics > div {
        padding-left: .5rem;
    }

    .bf-project__metrics dt {
        min-height: 2.1em;
        font-size: .66rem;
    }

    .bf-project__metrics dd {
        font-size: clamp(1.2rem, 5.6vw, 1.6rem);
    }

    .bf-project__details {
        gap: .7rem .8rem;
        padding-block: .85rem;
    }

    .bf-project__details dt,
    .bf-project__funding dt {
        font-size: .7rem;
    }

    .bf-project__details dd {
        font-size: .79rem;
    }

    .bf-project__funding {
        gap: .5rem;
        padding-top: .85rem;
    }

    .bf-project__funding dl + dl {
        padding-left: .7rem;
    }

    .bf-project__funding dd {
        font-size: clamp(.94rem, 4.5vw, 1.2rem);
    }

    .bf-projects__note,
    .bf-source-note {
        font-size: .74rem;
    }

    .bf-area-card {
        padding: 1.1rem .95rem;
        border-radius: .7rem;
    }

    .bf-area-card__heading {
        margin-bottom: .8rem;
    }

    .bf-area-card__heading h3 {
        font-size: 1.35rem;
    }

    .bf-area-card__copy {
        font-size: .86rem;
    }

    .bf-locality-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .3rem;
    }

    .bf-locality-list li {
        padding: .4rem .38rem;
        font-size: .72rem;
    }

    .bf-parameters {
        padding-block: 3.25rem;
    }

    .bf-parameters__layout {
        gap: 1.5rem;
    }

    .bf-parameters__copy > p:not(.bf-eyebrow) {
        font-size: .88rem;
    }

    .bf-parameter-values > div {
        min-height: 6.4rem;
        padding: .85rem .75rem;
    }

    .bf-parameter-values strong {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .bf-parameter-values span {
        font-size: .72rem;
    }

    .bf-parameter-values__wide {
        min-height: 5.7rem !important;
    }

    .bf-parameter-values__wide strong {
        font-size: 1.75rem;
    }

    .bf-document-list > a {
        grid-template-columns: 1fr;
        gap: .3rem;
        padding: .9rem;
    }

    .bf-document-list__format {
        grid-column: 1;
    }

    .bf-document-list__action {
        justify-self: start;
        margin-top: .1rem;
    }

    .bf-next-step {
        padding: 1.2rem;
        border-radius: .75rem;
    }

    .bf-next-step h3 {
        font-size: 1.55rem;
    }

    .bf-next-step > p:not(.bf-eyebrow) {
        font-size: .84rem;
    }

    .bf-partner-marks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
        gap: 1.2rem;
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .bf-partner-marks img {
        justify-self: center;
        max-width: 80%;
        max-height: 2.7rem;
    }

    .bf-partner-marks img:first-child {
        max-height: 3.2rem;
    }

    .bf-contact-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: .9rem;
        margin-top: 1.6rem;
        padding-top: 1.1rem;
    }

    .bf-contact-strip h3 {
        font-size: 1.12rem;
    }

    .bf-contact-strip__links {
        width: 100%;
        justify-content: space-between;
        gap: .8rem;
    }

    .bf-contact-strip__links a:first-child {
        font-size: .94rem;
    }

    .bf-contact-strip__links a:last-child {
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .broadband-fund *,
    .broadband-fund *::before,
    .broadband-fund *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
