@font-face {
    font-family: "Source Sans 3";
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    src: url("/team-navno/assets/Source_Sans_3-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Sans 3";
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
    src: url("/team-navno/assets/Source_Sans_3-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}

:root {
    --_device-border: 2px;
    --color-shadow: color-mix(in srgb, var(--color-federal) 20%, transparent);
    --color-highlight: hsl(0 0% 100% / 0.2);
    --color-oxford: hsl(240 60% 10%);
    --color-federal: hsl(240 75% 20%);
    --color-purple: hsl(300 100% 25%);
    --color-violet: hsl(320 80% 40%);
    --color-lavender: hsl(320 30% 85%);
    --color-snow: hsl(350 50% 97%);
    --color-white: hsl(0 0% 100%);
    --color-cobalt: hsl(210 80% 40%);
    --color-fire: hsl(350 100% 35%);
    --color-sun: hsl(30 100% 60%);
    --color-forest: hsl(140 90% 30%);
    --color-silver: hsl(210 10% 60%);
    --site-color: hsl(0 0% 100%);
    --bg-stripes: repeating-linear-gradient(-45deg,
        hsl(0 0 0 / 0%), 
        hsl(0 0 0 / 0%) 20px,
        hsl(0 0 0 / 4%) 0,
        hsl(0 0 0 / 4%) 40px)
}

html {
    color-scheme: light dark;
    block-size: 100%;
    box-sizing: border-box;
    background-color: var(--site-color);
    color: var(--color-oxford);
    -webkit-font-smoothing: antialiased;
    scroll-padding-block-start: 2lh;
}

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

* {
    margin: 0;
    padding: 0;
    text-decoration-thickness: 0.1ch;
    text-underline-offset: 0.0875lh;
}

body {
    min-block-size: 100%;
    margin: 0;
    font-family: 'Source Sans 3', 'Source Sans 3', Arial, sans-serif;
        font-weight: 400;
    font-size: clamp(1.25rem, 1.1667rem + 0.4167vw, 1.5rem);
    container-type: inline-size;
    line-height: 1.5;
    overflow-x: clip;
}

:where(img, svg) {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
}


:is([hidden], p:empty) {
    display: none;
}

progress {
    border: none;
    overflow: clip;
    border-radius: 99px;
    align-self: end;
    color: var(--progress-bar, currentColor);
    background-color: hsl(230 10% 50% / 0.5);
    min-inline-size: 12ch;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::-webkit-progress-bar {
    background-color: hsl(230 10% 50% / 0.5);
}
::-webkit-progress-value {
    background-color: var(--progress-bar, currentColor);
    background-image: var(--bg-stripes);
    background-blend-mode: normal, overlay;
}
::-moz-progress-bar {
    background-color: var(--progress-bar, currentColor);
    background-image: var(--bg-stripes);
    background-blend-mode: normal, overlay;
} 
::-ms-fill {
    background-color: var(--progress-bar, currentColor);
    background-image: var(--bg-stripes);
    background-blend-mode: normal, overlay;
}

small {
    font-size: 81.25%;
}

table {
    table-layout: auto;
    text-align: left;
    inline-size: 100%;
    border-spacing: 0;
}

:is(ul, ol):has([class]) {
    list-style: none;
    padding-inline-start: 0;
}

strong {
    font-weight: 600;
}
    
p {
    text-wrap: pretty;
}

a {
    text-decoration-thickness: 0.0875rem;
    text-underline-offset: 0.125em;
    color: #05A;
}

blockquote {
    background-color: color-mix(in srgb, var(--color-cobalt) 10%, white);
    padding: 0.5lh 2.5ch 0.5lh;
    margin-block-end: 0.375lh;
    position: relative;
    color: currentColor;
    font-size: 90%;
    border-radius: 4px;

    &:after {
        content: "";
        display: block;
        position: absolute;
        inset-block: 0;
        inset-inline-start: 0;
        inline-size: 0.5ch;
        background-color: color-mix(in srgb, var(--color-federal) 50%, transparent);
        border-radius: 4px 0 0 4px;
    }
}

.header {
    background-color: #cce2f0;
    position: relative;
    padding-block-start: clamp(4rem, 0.5rem + 7.5vw, 8rem);

    .kicker a {
        text-decoration: none;
        color: currentColor;
    }
    .title {
        font-size: clamp(2rem, 0.6667rem + 6.6667vw, 6rem);
        font-weight: 900;
        line-height: 1.05;
        margin-block: 0.1lh 0.5lh;
        color: var(--color-federal);    
    }

    .published {
        margin-block: 1lh
    }

    blockquote {
        margin-block-start: 1lh
    }

    .papers {
        grid-column: full;
        position: sticky;
        inset-inline: 0;
        bottom: 0;
        color: var(--site-color);
        inline-size: 100%;
        block-size: 100px;
    }
}

:where(.kicker, .toc h2) {
    text-transform: uppercase;
    letter-spacing: 0.1ch;
    font-size: inherit;
    font-weight: 550;
    color: color-mix(in srgb, var(--color-federal) 65%, transparent);
}


.toc {
    max-inline-size: 64ch;
    margin-block: 4lh 1lh;

    h2 {
        margin-block-end: 0.5lh;
        font-size: 75%;
    }

    ul {
        list-style: none;
        font-size: 81.25%;
        display: flex;
        flex-wrap: wrap;
        align-content: end;
        gap: 0.4375lh 0.25lh;
    }

    a {
        background-color: color-mix(in srgb, var(--color-federal) 10%, transparent);
        padding: 0.375ch 1.5ch;
        border-radius: 99px;
        white-space: nowrap;
        color: var(--color-oxford);
        text-decoration: none;

        &:hover {
            background-color: var(--color-federal);
            color: var(--color-white);
        }
    }
}


.main {
    padding-block: 2lh;
}

:where(.chapter) {
    margin-block-start: 6lh;

    &:first-of-type {
        margin-block-start: 1lh;
    }
    &:not(:nth-child(1)) {
        content-visibility: auto
    }

    & > p:has(small) {
        line-height: 1.3;
        margin-block: 0.25lh 1lh;
    }
    
    :where(h2, h3) {
        color: var(--color-federal);
    }

    h2 {
        margin-block: 2lh 0.25lh;
        font-size: clamp(2rem, 1.75rem + 1.25vw, 3rem);
        font-weight: 800;
        line-height: 1.25;
        text-wrap: balance;
        grid-column: content / feature;

        &:first-of-type {
            margin-block-start: 0.5lh;
        }
    }

    & > :where(h3, h4) {
        line-height: 1.3;
        margin-block: 1.25lh 0.125lh;
    }

    & > h3 {
        font-weight: 700;
        text-wrap: balance;
    }


    & > :where(h3, h4, li) + *:not(h2, h3, h4) {
        margin-block-start: 0.25lh;
    }
    & > h3 + h4 {
        margin-block-start: 0.75lh;
    }
    
    & > :is(h2, h3, h4) {
        margin-block-end: 0.025lh;
    }
    
    & > :where(h4) {
        font-size: inherit;
        font-weight: 550;
        text-wrap: balance;
    }
    
    & > :where(ul, ol):not([class]) {
        padding-inline-start: 1.75rem;
        margin-block-end: 1rlh;
    
        :is(li + li) {
            margin-block-start: 0.25lh;
        }
    }
}
.visits {
    border-block-start: 1px solid hsl(0 0% 0% / 0.2);
}

.visits li {
    display: grid;
    grid-template-columns: 1fr auto;
    border-block-end: 1px solid hsl(0 0% 0% / 0.2);
    align-items: center;
    padding-block: 0.4325lh 0;
    align-items: center;
}

.visits p {
    line-height: 1.2;
    padding-block-end: 0.375lh;
}

.visits span {
    font-weight: 550;
}

.visits small {
    opacity: 0.75;
}

.visits div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: right;
    block-size: 100%;
    }
.visits [data-number="big"] {
    font-size: 120%;
    font-weight: 550;
    line-height: 1;
}
.visits svg {
    max-inline-size: 7ch;
    margin-block-start: auto;
}

:where(.chapter, blockquote, details > div) > :where(* + *) {
    margin-block-start: 1lh;
}

:where(.chapter__illustration) {
    max-inline-size: clamp(6rem, 4.8rem + 4vw, 8rem);   
}

.progress-bar {
    display: flex;
    align-items: baseline;
    line-height: 1;
    gap: 1ch;

    & progress {
        inline-size: 100%;
        block-size: 1.5ex;
        translate: 0 -0.25ex;
    }
    & span {
        white-space: nowrap;
        display: inline-block;
        min-width: 5ch;
        text-align: right;
    }
}

.temp-tag {
    background-color: hsl(40 75% 80% / 0.6);
    border: 1px solid hsl(40 75% 70% / 1);
    font-size: 70%;
    padding: 0.125ex 1ch;
    margin-inline-end: 1.5ch;
    border-radius: 99px;
    display: inline-block;
}


.bentobox {
    display: grid;
    gap: 1ex;

    @container (width > 64rem) {
        grid-template-columns: 1fr 1fr;
        }
        
        &>* {
            min-block-size: 5lh;
            align-content: center;
        }
        
        &>*:hover {
            z-index: 1;
    }
}


.key-metric {
    background-color: hsl(230 10% 95% / 1);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr clamp(6rem, 5rem + 5vw, 9rem);
    align-items: baseline;
    position: relative;
    gap: 1ch;

    & p {
        line-height: 1.4;
        text-wrap: pretty;
    }
    & span {
        font-size: 200%;
        font-weight: 700;
        display: block;
        line-height: 1;
    }
    & img {
        block-size: auto;
        position: absolute;
        grid-column: 2;
        align-self: end;
        justify-self: end;
        min-inline-size: clamp(3rem, 0rem + 10vw, 8rem);
    }
}

.expander {
    container: inline-size;
    border-block-start: 1px solid color-mix(in srgb, var(--color-silver) 35%, transparent);
}
.expander summary {
    position: relative;
    display: grid;
    grid-auto-flow: row;
    align-items: center;
    gap: 0 0.5ch;
    padding-block: 1.125rem 1rem;
    padding-inline: 1ch 2ch;
    line-height: 1.3;
    grid-template-columns: auto 1fr;
    cursor: pointer;

    @container (width > 800px) {
        grid-template-columns: auto 5fr 2fr;
        gap: 0 1ch;
    }
&:hover {
    background-color: color-mix(in srgb, var(--color-cobalt) 15%, white);
    outline: 8px solid #fff;
    border-radius: 1ch;
}
}


.expander summary svg {
    align-self: baseline;
    rotate: 90deg;
    transition: rotate 200ms ease-in-out;
    inline-size: 1em;
    translate: 0 0.125lh;
    opacity: 0.8;
}

.expander[open] summary svg {
    rotate: -90deg;
}

.expander summary h4 {
    font-weight: 550;
    grid-column: 2;
}

.expander summary p {
    text-wrap: balance;
    grid-column: 2;
}

.expander summary .progress-bar {
    grid-column: 2;
    translate: 0 0.25lh;
    pointer-events: none;

    @container (width > 800px) {
        grid-row: 1 / span 2;
        grid-column: 3;
        translate: unset;
        inline-size: min(36ch, 24ch);
        justify-self: end;
    }
}

.expander > div {
    padding-inline: 4ch;
}

.expander[open] > div {
    padding-block: 0 1lh;
}

.explainer {
    padding-inline-start: 3.875ch;
}

.explainer summary {
    display: inline-flex;
    gap: 0.5ch;
    padding: 0.375ch 1.5ch 0.25ch 1ch;
    margin-inline-start: -3.5ch;
    border-radius: 99px;
    align-items: baseline;
    background-color: color-mix(in srgb, var(--color-cobalt) 15%, white);
    color: var(--color-cobalt);
    cursor: pointer;

    &:hover {
        background-color: color-mix(in srgb, var(--color-cobalt) 100%, white);
        color: var(--color-white);
    }
}

.explainer summary svg {
    translate: 0 0.375ch;
}

.explainer > div {
    position: relative;
    padding-block: 0.25lh 0.75lh;
    margin-block-start: 0.25lh;
    z-index: -1;

    &:after {
        content: " ";
        display: block;
        position: absolute;
        inset-block: 0.125lh 0.625lh;
        inset-inline-start: -1.6875ch;
        inline-size: 0.25ch;
        background-color: color-mix(in srgb, var(--color-cobalt) 35%, white);
        border-radius: 99px;
    }
}


.page-list {
    gap: 8ch;
    padding-block: 0.25lh;
    font-size: 81.25%;
    columns: 42ch;

    & > li {
        break-inside: avoid;
        border-radius: 8px;
        line-height: 1.3;
        display: flex;
        align-items: baseline;
        column-gap: 0.5ch;
        margin-block-end: 0.5lh;
        margin-inline-start: -0.375ch;
    }       
    & svg {
        flex-shrink: 0;
        translate: 0 0.625ch;
    }
    & :where(a, span) {
        font-weight: 550;
        margin-block-end: 0.125ch;
        display: block;
    }
    & a {
        text-wrap: pretty;
        grid-column: 2;

        &:hover {
            color: var(--color-purple);
        }
    }
    & span {
        opacity: 0.8;
    }
    small {
        display: block;
        grid-column: 2;
        opacity: 0.6;
    }
}

.pie-flag {
    display: flex;
    gap: 2ch;

    @container (width > 64rem) {
        margin-block: 1.5lh;
    }

    & > svg {
        flex-shrink: 0.8;
    }

    & > p {
        text-wrap: pretty;
    }
}

.toptasks {
    display: grid;
    grid-column: content;
    gap: 1ex;

    @container (width > 64rem) {
        grid-column: feature;
        grid-template-columns: repeat(auto-fit, minmax(auto, 24rem));
    }
}

.toptask {
    container: --toptask / inline-size;
    display: grid;
    background-color: color-mix(in srgb, var(--progress-bar, hsl(0 0% 80%)) 25%, white);
    border-radius: 12px;
    padding: 1.5rem;
    column-gap: 2ch;
    grid-template-columns: 1fr auto;

    @media (width > 64rem) {
        grid-template-columns: unset;
    }

    progress {
        background-color: white;
    }

    ::-webkit-progress-bar {
        background-color: white;
    }
}

.toptask > div {
    align-self: stretch;
}

.toptask__text {
    text-wrap: balance;
    line-height: 1.3;
    margin-block-end: auto;
    align-self: start;
}

.toptask__demand {
    opacity: 75%;
    font-size: 81.25%;
    margin-block: 0.125lh 0.5lh;
}

.toptask__metric {
    font-size: 200%;
    font-weight: 400;
        line-height: 1.2;
    white-space: nowrap;
    text-align: right;
    grid-column: 2;

    @media (width > 64rem) {
        text-align: left;
        grid-column: unset;
        margin-block: auto 0.25lh;
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.toptask__graphic {
    inline-size: 100%;
    block-size: 1ch;
    grid-column: 1 / -1;
    grid-row: 2;
}




.chart-columns {
    display: flex;
    padding-block: 5lh;

    div {
        padding-inline: 1ch;
        flex: 1;
        flex-shrink: 0;
        border-block-start: 1px solid hsl(0 0% 0% / 0.2);
        position: relative;
        display: grid;
    }
    dt {
        white-space: nowrap;
        text-align: left;
        font-size: 90%;
        position: absolute;
        left: 45%;
        transform-origin: bottom left;
        rotate: -50deg;
        translate: 0 -1.5lh;
    }
}

.chart-columns__column {
    display: grid;
    background-color: var(--_color, #000);
    block-size: var(--_height, 0);
    inline-size: min(100%, 14ch);
    justify-self: center;
}

.chart-columns__label {
    display: block;
    text-align: center;
}

.outro {
    border-block-start: 1px solid hsl(0 0% 0% / 0.2);
    padding-block: 1lh 3lh;
}


.footer {
    padding-block-end: 2lh;
}

:where(.page-layout, .header, .chapter, .footer) {
    --_layout-gap: clamp(1rem, -5rem + 20vw, 15rem);
    display: grid;
    align-content: start;
    grid-template-columns: 
        [full-start] var(--_layout-gap) 
        [feature-start content-start] 1fr 
        [content-end feature-end] var(--_layout-gap)
        [full-end];

    @media (width > 800px) {
        grid-template-columns: 
            [full-start] var(--_layout-gap) 
            [feature-start content-start] min(64ch, 100%) 
            [content-end] minmax(0, 40rem) 
            [feature-end] var(--_layout-gap) 1fr
            [full-end];
    }

    & > * { grid-column: content }
}

.page-layout__content { grid-column: content }
.page-layout__popout { grid-column: popout }
.page-layout__feature { grid-column: feature }
.page-layout__full { grid-column: full }


.bg-stripes {
    background-image: repeating-linear-gradient(
        -45deg,
        hsl(0 0 0 / 0%),
        hsl(0 0 0 / 0%) 20px,
        hsl(0 0 0 / 2.5%) 0,
        hsl(0 0 0 / 2.5%) 40px
    );
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.c-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24ch, 23%));
    align-content: end;
    margin-block: 1lh;

    @container (width > 48rem) {
        justify-content: center;
    }
}

.c-legend-item {
    font-size: 81.25%;
}

.c-legend-dot {
    display: inline-block;
    block-size: 12px;
    inline-size: 12px;
    border-radius: 99px;
    margin-inline-end: 1ch;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent);
}

.c-chart .tick text {
    text-transform: capitalize;
    font-size: clamp(0.75rem, 1.95rem + -1.5vw, 1.5rem);
}

.c-chart :where(.xAxis .tick text) {
    translate: 1.75em 2em;
    rotate: 45deg;
    font-size: clamp(0.75rem, 1.95rem + -1.5vw, 1.5rem);
}

.c-chart :where(.xAxis) .tick:not(:first-of-type, :last-of-type) :where(text, line) {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .c-col {
        block-size: 0;
    }
    .c-col--animate {
        transition: block-size 1s cubic-bezier(0.25, 0, 0.75, 1);
        block-size: var(--_height);
    }
}